API Reference

Integrity Alerts

2 endpoints· Auth: JWT or API Key
get/api/v1/console/audit/alerts JWT API Key

The sink, newest first

Unacknowledged by default — that is the owner's banner; pass `acknowledged=true` for the cleared history.

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

Query parameters

Acknowledged
boolean
null — the default — shows <b>unacknowledged</b> rows. `true` shows the acknowledged history, `false` is the explicit spelling of the default.
Kind
string
`CHAIN_BROKEN`, `STOCK_DRIFT`, … An unknown kind narrows to nothing rather than erroring: the column is an open `varchar` (FR-AUD-057) so this filter cannot be closed without re-introducing the migration the open column exists to avoid.
Severity
string
`info` | `low` | `medium` | `high` | `critical`. An out-of-set value is <b>ignored</b>, so a stale bookmark shows the unfiltered list rather than a 422.
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/alerts" \
  -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/alerts/{id}/acknowledge JWT API Key

Acknowledge one alert

Idempotent: a second acknowledgement returns the row unchanged and writes no second audit row. An alert in another branch reads as `NOT_FOUND` — confirming that a tamper alarm exists elsewhere is itself a leak.

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

Path parameters

idrequired
string (uuid)
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu