GET audit-log/export-chain
GET /api/v1/audit-log/export-chain
Exports the organization's hash-linked audit rows for a date range with signed daily anchors and a signed manifest.
Authenticate with a portal session token.
Parameters
fromstring querytostring query
Responses
200 Successful response.
application/json ReceiptsAuditChainExport
anchorsarray of object requiredcanonical_preimagesobject requiredentriesarray of object requiredmanifestobject requiredanchor_countinteger requiredentry_countinteger requiredexported_atstring (date-time) requiredfirst_idinteger or null requiredfromstring (date) requiredjwks_uristring (uri) requiredlast_idinteger or null requiredorg_idinteger or null requiredrow_capinteger requiredRange: at most 50000rows_availableinteger requiredsignature_algstring requiredtostring (date) requiredtruncatedboolean requiredtypestring requiredValue:"audit_log_chain_export_v1"
manifest_sha256string requiredmanifest_signaturestring required
Generated sample
{
"anchors": [
{}
],
"canonical_preimages": {},
"entries": [
{}
],
"manifest": {
"anchor_count": 0,
"entry_count": 0,
"exported_at": "2026-01-01T00:00:00Z",
"first_id": 0,
"from": "2026-01-01",
"jwks_uri": "https://example.com",
"last_id": 0,
"org_id": 0,
"row_cap": 0,
"rows_available": 0,
"signature_alg": "string",
"to": "2026-01-01",
"truncated": true,
"type": "audit_log_chain_export_v1"
},
"manifest_sha256": "string",
"manifest_signature": "string"
}401 Authentication is required or the supplied credentials are not accepted.
application/json Error
errorstring requiredmessagestring
403 The authenticated principal lacks the required permission.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 An audit-log filter failed validation.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string