Skip to main content
GET
/
v1
/
audit
/
verify
Verify a daily audit-log head-hash anchor (TRU-163)
curl --request GET \
  --url https://api.trulayer.ai/v1/audit/verify
{
  "verified": true,
  "date": "2023-12-25",
  "head_hash": "<string>",
  "row_count": 123,
  "s3_key": "<string>",
  "anchored_at": "2023-11-07T05:31:56Z",
  "hash_matches": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

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

Query Parameters

tenant_id
string<uuid>
required
date
string<date>
required

UTC day, YYYY-MM-DD.

expected_head_hash
string

Optional. When provided, the response includes hash_matches.

Response

Anchor found

verified
boolean
required

True when an anchor row exists for the given (tenant_id, date).

date
string<date>
required
head_hash
string
required

Hex-encoded sha256 of the audit-log chain head as of the anchor date.

row_count
integer<int64>
required
s3_key
string
required

Object key of the signed manifest in the anchor S3 bucket.

anchored_at
string<date-time>
required
hash_matches
boolean | null

Present only when the caller provided expected_head_hash.