Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

远程

列出远程会话
GET/v1/compliance/apps/sessions/remote
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