Skip to content
Sign in Create account

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

  • from string query
  • to string query

Responses

200 Successful response.

application/json ReceiptsAuditChainExport

  • anchors array of object required
  • canonical_preimages object required
  • entries array of object required
  • manifest object required
    • anchor_count integer required
    • entry_count integer required
    • exported_at string (date-time) required
    • first_id integer or null required
    • from string (date) required
    • jwks_uri string (uri) required
    • last_id integer or null required
    • org_id integer or null required
    • row_cap integer required
      Range: at most 50000
    • rows_available integer required
    • signature_alg string required
    • to string (date) required
    • truncated boolean required
    • type string required
      Value: "audit_log_chain_export_v1"
  • manifest_sha256 string required
  • manifest_signature string 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

  • error string required
  • message string
403 The authenticated principal lacks the required permission.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 An audit-log filter failed validation.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string