To enable the Compliance API, see the setup guide.
Set up the Compliance API로컬 세션 조회
GET/v1/compliance/apps/sessions/local/{local_session_id}
하나의 로컬 세션을 조회합니다.
응답은 목록 엔드포인트가 반환하는 것과 동일한 세션 객체이며, user.email_address도 동일한 방식으로 확인됩니다. 보존 정책은 응답이 제공될 때 적용됩니다. 모든 추론 호출이 보존 기간을 초과한 세션은 404를 반환합니다.
Path parameters
Headers
Returns
로컬 세션 조회
cURL
curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"type": "compliance_local_session",
"id": "clls_eyJ2IjoxLCJvIjoiOWEx…",
"organization_uuid": "9a1e0000-0000-0000-0000-000000000000",
"workspace_id": "wrkspc_01SvYKoWVRVHoEbwESNvzYdR",
"user": {
"id": "user_01GpKpLmNoPqRsTuVwXyZaBc",
"email_address": "engineer@example.com"
},
"product_surface": "cowork",
"created_at": "2026-07-09T14:02:11Z",
"updated_at": "2026-07-09T15:47:33Z"
}Returns Examples
Response 200
{
"type": "compliance_local_session",
"id": "clls_eyJ2IjoxLCJvIjoiOWEx…",
"organization_uuid": "9a1e0000-0000-0000-0000-000000000000",
"workspace_id": "wrkspc_01SvYKoWVRVHoEbwESNvzYdR",
"user": {
"id": "user_01GpKpLmNoPqRsTuVwXyZaBc",
"email_address": "engineer@example.com"
},
"product_surface": "cowork",
"created_at": "2026-07-09T14:02:11Z",
"updated_at": "2026-07-09T15:47:33Z"
}