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}

1 つのローカルセッションを取得します。

Models
LocalRetrieveResponse object{ type: "compliance_local_session", id, created_at, 6 more }

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

LocalListResponse object{ type: "compliance_local_session", id, created_at, 6 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

1つのローカルセッションのトランスクリプトを、デフォルトでは古い順に読み取ります。