Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Удалённые

Список удалённых сеансов
GET/v1/compliance/apps/sessions/remote

Список удалённых сеансов (сеансов Cowork, выполняющихся в облачных средах под управлением Anthropic) по всем организациям, доступным ключу для чтения.

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.

УдалённыеСообщения

Получение сообщений удалённого сеанса
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. Some notes for the assistant that Claude's apps add to a user's message, without showing them to the user, are withheld: such a text block is returned empty with added_as_context: true. Other added text is returned in full.