MngGetAIRunDetails¶
GET ai/run
The full trail of one answer: the question, the answer, the knowledge sources and each tool call with its arguments and result.
This is how a claim like "the assistant told the client his margin was 87%" is checked: the tool call shows where the figure came from, or that there was none.
Opening this method writes a line to the service log with the manager who did it. Reading someone else's conversation is an incident review, not browsing.
Access Control¶
Allowed: admin. Runs of the administrator's brand.
Parameters¶
| Parameter | Type | Description |
|---|---|---|
runId |
string | Run id |
Response Data¶
{
"run": {
"id": "run_55b…",
"state": "completed",
"model": "anthropic/claude-sonnet-4.5",
"input": { "question": "Why was position 500103 closed?", "route": "/backoffice/trades" },
"result": { "content": "…", "sources": [], "actions": [] },
"cost": 0.0042
},
"messages": [
{ "id": "msg_1c7…", "role": "assistant", "content": "…", "metadata": { "sources": [], "toolCalls": [] } }
],
"toolCalls": [
{
"id": "tc_9f2…",
"roundIndex": 0,
"toolName": "get_open_trades",
"action": "GetTradesByLogin",
"state": "ok",
"arguments": { "login": 2000067, "limit": 50, "offset": 0, "tradeType": 1 },
"result": "{\"rows\":[…]}",
"durationMs": 180,
"createdAt": "2026-09-17 10:12:25"
}
]
}
A tool call with state: "denied" means the module refused it before the platform: a tool
outside the agent's list, arguments that failed the schema, or a repeat of a call that
already failed in the same turn.
Errors¶
| Code | Error | Description |
|---|---|---|
403 |
AI_ACCESS_DENIED |
The session is not an administrator |
404 |
AI_RUN_NOT_FOUND |
No such run in this brand |