Skip to main content
GET
Read one tool call in full

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Path Parameters

workspace_id
string
required

Workspace identifier (version 7 universally unique identifier, or UUID).

fleet_id
string
required

Fleet identifier (version 7 universally unique identifier, or UUID).

turn_id
string
required

Turn identifier (version 7 universally unique identifier, or UUID).

item_id
string
required

Tool call identifier from the activity stream, in {fence}:{n} format. Keep it unchanged and URL-encode it.

Response

OK

GET …/turns/{turn_id}/items/{item_id} reply: one call, in full.

arguments
object
required

Every argument the call was made with, secret values masked. Beta: this field may change shape before it is stable.

call_id
string
required

Tool call identifier from the conversation, in {fence}:{n} format. Beta: this field may change shape before it is stable.

kind
enum<string>
required

What kind of thing the call was. Beta: this field may change shape before it is stable.

Available options:
tool_call,
edit
output
string
required

Everything the call returned. Beta: this field may change shape before it is stable.

output_line_count
integer<int64>
required

How many lines the whole output had, before any cut. Beta: this field may change shape before it is stable.

Required range: x >= 0
status
enum<string>
required

How it ended. Beta: this field may change shape before it is stable.

Available options:
succeeded,
failed
truncated
boolean
required

Whether the output was cut to fit one post. Beta: this field may change shape before it is stable.

truncated_arguments
boolean
required

Whether the arguments were dropped because they alone would not fit one post. Beta: this field may change shape before it is stable.

changes
object[]

For an edit: each file it changed and the lines it added and removed. Absent for any other call.

sources
object[]

Pages returned by this call, in their original order.

tool
string | null

The tool it called. Absent for an item that called none. Beta: this field may change shape before it is stable.