Get replay logs

GET/v1/threads/{threadId}/logs

Return normalized replay logs, costs, and execution metadata for a thread.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
threadIdpathstringYesThread ID
Query parameters
NameLocationTypeRequiredDescription
compactquerybooleanNoCompact large media payloads in execution log metadata while preserving saved file paths for previews.
includeConversationquerybooleanNoInclude user and assistant conversation entries in the normalized replay log. Defaults to true.
compactMediaquerybooleanNoLegacy alias for `compact`.
conversationquerybooleanNoLegacy alias for `includeConversation`.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Thread replay logsapplication/json
FieldTypeRequiredDescription
logsobject[]No—
logs[].createdAtstringNoISO 8601 timestamp.
logs[].timestringNo—
logs[].messagestringNoMessage text.
logs[].typeinfo | error | success | warningNo—
logs[].eventTypestringNo—
logs[].isUserMessagebooleanNo—
logs[].isReasoningbooleanNo—
logs[].isActionSummarybooleanNo—
logs[].isPlanningbooleanNo—
logs[].isLLMResponsebooleanNo—
logs[].metadataobjectNoFree-form metadata object.
threadIdstringNoThread ID.
statusactive | running | completed | failed | cancelledNoCurrent lifecycle status.
durationstringNo—
totalCostnumberNo—
inputTokensintegerNo—
outputTokensintegerNo—
environmentIdstringNoComputer ID.
environmentNamestringNo—
agentIdstringNoAgent ID.
agentNamestringNo—
teamExecutionobjectNo—
teamExecution.modeteamNo—
teamExecution.teamAgentIdstringNo—
teamExecution.teamAgentNamestringNo—
teamExecution.orchestratorobjectNo—
teamExecution.orchestrator.agentIdstringNoAgent ID.
teamExecution.orchestrator.agentNamestringNo—
teamExecution.orchestrator.claudeAgentNamestringNo—
teamExecution.subagentsobject[]No—
teamExecution.subagents[].agentIdstringNoAgent ID.
teamExecution.subagents[].agentNamestringNo—
teamExecution.subagents[].claudeAgentNamestringNo—
subagentActivityobject[]No—
subagentActivity[].agentIdstringNoAgent ID.
subagentActivity[].agentNamestringNo—
subagentActivity[].claudeAgentNamestringNo—
subagentActivity[].eventCountintegerNo—
subagentActivity[].lastActiveAtstringNo—
subagentActivity[].teamAgentIdstringNo—
subagentActivity[].teamAgentNamestringNo—
Get replay logs
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow