API Reference
Anomalies
Loss and sales anomalies flagged for review: acknowledge, dismiss or escalate.
6 endpoints· Auth: JWT or API Key
get
/api/v1/console/anomalies JWT API KeyGet anomalies
- Capability
approve_variance- API key scope
cap:approve_variance(the key's owner must also hold the capability)
Query parameters
| Status string | `open` | `acknowledged` | `dismissed` | `escalated`; anything else is ignored. |
| Detector string | — |
| From string (date) | — |
| To string (date) | — |
| 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/anomalies" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/anomalies/{id} JWT API KeyGet id
- Capability
approve_variance- API key scope
cap:approve_variance(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/anomalies/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/anomalies/{id}/acknowledge JWT API KeyCreate acknowledge
- Capability
resolve_fraud- API key scope
cap:resolve_fraud(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"note": "string"
}| note string | Required to dismiss — a dismissed flag without a reason is a buried one. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/anomalies/{id}/acknowledge" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"note": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/anomalies/{id}/dismiss JWT API KeyCreate dismiss
- Capability
resolve_fraud- API key scope
cap:resolve_fraud(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"note": "string"
}| note string | Required to dismiss — a dismissed flag without a reason is a buried one. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/anomalies/{id}/dismiss" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"note": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/anomalies/{id}/escalate JWT API KeyCreate escalate
- Capability
resolve_fraud- API key scope
cap:resolve_fraud(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"note": "string"
}| note string | Required to dismiss — a dismissed flag without a reason is a buried one. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/anomalies/{id}/escalate" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"note": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/anomalies/scan JWT API KeyRe-run the detectors for one closed day (default yesterday)
- Capability
resolve_fraud- API key scope
cap:resolve_fraud(the key's owner must also hold the capability)
Request body
application/json
{
"businessDate": "2026-11-27"
}| businessDate string (date) | Default yesterday. Today cannot be scanned: it has not closed. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/anomalies/scan" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"businessDate": "2026-11-27"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu