v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-07253798.6 KB
agents-alpha
agents-alpha
agents-beta

Get Agent Run Logs

Retrieve an agent run with its logs using pagination. This endpoint is currently in ALPHA and IS subject to change.

Returns the agent run details along with a paginated list of logs for the specified agent run. The agent run must belong to the specified organization. Logs are returned in chronological order. Uses standard pagination parameters (skip and limit) and includes pagination metadata in the response.

Rate limit: 60 requests per 60 seconds.

get/v1/alpha/organizations/{org_id}/agent/run/{agent_run_id}/logs

Path parameters

agent_run_idinteger required
org_idinteger required

Query parameters

skipinteger
limitinteger
reverseboolean

Headers

{"stackTrail":"paths:/v1/alpha/organizations/{org_id}/agent/run/{agent_run_id}/logs:get:parameters:5:schema","oasType":"schema","type":"unknown","title":"Authorization"}

Response

Successful Response

idinteger required
organization_idinteger required
statusstring nullable
created_atstring nullable
web_urlstring nullable
resultstring nullable
metadataobject nullable
total_logsinteger nullable
pageinteger nullable
sizeinteger nullable
pagesinteger nullable