Search the documentation
7 pages for agentid.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
dreams
Claude Developer Platform · in the page
managed-agents/dreams
…t!.memory_store_id; await client.beta.sessions.create({ agent: agentId, environment_id: environmentId, resources: [ { type: "memory_store", memory_store_id: outputStoreId }, ]…
session-operations
Claude Developer Platform · in the page
managed-agents/session-operations
…ssions.WithRawResponse.List( new SessionListParams { Limit = 1, AgentID = agent.ID } ); var page1 = await page1Response.Deserialize<SessionListPageResponse>(); Console.WriteLine($"prev_pag…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…leted"`):** ```python theme={null} { "status": "completed", "agentId": str, # ID of the agent that ran "agentType": str | None, # The subagent type that handled the task "content":…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…nt completes, the Agent tool result includes a text block containing `agentId: <id>`. The built-in [`Explore` and `Plan` agents](/docs/en/sub-agents#built-in-subagents) are one-shot and don't return a…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…t](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents), the `agentId` of the subagent that spawned it. `null` for main-session messages, messages from top-level subagents, and older sessions.…
Hooks reference
Claude Code CLI · in the page
hooks
…an omitted `run_in_background` also produces `"async_launched"` | | `agentId` | string | `"a4d2c8f1e0b3a297"` | Identifier for the subagent run…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…roject}/{sessionId}/subagents/`. Each transcript is stored as `agent-{agentId}.jsonl`. Subagent transcripts persist independently of the main conversation: * **Main conversation compaction**: when t…