API Reference

Pilots

6 endpoints· Auth: JWT or API Key
get/api/v1/console/loss/pilots JWT API Key

Get pilots

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

Query parameters

Status
string
`active` | `completed` | `cancelled`. Optional.
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/loss/pilots" \
  -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/loss/pilots JWT API Key

Create pilots

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

Request body

application/json
{
  "restaurantName": "string",
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "note": "string"
}
restaurantName
string
—
startDate
string (date)
—
endDate
string (date)
—
note
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/loss/pilots" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "restaurantName": "string",
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "note": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/loss/pilots/{id} JWT API Key

Get id

Capability
manage_settings
API key scope
cap:manage_settings (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/loss/pilots/{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
put/api/v1/console/loss/pilots/{id} JWT API Key

Update id

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "restaurantName": "string",
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "note": "string",
  "checklist": null,
  "finalReportStatus": "string"
}
restaurantName
string
—
startDate
string (date)
—
endDate
string (date)
—
note
string
—
checklist
object
Free-form JSON checklist state (object or array). Stored as `jsonb`.
finalReportStatus
string
`pending` | `generated` | `delivered`.

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/loss/pilots/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "restaurantName": "string",
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "note": "string",
  "checklist": null,
  "finalReportStatus": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
delete/api/v1/console/loss/pilots/{id} JWT API Key

Delete id

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "reason": "string"
}
reason
string
—

Responses

200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/loss/pilots/{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/loss/pilots/{id}/status JWT API Key

Create status

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "status": "string"
}
status
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/loss/pilots/{id}/status" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "status": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu