Get Operator Run
/v1/graphs/{graph_id}/audit/runs/{operation_id}Part of Graph Audit.
One operator run with its full paper trail: the history it was seeded with, every model call with the tool calls it made and the results it read, the answer, and the response metadata. Readable by a graph admin or by the user who made the run.
Authentication
Authenticate in any one of these ways — not all of them:
- API key in the
X-API-Keyheader. - Bearer token in the
Authorizationheader.
Path parameters
| Name | Type | Description |
|---|---|---|
graph_idrequired | string | Graph identifier Constraints: matches |
operation_idrequired | string | The run's operation id |
Example request
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/audit/runs/{operation_id}" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description |
|---|---|---|
operation_idrequired | string | The run's operation id; every mutation audit entry the run made carries it as |
thread_idoptional | string | The conversation the run belongs to, when the caller threaded it; null for a standalone API call |
user_idrequired | string | The user the run ran as |
operator_typerequired | string | The operator that ran |
moderequired | string | The execution mode the run used |
statusrequired | string | How the run ended One of: |
questionrequired | string | The message the run was given |
answeroptional | string | The operator's answer; null when the run did not reach one |
erroroptional | string | Why a failed run failed |
credits_consumedoptional | number | Credits the run's model calls cost Default: |
call_countoptional | integer | Model calls the run made Default: |
tools_calledoptional | string[] | The tools the run called, each named once |
write_countoptional | integer | Writes the run made to the graph Default: |
started_atrequired | string (date-time) | When the run started on the worker |
finished_atrequired | string (date-time) | When the run ended |
duration_msrequired | number | How long the run took |
historyoptional | object[] | The prior turns the run was given, as role/content pairs |
transcriptoptional | object[] | One entry per model call, in order: the input added since the previous call (the question, then each turn's tool results), the model's output blocks (text and tool calls), stop reason, token usage and credits. The first entry also carries the system prompt's SHA-256 and size and the tool names offered; later entries repeat them only when they change |
resultoptional | object | The response envelope's metadata without its result rows: tokens, credits, the Cypher run, the writes made, confidence and loop flags |
| Status | Meaning |
|---|---|
| 400 | Invalid request |
| 401 | Authentication required |
| 403 | Access denied |
| 404 | Resource not found |
| 422 | Validation Error |
| 429 | Rate limit exceeded |
| 500 | Internal server error |