API Reference
Export Jobs
5 endpoints· Auth: JWT
get
/api/v1/console/export-jobs JWTGet export-jobs
- Capability (any)
view_reportsorview_profitorview_glorview_hq- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Query parameters
| Status string | — |
| 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/export-jobs" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post
/api/v1/console/export-jobs JWTCreate export-jobs
- Capability (any)
view_reportsorview_profitorview_glorview_hq- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Request body
application/json
{
"kind": "string",
"reportKey": "string",
"savedReportId": "00000000-0000-0000-0000-000000000000",
"format": "string",
"lang": "string",
"preset": "string",
"from": "2026-11-27",
"to": "2026-11-27",
"fromTime": "string",
"toTime": "string"
}| kind string | `standard` (a catalogue report key) or `custom` (a saved report). |
| reportKey string | Standard: the catalogue key. |
| savedReportId string (uuid) | Custom: the saved report. |
| format string | `xlsx | csv | pdf`. |
| lang string | PDF: `ar` (default) or `en`. |
| preset string | — |
| from string (date) | — |
| to string (date) | — |
| fromTime string | Optional start time, `HH:mm` Baghdad local, on `from`. Honoured by the order-based reports and datasets only (others record `timeFilterApplied: false`); 422 on a bad format. |
| toTime string | Optional end time, `HH:mm` Baghdad local, on `to`, end minute inclusive. Start must be <= end (else 422). |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/export-jobs" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"kind": "string",
"reportKey": "string",
"savedReportId": "00000000-0000-0000-0000-000000000000",
"format": "string",
"lang": "string",
"preset": "string",
"from": "2026-11-27",
"to": "2026-11-27",
"fromTime": "string",
"toTime": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get
/api/v1/console/export-jobs/{id} JWTGet id
- Capability (any)
view_reportsorview_profitorview_glorview_hq- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/export-jobs/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
delete
/api/v1/console/export-jobs/{id} JWTDelete id
- Capability (any)
view_reportsorview_profitorview_glorview_hq- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/export-jobs/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get
/api/v1/console/export-jobs/{id}/download JWTThe artifact, while it exists
An expired or unfinished job reads as not found.
- Capability (any)
view_reportsorview_profitorview_glorview_hq- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/export-jobs/{id}/download" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu