To enable the Compliance API, see the setup guide.
Set up the Compliance APIOrganisationen auflisten
GET/v1/compliance/organizations
Listet Organisationen unter der übergeordneten Organisation auf.
Gibt Organisationen sortiert nach Erstellungsdatum in aufsteigender Reihenfolge zurück. Verwende
limit und page zum Paginieren: Jede Antwort enthält has_more und ein
next_page-Token, das du bei der nächsten Anfrage übergibst.
Query parameters
Headers
Returns
Organisationen auflisten
cURL
curl https://api.anthropic.com/v1/compliance/organizations \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"data": [
{
"created_at": "2025-03-12T18:22:41.123456+00:00",
"name": "Acme Corp",
"uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}Returns Examples
Response 200
{
"data": [
{
"created_at": "2025-03-12T18:22:41.123456+00:00",
"name": "Acme Corp",
"uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}