Skip to main content
POST
/
audit_log_entries
/
verify
Verify cryptographic chain integrity of audit log
curl --request POST \
  --url https://api.arcuserp.com/v1/audit_log_entries/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from_date": "2023-11-07T05:31:56Z",
  "to_date": "2023-11-07T05:31:56Z",
  "limit": 1000
}
'
{
  "object": "audit_chain_verification",
  "verified": true,
  "chain_length": 123,
  "broken_at": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "broken_reason": "prev_hash_mismatch"
}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Body

application/json
from_date
string<date-time>
to_date
string<date-time>
limit
integer
default:1000
Required range: 1 <= x <= 10000

Response

Chain verification result

Result of the cryptographic chain integrity check on the audit log. A clean system returns {verified: true, chain_length: N}. A tampered or deleted row returns {verified: false, broken_at: , broken_reason: ...}.

object
enum<string>
Available options:
audit_chain_verification
verified
boolean
chain_length
integer

Number of rows walked during verification.

broken_at
string<uuid> | null

ID of the first row where the chain broke (null when verified=true).

broken_reason
enum<string> | null

Reason code for the chain break (null when verified=true).

Available options:
prev_hash_mismatch,
entry_hash_mismatch,
missing_row,
null_hash