Get a subagent child-session transcript
GET /v1/sessions/:parentId/subagent-runs/:childSessionId — Return the folded transcript for one synchronous `subagent` delegation. The child id is an event-log key (`tag:sub:N`),
GET /v1/sessions/:parentId/subagent-runs/:childSessionId
Return the folded transcript for one synchronous subagent delegation. The child id is an event-log key (tag:sub:N), not a listed chat session. Ownership is gated by a matching subagent_spawn event on the parent session.
| Method | GET |
| Path | /v1/sessions/:parentId/subagent-runs/:childSessionId |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | sessions |
Response body
{ "parent_session_id": "chat_abc", "child_session_id": "chat_abc:sub:1", "title": "ETH DeFi overview", "task": "collect ETH DeFi data", "status": "done", "ok": true, "duration_ms": 4200, "iterations": 3, "transcript": { "session_id": "chat_abc:sub:1", "text": "…", "segments": [], "toolCalls": [] } }