API Reference

Owner Facts

Prime cost, leakage and the other owner figures.

4 endpoints· Auth: JWT or API Key
get/api/v1/console/loss/avt JWT API Key

Actual-vs-Theoretical facts for one business day in one book.,

`?businessDate=&location=kitchen|warehouse`, both optional (today, kitchen). `available` is false — and there are no figures — unless both an approved morning and an approved evening count exist for that book and day.

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

Query parameters

BusinessDate
string (date)
The business day. Defaults to today.
Location
StockBook
The book. Defaults to the kitchen, the primary loss surface. The two books are never blended (INV-017).

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/loss/avt" \
  -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/loss/prime-cost JWT API Key

Prime cost — (COGS + labour) ÷ net sales, with its band.,

`?from=&to=`, both optional: the default is the month to date. The percentage is null, not zero, when it is unknowable; `provisional` flags a range that is not whole payroll months.

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

Query parameters

From
string (date)
First business day, inclusive. Defaults to the first day of Panoptes.Application.DTOs.Requests.Costing.PrimeCostRequest.To's month.
To
string (date)
Last business day, inclusive. Defaults to today.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/loss/prime-cost" \
  -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/loss/risk-signals JWT API Key

Get risk-signals

The branch's risk signals: recent counts with their exposure, the fraud queue's totals, and the items at or below minimum per location.

`?limit=` rows per list, clamped to 1–50 (default 10).

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

Query parameters

Limit
integer (int32)
Rows per list, clamped to [1, Panoptes.Application.DTOs.Requests.Fraud.RiskSignalsRequest.MaxLimit].

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/loss/risk-signals" \
  -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/loss/shrinkage JWT API Key

Warehouse and kitchen shrinkage over a range, never netted against each other

`?from=&to=`, both required. The completeness block says whether any ledger slice is still provisional. There is no cross-book total, on purpose.

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

Query parameters

From
string (date)
—
To
string (date)
—

Responses

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

Query parameters

Headers

Set credentials in the “Authorize” menu