API Reference
Owner Assistant (v1)
The first assistant's status, daily briefing and one-shot chat.
3 endpoints· Auth: JWT
get
/api/v1/console/assistant/briefing JWTGet briefing
The daily briefing for `?businessDate=` (default yesterday); `?narrate=true` adds the assistant's Arabic phrasing of the same facts when it is available.
- Capability
view_profit- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Query parameters
| BusinessDate string (date) | The business day the briefing reports on (Asia/Baghdad). Omitted → yesterday, the last whole day: the morning question is "what happened yesterday", and today's ledger is still open. |
| Narrate boolean | Also ask the assistant to phrase the briefing in Arabic from these facts only. Ignored — with the reason in `narrationStatus` — when the assistant is off or not in the plan; the briefing itself never depends on a model. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/assistant/briefing" \
-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/assistant/chat JWTCreate chat
One question, answered from the fact tools, with every tool call and its server-computed payload beside the answer — by the deterministic assistant by default, by the model when an operator has configured a key and the plan includes it.
- Capability
view_profit- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Request body
application/json
{
"messages": [
{
"role": "string",
"content": "string"
}
],
"language": "string"
}| messages AssistantChatMessage[] | Oldest first; the first and the last are the owner's (`user`). |
| language string | The dashboard's locale, `ar` or `en`. A hint only: the assistant answers in the language the owner writes in, Arabic when in doubt. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/assistant/chat" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"messages": [
{
"role": "string",
"content": "string"
}
],
"language": "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/assistant/status JWTGet status
The panel's state: always shown to the owner; `configured`/`entitled` say whether the model path takes over.
- Capability
view_profit- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/assistant/status" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
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