A cloud session is a Claude Code session running on a remote machine. Its transcript, the record of the conversation, is fetched one page at a time. A request for a page can now include an optional agent_id. A subagent is a helper agent Claude starts to work on part of a task, and with agent_id set the request returns that one subagent's entries instead of the main transcript.
The marker that says where the next page starts belongs to the agent_id it came with.
Someone viewing a session remotely can page through what a single subagent did.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
"agent_id": null,manage-claude/compliance-sessions see the edit
Local sessions are captured as their requests reach the Claude API, so nothing is installed on the device, and on-device activity that never reaches the API is not captured. Claude Code sessions authenticated with a Claude Console API key,…manage-claude/compliance-faq see the edit
A small documentation edit on compliance-faq touched a line naming agent_id after this was published.