Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Remote

List remote sessions
GET/v1/compliance/apps/sessions/remote

List remote sessions (Cowork sessions that run in Anthropic-managed cloud environments) across the organizations the key may read.

Models
RemoteListResponse object{ id, agent_id, claude_project_id, 7 more }

Metadata for one remote session, as returned in the list response and in the messages response's session field.

Carries session attributes only, not transcript content. Use the messages endpoint to retrieve a session's transcript.

RemoteMessages

Retrieve remote session messages
GET/v1/compliance/apps/sessions/remote/{claude_remote_session_id}/messages

Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included.