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