List agent logs
What happened on this agent’s calls, newest first: tool runs, tools the agent asked for that it does not have, the variables each call got, how the after-call results went, and each call starting and ending. It is the same list as the Logs tab in Agent Studio.
Every filter is optional. part is prompt, tools, variables, results or calls. level is error or warning. name narrows it to one tool, variable or result field, and call_id to one call. since and until are RFC 3339 times. limit is up to 200. When next_cursor is set, send it back as cursor for the next page.
Each item has a one-line summary you can show as is, and detail with the full record: request and response for a tool run (secrets and headers masked), the values a call got, and so on.
Authorizations
Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.
Path Parameters
The agent's id (agt_…).
Query Parameters
prompt, tools, variables, results, calls all, info, warning, error, warnings, errors 1 <= x <= 200Response
A failing tool and a tool the prompt names