Skip to navigation

List one tool's runs with request and result

Runs of one webhook or MCP tool across the agent’s calls, newest first by started_at then id. Each run carries the filtered arguments and result, the registered error code and the webhook HTTP status. Payloads of runs recorded while capture was off are null. Requires calls.read. A run of the agent’s before-call tool has timing pre_call and no model arguments.

Authentication

AuthorizationBearer

Create and manage workspace-owned keys through the existing app session routes, outside this public API. Creator and manager identities are audit actors only. Key validity follows workspace policy, expiry and explicit revocation, independently of creator membership. Do not include a workspace-selection header.

Path parameters

agent_idstringRequired1-128 characters
Resource identity within the authenticated workspace.
tool_idstringRequired1-128 characters
Resource identity within the authenticated workspace.

Query parameters

limitintegerOptional1-200Defaults to 50

Page size; 50 by default, at most 200.

cursorstringOptional
Opaque cursor bound to the workspace, every filter, grouping and limit. Send them unchanged with it. Expires after 24 hours.
call_idstringOptional1-128 characters
Only the runs of this call.
statelist of stringsOptional

Exact run state filter. Known values: pending, succeeded, failed, indeterminate. Invalid filters are refused, not ignored. Repeat for OR; AND with other fields. Omission means no filter.

startdatetimeOptional
Inclusive UTC timestamp. Range must be at most 93 days.
enddatetimeOptional
Exclusive UTC timestamp. Default range is trailing 30 days.

Response headers

X-Request-IdstringOptional
Safe server request correlation ID.
RateLimit-LimitintegerOptional
Requests allowed in the current window for the tightest applicable limit.
RateLimit-RemainingintegerOptional
Requests left in the current window.
RateLimit-ResetintegerOptional
Seconds until the current window resets.

Response

List one tool's runs with request and result.
itemslist of objects
next_cursorstring or null
Opaque continuation cursor. Null means the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error