Conversations
Get an AI agent run
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the ai:read ability
Path parameters
conversationstringrequiredId of the conversation, starting with conv_. A number does not work here; find the id with GET /conversations/{conversation}.
runstringrequiredId of the run, starting with wfr or air_, such as wfr_01jx2m8k4t. Find it with the matching runs list.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
answer_message_idstring | nullrequiredId of the message the agent sent as its answer, such as msg_... Null when the run sent none.
completed_atstring | nullrequiredWhen the run finished. Null while it is still running.
Format: date-time
conversation_idstring | nullrequiredId of the conversation the run worked on, such as conv_... Null for a run outside a conversation, such as a playground question.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
erroranyrequiredWhy the run failed, as an object with code and message. Null when it did not fail.
feedbackstring | nullrequiredHow the answer was rated: helped, not_helped, solved, handoff, discarded, good or bad. Null when nobody rated it.
first_token_msinteger | nullrequiredMilliseconds until the first piece of the answer arrived. Null when not measured.
Format: int32
flagsstring[] | nullrequiredThings that stepped in during the run, such as link_removed, reply_regenerated, reply_withheld, implied_handoff or enforced_handoff. Empty when nothing did.
handoff_reasonstring | nullrequiredWhy the agent handed the conversation to the team, such as customer_requested, unknown, max_replies, frustration, spend_cap or provider_error. Null when it did not hand off.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
input_tokensintegerrequiredTokens sent to the models during the run.
Format: int64
kindstringrequiredWhat the run was for: conversation, playground, probe, help_center, task, classify, judge, ticket_fill, ticket_match, ticket_summary or simulation.
languagestring | nullrequiredThe language detected for the run, as a language tag such as en. Null when none was detected.
latency_msinteger | nullrequiredMilliseconds the whole run took. Null when not measured.
Format: int32
outcomestring | nullrequiredHow the run ended: answered, unknown, handoff, silent, greeted, refused, skipped, superseded, drafted or error. Null while it runs.
output_tokensintegerrequiredTokens the models wrote during the run.
Format: int64
payloads_visiblebooleanTrue when the caller may read the steps' request and response payloads. Present only when one run is read with its steps.
procedure_traceanyWhat the run did with the procedure it followed: the path taken, the branches decided and where a guardrail stepped in. Left out when it followed none.
prompt_versionstringrequiredThe version of the prompts the run used. Empty when not recorded.
skip_reasonstring | nullrequiredWhy the run was skipped without answering, such as human_replied_in_delay or agent_missing. Null when it was not skipped.
statusstringrequiredWhere the run stands: running, completed, failed or skipped.
stepsobject[] | nullThe run's traced steps in order. Present only when one run is read, not in lists.
Show child attributesHide child attributes
error_kindstring | nullrequiredThe kind of failure when the step failed, such as auth, quota, rate_limited, overloaded, timeout or network. Null when it did not fail.
first_token_msinteger | nullrequiredMilliseconds until the model's first output arrived in this step. Null when not measured.
Format: int32
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
input_tokensintegerrequiredTokens sent to the model in this step.
Format: int64
kindstringrequiredWhat the step did: classify, retrieve, generate, tool_call, verify, summarize, translate or probe.
latency_msinteger | nullrequiredMilliseconds the step took. Null when not measured.
Format: int32
modelstring | nullrequiredId of the model the step called. Null for a step that called none.
output_tokensintegerrequiredTokens the model wrote in this step.
Format: int64
providerstring | nullrequiredThe model provider the step called, such as dimmi, anthropic or openai. Null for a step that called none.
requestanyrequiredThe redacted record of what the step sent. Null when the caller may not read payloads or the record's retention has passed.
responseanyrequiredThe redacted record of what came back. Null when the caller may not read payloads or the record's retention has passed.
seqintegerrequiredThe step's position within its run; steps run in rising order.
Format: int32
statusstringrequiredHow the step ended: ok, error or canceled.
upstreamstring | nullrequiredThe provider the model's calls actually reached, when that differs from the connection's name. Null when not recorded.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.