Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

本地

列出本地会话
GET/v1/compliance/apps/sessions/local
检索本地会话
GET/v1/compliance/apps/sessions/local/{local_session_id}
Models
LocalRetrieveResponse object{ id, created_at, organization_uuid, 5 more }

A session that a user ran on their own computer in a Claude app while signed in with their organization account.

LocalListResponse object{ id, created_at, organization_uuid, 5 more }

A session that a user ran on their own computer in a Claude app while signed in with their organization account.

本地消息

检索本地会话消息
GET/v1/compliance/apps/sessions/local/{local_session_id}/messages