Get replay logs
GET
/v1/threads/{threadId}/logsReturn 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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| threadId | path | string | Yes | Thread ID |
Query parameters
None.
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
| Field | Type | Required | Description |
|---|---|---|---|
| logs | object[] | No | — |
| logs[].createdAt | string | No | ISO 8601 timestamp. |
| logs[].time | string | No | — |
| logs[].message | string | No | Message text. |
| logs[].type | info | error | success | warning | No | — |
| logs[].eventType | string | No | — |
| logs[].isUserMessage | boolean | No | — |
| logs[].isReasoning | boolean | No | — |
| logs[].isActionSummary | boolean | No | — |
| logs[].isPlanning | boolean | No | — |
| logs[].isLLMResponse | boolean | No | — |
| logs[].metadata | object | No | Free-form metadata object. |
| threadId | string | No | Thread ID. |
| status | active | running | completed | failed | cancelled | No | Current lifecycle status. |
| duration | string | No | — |
| totalCost | number | No | — |
| inputTokens | integer | No | — |
| outputTokens | integer | No | — |
| environmentId | string | No | Computer ID. |
| environmentName | string | No | — |
| agentId | string | No | Agent ID. |
| agentName | string | No | — |
| teamExecution | object | No | — |
| teamExecution.mode | team | No | — |
| teamExecution.teamAgentId | string | No | — |
| teamExecution.teamAgentName | string | No | — |
| teamExecution.orchestrator | object | No | — |
| teamExecution.orchestrator.agentId | string | No | Agent ID. |
| teamExecution.orchestrator.agentName | string | No | — |
| teamExecution.orchestrator.claudeAgentName | string | No | — |
| teamExecution.subagents | object[] | No | — |
| teamExecution.subagents[].agentId | string | No | Agent ID. |
| teamExecution.subagents[].agentName | string | No | — |
| teamExecution.subagents[].claudeAgentName | string | No | — |
| subagentActivity | object[] | No | — |
| subagentActivity[].agentId | string | No | Agent ID. |
| subagentActivity[].agentName | string | No | — |
| subagentActivity[].claudeAgentName | string | No | — |
| subagentActivity[].eventCount | integer | No | — |
| subagentActivity[].lastActiveAt | string | No | — |
| subagentActivity[].teamAgentId | string | No | — |
| subagentActivity[].teamAgentName | string | No | — |