Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

远程

列出远程会话
GET/v1/compliance/apps/sessions/remote

列出该密钥可读取的各组织中的远程会话(在 Anthropic 托管的云环境中运行的 Cowork 会话)。

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

检索一个远程会话的记录:用户提示、助手响应以及工具调用和结果。不包括思考块和图像。