Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Remote

Elenca le sessioni remote
GET/v1/compliance/apps/sessions/remote

Elenca le sessioni remote (sessioni Cowork eseguite in ambienti cloud gestiti da Anthropic) nelle organizzazioni che la chiave può leggere.

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.

RemoteMessaggi

Recupera i messaggi della sessione remota
GET/v1/compliance/apps/sessions/remote/{claude_remote_session_id}/messages

Recupera la trascrizione di una sessione remota: prompt dell'utente, risposte dell'assistente, chiamate agli strumenti e relativi risultati. I blocchi di ragionamento e le immagini non sono inclusi.