API Reference

Audit Chain

4 endpoints· Auth: JWT or API Key
get/api/v1/console/audit/chain JWT API Key

The integrity card: head, last verdict, staleness, last anchor, open alerts

Reading this runs no verification. A card that verified on every page load would make the verification history a function of how often somebody opened a screen — and the density of runs is itself the evidence. A branch that has never been verified reports a null verdict, to be rendered neutrally rather than green.

Capability
view_audit
API key scope
cap:view_audit (the key's owner must also hold the capability)

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/audit/chain" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/audit/chain/proof JWT API Key

The cryptographic proof bundle for the latest anchored head

`NOT_FOUND` until the branch has been anchored, rather than an empty bundle: a proof-shaped document that proves nothing is worse than no document, because somebody will file it. Anchoring ships dark until a time-stamp authority is configured, so on a default install this is the expected answer.

Capability
view_audit
API key scope
cap:view_audit (the key's owner must also hold the capability)

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/audit/chain/proof" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/audit/chain/verifications JWT API Key

The run history, newest first — where a gap in verification shows

Capability
view_audit
API key scope
cap:view_audit (the key's owner must also hold the capability)

Query parameters

Scope
string
`recent` | `full`. Out-of-set values are ignored.
Ok
boolean
When `true`, only failed runs. When `false`, only clean ones.
Page
integer (int32)
—
PerPage
integer (int32)
—
Search
string
Free-text filter. Its meaning is per-resource and documented on the endpoint.
Skip
integer (int32)
Rows to skip, derived — never sent by the caller on this surface.
Sort
string
A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order.
Dir
string
`asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/audit/chain/verifications" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/audit/chain/verify JWT API Key

Verify now — a full walk of the caller's branch, attributed to the caller

Full rather than recent because a human pressing this is asking about the whole record; the hourly sweep already covers the tail. One `ChainVerification` row is persisted whatever the answer — a run that found nothing wrong is still a fact worth keeping, because it is what makes a later gap visible.

Capability
view_audit
API key scope
cap:view_audit (the key's owner must also hold the capability)

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/audit/chain/verify" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu