Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Codice

CodiceArtifacts

Elenca gli Artifact di Code
GET/v1/compliance/apps/code/artifacts

Elenca gli Artifact di Claude Code di proprietà delle organizzazioni sotto l'organizzazione padre.

Scarica il contenuto della versione di un Artifact di Code
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}

Streams the content of one version of an Artifact as the response body, in chunks with no Content-Length. With multi_file_format=zip, a version with more than one file, other than a Claude Doc's or a Claude Sheet's (an Artifact whose artifact_type is claude_docs or claude_sheets), comes back as a ZIP archive of its files.

Scarica il contenuto di un Artifact di Code
GET/v1/compliance/apps/code/artifacts/{artifact_id}/content

Streams an Artifact's current content as the response body, in chunks with no Content-Length.

Elimina Artifact di Code
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

Elimina definitivamente un Artifact di Code e tutte le sue versioni. Si tratta di un'operazione distruttiva che non può essere annullata. Una risposta 200 significa che l'eliminazione è avviata e l'Artifact è stato acquisito; la rimozione del contenuto viene completata in modo asincrono.