Claude Platform Docs

Organisation

Aktuelle Organisation abrufen
client.beta.organization.retrieve(options?): BetaOrganization
GET/v1/organizations/me

Ruft Informationen über die Organisation ab, die mit dem authentifizierten API-Key verknüpft ist.

Models
interface BetaApprovalRequiredErrorDetails { error_code; field }
error_code: "approval_required"
field: string

The request field that needs the approval.

interface BetaAuthorizationCheckUnavailableErrorDetails { error_code }
error_code: "authorization_check_unavailable"
interface BetaHumanReviewNotAvailableErrorDetails { error_code }
error_code: "human_review_not_available"
interface BetaOrganization { type: "organization"; id; name }
type: "organization"

Object type.

For Organizations, this is always "organization".

defaultorganization
id: string

ID of the Organization.

formatuuid
name: string

Name of the Organization.

interface BetaOrganizationNotEligibleErrorDetails { error_code }
error_code: "organization_not_eligible"
type BetaOrganizationRole = "admin" | "billing" | "claude_code_user" | 6 more
One of the following:
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"
Errors
class BetaApprovalRequiredError extends BadRequestError { errorCode; details }⁠HTTP status 400

Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.

errorCode: "approval_required"
details: BetaApprovalRequiredErrorDetails { error_code; field }
error_code: "approval_required"
field: string

The request field that needs the approval.

class BetaHumanReviewNotAvailableError extends BadRequestError { errorCode; details }⁠HTTP status 400

Human review can't be set as requested on this Workspace, so the request changed nothing. The error's message says what to do instead.

errorCode: "human_review_not_available"
error_code: "human_review_not_available"
class BetaOrganizationNotEligibleError extends BadRequestError { errorCode; details }⁠HTTP status 400

The feature isn't offered to this organization. The error's message names the kind of organization or, when it names none, says to contact your Anthropic account team.

errorCode: "organization_not_eligible"
error_code: "organization_not_eligible"
class BetaAuthorizationCheckUnavailableError extends ServiceUnavailableError { errorCode; details }⁠HTTP status 503

One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the Retry-After delay.

errorCode: "authorization_check_unavailable"
error_code: "authorization_check_unavailable"

OrganisationAPI-Keys

API-Keys auflisten
client.beta.organization.apiKeys.list(query?, options?): Page<BetaAPIKey>
GET/v1/organizations/api_keys
API-Key abrufen (Admin API)
client.beta.organization.apiKeys.retrieve(apiKeyID, options?): BetaAPIKey
GET/v1/organizations/api_keys/{api_key_id}

Ruft Informationen über einen einzelnen API-Key in deiner Organisation ab, der anhand seiner ID gesucht wird. Dieser Admin-API-Endpunkt erfordert einen Admin-API-Key, ist für die programmatische Key-Verwaltung vorgesehen und gibt niemals den geheimen Wert des Keys zurück. Um deine eigenen API-Keys anzuzeigen oder zu erstellen, gehe in der Claude Console zu API-Schlüssel.

API-Key aktualisieren
client.beta.organization.apiKeys.update(apiKeyID, body, options?): BetaAPIKey
POST/v1/organizations/api_keys/{api_key_id}

OrganisationExterne Schlüssel

Externen Schlüssel erstellen
client.beta.organization.externalKeys.create(body, options?): BetaExternalKey
POST/v1/organizations/external_keys

Erstellt eine externe Key-Konfiguration, die der Organisation des Aufrufers gehört.

Externe Schlüssel auflisten
client.beta.organization.externalKeys.list(query?, options?): PageCursor<BetaExternalKey>
GET/v1/organizations/external_keys

Listet externe Key-Konfigurationen in der Organisation des Aufrufers auf.

Externen Schlüssel abrufen
client.beta.organization.externalKeys.retrieve(externalKeyID, options?): BetaExternalKey
GET/v1/organizations/external_keys/{external_key_id}

Ruft eine einzelne externe Key-Konfiguration in der Organisation des Aufrufers anhand der ID ab.

Externen Schlüssel aktualisieren
client.beta.organization.externalKeys.update(externalKeyID, body, options?): BetaExternalKey
POST/v1/organizations/external_keys/{external_key_id}

Partially update an external key config. Omitted fields are left unchanged.

Externen Schlüssel löschen
client.beta.organization.externalKeys.delete(externalKeyID, options?): ExternalKeyDeleteResponse
DELETE/v1/organizations/external_keys/{external_key_id}

Löscht eine externe Key-Konfiguration.

Externen Schlüssel validieren
client.beta.organization.externalKeys.validate(externalKeyID, options?): ExternalKeyValidateResponse
POST/v1/organizations/external_keys/{external_key_id}/validate

Validiert eine externe Schlüsselkonfiguration gegen das KMS des Kunden.

OrganisationFöderationIssuer

Federation-Issuer erstellen
client.beta.organization.federation.issuers.create(params, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Issuer auflisten
client.beta.organization.federation.issuers.list(params?, options?): PageCursor<BetaFederationIssuer>
GET/v1/organizations/federation_issuers

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Issuer abrufen
client.beta.organization.federation.issuers.retrieve(federationIssuerID, params?, options?): BetaFederationIssuer
GET/v1/organizations/federation_issuers/{federation_issuer_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Issuer aktualisieren
client.beta.organization.federation.issuers.update(federationIssuerID, params, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers/{federation_issuer_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Issuer archivieren
client.beta.organization.federation.issuers.archive(federationIssuerID, params?, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers/{federation_issuer_id}/archive

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationFöderationRegeln

Federation-Regel erstellen
client.beta.organization.federation.rules.create(params, options?): BetaFederationRule
POST/v1/organizations/federation_rules

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Regeln auflisten
client.beta.organization.federation.rules.list(params?, options?): PageCursor<BetaFederationRule>
GET/v1/organizations/federation_rules

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Regel abrufen
client.beta.organization.federation.rules.retrieve(federationRuleID, params?, options?): BetaFederationRule
GET/v1/organizations/federation_rules/{federation_rule_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Regel aktualisieren
client.beta.organization.federation.rules.update(federationRuleID, params, options?): BetaFederationRule
POST/v1/organizations/federation_rules/{federation_rule_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Federation-Regel archivieren
client.beta.organization.federation.rules.archive(federationRuleID, params?, options?): BetaFederationRule
POST/v1/organizations/federation_rules/{federation_rule_id}/archive

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationFöderationRegelnWorkspaces

Workspace zu Federation-Regel hinzufügen
client.beta.organization.federation.rules.workspaces.add(federationRuleID, params, options?): BetaFederationRuleWorkspace
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Workspaces einer Federation-Regel auflisten
client.beta.organization.federation.rules.workspaces.list(federationRuleID, params?, options?): PageCursor<BetaFederationRuleWorkspace>
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Workspace aus Federation-Regel entfernen
client.beta.organization.federation.rules.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponse
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationEinladungen

Einladung erstellen
client.beta.organization.invites.create(body, options?): BetaOrganizationInvite
POST/v1/organizations/invites

Lädt einen Benutzer per E-Mail ein, der Organisation beizutreten.

Einladungen auflisten
client.beta.organization.invites.list(query?, options?): Page<BetaOrganizationInvite>
GET/v1/organizations/invites

Listet die Einladungen der Organisation auf.

Einladung abrufen
client.beta.organization.invites.retrieve(inviteID, options?): BetaOrganizationInvite
GET/v1/organizations/invites/{invite_id}

Ruft eine Einladung anhand der ID ab.

Einladung löschen
client.beta.organization.invites.delete(inviteID, options?): InviteDeleteResponse
DELETE/v1/organizations/invites/{invite_id}

Löscht eine ausstehende Einladung.

OrganisationService-Accounts

Service-Account erstellen
client.beta.organization.serviceAccounts.create(params, options?): BetaServiceAccount
POST/v1/organizations/service_accounts

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Accounts auflisten
client.beta.organization.serviceAccounts.list(params?, options?): PageCursor<BetaServiceAccount>
GET/v1/organizations/service_accounts

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account abrufen
client.beta.organization.serviceAccounts.retrieve(serviceAccountID, params?, options?): BetaServiceAccount
GET/v1/organizations/service_accounts/{service_account_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account aktualisieren
client.beta.organization.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccount
POST/v1/organizations/service_accounts/{service_account_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account archivieren
client.beta.organization.serviceAccounts.archive(serviceAccountID, params?, options?): BetaServiceAccount
POST/v1/organizations/service_accounts/{service_account_id}/archive

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationService-AccountsWorkspaces

Workspace zu Service-Account hinzufügen
client.beta.organization.serviceAccounts.workspaces.add(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/service_accounts/{service_account_id}/workspaces

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Workspaces eines Service-Accounts auflisten
client.beta.organization.serviceAccounts.workspaces.list(serviceAccountID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>
GET/v1/organizations/service_accounts/{service_account_id}/workspaces

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Workspace aus Service-Account entfernen
client.beta.organization.serviceAccounts.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponse
DELETE/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationExternal Storage

External Storage erstellen
client.beta.organization.externalStorage.create(params, options?): BetaExternalStorage
POST/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Registriert einen Bucket im eigenen Cloud-Konto der Organisation. Er wird als pending_configuration gespeichert und bei der Aktivierung verifiziert.

External Storage auflisten
client.beta.organization.externalStorage.list(params?, options?): PageCursor<BetaExternalStorage>
GET/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Listet die External Storage der Organisation auf, neueste zuerst.

External Storage abrufen
client.beta.organization.externalStorage.retrieve(externalStorageID, params?, options?): BetaExternalStorage
GET/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Ruft einen External Storage in der Organisation ab.

External Storage aktualisieren
client.beta.organization.externalStorage.update(externalStorageID, params, options?): BetaExternalStorage
POST/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Benennt External Storage um oder entfernt seinen Namen, in jedem Status.

External Storage löschen
client.beta.organization.externalStorage.delete(externalStorageID, params?, options?): BetaDeletedExternalStorage
DELETE/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Löscht External Storage. Speicher, dessen Konfiguration aussteht, der verfügbar ist oder der aktiv, aber nie angehängt ist, wird sofort gelöscht, es sei denn, eine Workspace-Richtlinie von Enterprise Frontier Safeguards führt ihn auf. Für anderen Speicher kommt ein 400-Fehler zurück, der angibt, was als Nächstes zu tun ist. Bei Speicher im Status draining kann dieser 400-Fehler bedeuten, dass dieses Löschen eine Entfernung gestartet hat, die nicht rückgängig gemacht werden kann. Um das zu prüfen, rufe den Speicher ab: Wenn status.removal_started true ist, lösche ihn später erneut, um den Vorgang abzuschließen.

External Storage aktivieren
client.beta.organization.externalStorage.activate(externalStorageID, params?, options?): BetaExternalStorage
POST/v1/organizations/external_storage/{external_storage_id}/activate
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Verifiziert ausstehenden External Storage und macht ihn verfügbar. Speicher, der bereits verfügbar, aktiv oder im Status „Draining“ ist, wird unverändert und ohne Prüfung zurückgegeben.

OrganisationBenutzer

Benutzer auflisten
client.beta.organization.users.list(query?, options?): Page<BetaOrganizationUser>
GET/v1/organizations/users

Listet die Mitglieder der Organisation auf.

Benutzer abrufen
client.beta.organization.users.retrieve(userID, options?): BetaOrganizationUser
GET/v1/organizations/users/{user_id}

Ruft ein Mitglied der Organisation anhand der Benutzer-ID ab.

Benutzer aktualisieren
client.beta.organization.users.update(userID, body, options?): BetaOrganizationUser
POST/v1/organizations/users/{user_id}

Aktualisiert die Organisationsrolle eines Mitglieds.

Benutzer entfernen
client.beta.organization.users.remove(userID, options?): UserRemoveResponse
DELETE/v1/organizations/users/{user_id}

Entfernt ein Mitglied aus der Organisation.

Benutzer abmelden
client.beta.organization.users.signOut(userID, params?, options?): BetaOrganizationUser
POST/v1/organizations/users/{user_id}/sign_out
Requires anthropic-beta: admin-user-sign-out-2026-10-08. Learn how to send beta headers.

Meldet ein Mitglied überall von Claude ab, ohne es aus der Organisation zu entfernen. Dadurch werden seine Anmeldesitzungen beendet und seine vertrauenswürdigen Geräte überall dort entfernt, wo es Claude verwendet, einschließlich anderer Organisationen und Einzeltarife. Außerdem werden die OAuth-Token beendet, die ihm für diese Organisation ausgestellt wurden, sodass sich Apps wie Claude Code erneut anmelden müssen.

OrganisationWorkspaces

Workspaces auflisten
client.beta.organization.workspaces.list(params?, options?): Page<BetaWorkspace>
GET/v1/organizations/workspaces
Workspace erstellen
client.beta.organization.workspaces.create(params, options?): BetaWorkspace
POST/v1/organizations/workspaces
Workspace abrufen
client.beta.organization.workspaces.retrieve(workspaceID, params?, options?): BetaWorkspace
GET/v1/organizations/workspaces/{workspace_id}
Workspace aktualisieren
client.beta.organization.workspaces.update(workspaceID, params, options?): BetaWorkspace
POST/v1/organizations/workspaces/{workspace_id}
Workspace archivieren
client.beta.organization.workspaces.archive(workspaceID, params?, options?): BetaWorkspace
POST/v1/organizations/workspaces/{workspace_id}/archive

OrganisationWorkspacesRatenlimits

Workspace-Ratenlimits auflisten
client.beta.organization.workspaces.rateLimits.list(workspaceID, query?, options?): PageCursor<BetaWorkspaceRateLimit>
GET/v1/organizations/workspaces/{workspace_id}/rate_limits

Listet die Ratenlimits eines Workspace auf.

Workspace-Ratenlimits festlegen
client.beta.organization.workspaces.rateLimits.update(rateLimitID, params, options?): BetaWorkspaceRateLimit
POST/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}

Legt Ratenlimit-Überschreibungen für eine Ratenlimit-Gruppe in einem Workspace fest oder entfernt sie.

OrganisationWorkspacesMitglieder

Workspace-Mitglieder auflisten
client.beta.organization.workspaces.members.list(workspaceID, query?, options?): Page<BetaWorkspaceMember>
GET/v1/organizations/workspaces/{workspace_id}/members
Workspace-Mitglied erstellen
client.beta.organization.workspaces.members.add(workspaceID, body, options?): BetaWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/members
Workspace-Mitglied abrufen
client.beta.organization.workspaces.members.retrieve(userID, params, options?): BetaWorkspaceMember
GET/v1/organizations/workspaces/{workspace_id}/members/{user_id}
Workspace-Mitglied aktualisieren
client.beta.organization.workspaces.members.update(userID, params, options?): BetaWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/members/{user_id}
Workspace-Mitglied löschen
client.beta.organization.workspaces.members.remove(userID, params, options?): MemberRemoveResponse
DELETE/v1/organizations/workspaces/{workspace_id}/members/{user_id}

OrganisationWorkspacesService-Accounts

Service-Account-Mitglieder eines Workspace auflisten
client.beta.organization.workspaces.serviceAccounts.list(workspaceID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>
GET/v1/organizations/workspaces/{workspace_id}/service_accounts

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, aus ant auth login --scope org:admin oder einer Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account-Mitglied eines Workspace erstellen
client.beta.organization.workspaces.serviceAccounts.add(workspaceID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/service_accounts

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, über ant auth login --scope org:admin oder eine Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account-Mitglied eines Workspace abrufen
client.beta.organization.workspaces.serviceAccounts.retrieve(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
GET/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, über ant auth login --scope org:admin oder eine Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account-Mitglied eines Workspace aktualisieren
client.beta.organization.workspaces.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, über ant auth login --scope org:admin oder eine Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

Service-Account-Mitglied eines Workspace löschen
client.beta.organization.workspaces.serviceAccounts.remove(serviceAccountID, params, options?): ServiceAccountRemoveResponse
DELETE/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

Erfordert ein OAuth-Zugriffstoken mit dem Scope org:admin, erhältlich über ant auth login --scope org:admin oder eine Workload-Identity-Federation-Regel; Admin-API-Keys werden nicht akzeptiert. Siehe WIF mit der Admin API verwalten.

OrganisationRatenlimits

Ratenlimits der Organisation auflisten
client.beta.organization.rateLimits.list(query?, options?): PageCursor<BetaOrganizationRateLimit>
GET/v1/organizations/rate_limits

Listet die Ratenlimits der Messages API für deine Organisation auf.

Compliance-Einstellungen abrufen
client.beta.organization.complianceSettings.retrieve(params?, options?): BetaComplianceSettings
GET/v1/organizations/compliance_settings

Ruft die Compliance-Einstellungen deiner Organisation ab.

Compliance-Einstellungen aktualisieren
client.beta.organization.complianceSettings.update(params, options?): BetaComplianceSettings
POST/v1/organizations/compliance_settings

Aktualisiert die Compliance-Einstellungen deiner Organisation.

OrganisationAnalysenZusammenfassungen

Aktivitätszusammenfassungen abrufen
client.beta.organization.analytics.summaries.list(query, options?): PageCursor<BetaAnalyticsSingleDayActivitySummary>
GET/v1/organizations/analytics/summaries

Ruft organisationsweite Aktivitätszusammenfassungen für einen Datumsbereich ab.

OrganisationAnalysenBenutzer

Benutzeraktivität auflisten
client.beta.organization.analytics.users.list(query?, options?): PageCursor<BetaAnalyticsUserActivity>
GET/v1/organizations/analytics/users

Ruft die Aktivität pro Benutzer für einen bestimmten Tag ab, mit Cursor-basierter Paginierung.

OrganisationAnalysenAppsChatProjekte

Chat-Projektnutzung abrufen
client.beta.organization.analytics.apps.chat.projects.list(query?, options?): PageCursor<BetaAnalyticsProjectActivity>
GET/v1/organizations/analytics/apps/chat/projects

Ruft die Aktivität pro Projekt für einen bestimmten Tag ab, mit cursorbasierter Paginierung.

OrganisationAnalysenKonnektoren

Konnektor-Nutzung abrufen
client.beta.organization.analytics.connectors.list(query?, options?): PageCursor<BetaAnalyticsConnectorActivity>
GET/v1/organizations/analytics/connectors

Ruft die Nutzung pro Konnektor für einen bestimmten Tag ab, mit Cursor-basierter Paginierung.

OrganisationAnalysenPlugins

Plugin-Nutzung abrufen
client.beta.organization.analytics.plugins.list(query?, options?): PageCursor<BetaAnalyticsPluginActivity>
GET/v1/organizations/analytics/plugins

Ruft die Installations- und Aufrufnutzung pro Plugin für einen bestimmten Tag ab, mit Paginierung.

OrganisationAnalysenSkills

Skill-Nutzung abrufen
client.beta.organization.analytics.skills.list(query?, options?): PageCursor<BetaAnalyticsSkillActivity>
GET/v1/organizations/analytics/skills

Ruft die Nutzung pro Skill für einen bestimmten Tag ab, mit Cursor-basierter Paginierung.

OrganisationAnalysenArtifacts

Artifact-Aktivität abrufen
client.beta.organization.analytics.artifacts.list(query, options?): PageCursor<BetaAnalyticsArtifactActivity>
GET/v1/organizations/analytics/artifacts

Ruft die Aktivität zur Artifact-Erstellung für einen bestimmten Tag ab, aufgeschlüsselt nach MIME-Typ.

OrganisationAnalysenNutzung

Token-Nutzung nach Dimension abrufen
client.beta.organization.analytics.usage.list(params, options?): ReportPageCursor<BetaAnalyticsUsageItem>
GET/v1/organizations/analytics/usage
Requires anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.

Get token usage across a date range, broken out by dimension.

OrganisationAnalysenKosten

Kosten nach Dimension abrufen
client.beta.organization.analytics.cost.list(params, options?): ReportPageCursor<BetaAnalyticsCostItem>
GET/v1/organizations/analytics/cost
Requires anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.

Get cost in USD across a date range, broken out by dimension.

OrganisationAnalysenNutzungsbericht

Token-Nutzung im Zeitverlauf abrufen
client.beta.organization.analytics.usageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageReportTimeBucket>
GET/v1/organizations/analytics/usage_report

[Veraltet] Ruft die Token-Nutzung im Zeitverlauf über einen Datumsbereich ab.

OrganisationAnalysenNutzungsbericht pro Benutzer

Token-Nutzung pro Benutzer abrufen
client.beta.organization.analytics.userUsageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageUsersItem>
GET/v1/organizations/analytics/user_usage_report

[Legacy] Get per-user token usage across a date range.

OrganisationAnalysenKostenbericht

Kosten im Zeitverlauf abrufen
client.beta.organization.analytics.costReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostReportTimeBucket>
GET/v1/organizations/analytics/cost_report

[Veraltet] Ruft die Kosten in USD im Zeitverlauf über einen Datumsbereich ab.

OrganisationAnalysenKostenbericht pro Benutzer

Kosten pro Benutzer abrufen
client.beta.organization.analytics.userCostReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostUsersItem>
GET/v1/organizations/analytics/user_cost_report

[Legacy] Get per-user cost in USD across a date range.

OrganisationAusgabenlimits

Ausgabenlimit festlegen
client.beta.organization.spendLimits.set(params, options?): BetaSpendLimit
POST/v1/organizations/spend_limits

Legt ein Ausgabenlimit fest.

Ausgabenlimit abrufen
client.beta.organization.spendLimits.retrieve(spendLimitID, options?): BetaSpendLimit
GET/v1/organizations/spend_limits/{spend_limit_id}

Ruft ein Ausgabenlimit anhand seiner ID ab.

Ausgabenlimit löschen
client.beta.organization.spendLimits.delete(spendLimitID, options?): SpendLimitDeleteResponse
DELETE/v1/organizations/spend_limits/{spend_limit_id}

Löscht ein Ausgabenlimit.

Ausgabenlimits auflisten
client.beta.organization.spendLimits.list(params?, options?): PageCursor<BetaSpendLimit>
GET/v1/organizations/spend_limits
Requires anthropic-beta: spend-limit-reads-2026-09-26. Learn how to send beta headers.

Listet die Ausgabenlimits der Organisation auf.

OrganisationAusgabenlimitsEffektiv

Effektive Ausgabenlimits auflisten
client.beta.organization.spendLimits.effective.list(query?, options?): PageCursor<BetaSpendSummary>
GET/v1/organizations/spend_limits/effective

Listet für jedes Mitglied das effektive Ausgabenlimit und die bisherigen Ausgaben im Zeitraum auf.

OrganisationAusgabenlimitsErhöhungsanfragen

Anfragen zur Erhöhung des Ausgabenlimits auflisten
client.beta.organization.spendLimits.increaseRequests.list(query?, options?): PageCursor<BetaSpendLimitIncreaseRequest>
GET/v1/organizations/spend_limit_increase_requests

Listet Anfragen zur Erhöhung des Ausgabenlimits auf, neueste zuerst.

Anfrage zur Erhöhung des Ausgabenlimits abrufen
client.beta.organization.spendLimits.increaseRequests.retrieve(spendLimitIncreaseRequestID, options?): BetaSpendLimitIncreaseRequest
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

Ruft eine Anfrage zur Erhöhung des Ausgabenlimits ab.

Anfrage zur Erhöhung des Ausgabenlimits genehmigen
client.beta.organization.spendLimits.increaseRequests.approve(spendLimitIncreaseRequestID, body, options?): IncreaseRequestApproveResponse
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

Genehmigt eine ausstehende Anfrage zur Erhöhung des Ausgabenlimits.

Anfrage zur Erhöhung des Ausgabenlimits ablehnen
client.beta.organization.spendLimits.increaseRequests.deny(spendLimitIncreaseRequestID, body, options?): BetaSpendLimitIncreaseRequest
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

Lehnt eine ausstehende Anfrage zur Erhöhung des Ausgabenlimits ab.

OrganisationRBAC-Gruppen

RBAC-Gruppe erstellen
client.beta.organization.rbacGroups.create(body, options?): BetaRBACGroup
POST/v1/organizations/rbac_groups

Erstellt eine RBAC-Gruppe im Claude Enterprise-Tenant. Über die API erstellte Gruppen haben den Quelltyp "direct".

RBAC-Gruppen auflisten
client.beta.organization.rbacGroups.list(query?, options?): PageCursor<BetaRBACGroup>
GET/v1/organizations/rbac_groups

Listet RBAC-Gruppen im Claude Enterprise-Tenant auf.

RBAC-Gruppe abrufen
client.beta.organization.rbacGroups.retrieve(rbacGroupID, options?): BetaRBACGroup
GET/v1/organizations/rbac_groups/{rbac_group_id}

Ruft eine RBAC-Gruppe anhand ihrer ID ab.

RBAC-Gruppe aktualisieren
client.beta.organization.rbacGroups.update(rbacGroupID, body, options?): BetaRBACGroup
POST/v1/organizations/rbac_groups/{rbac_group_id}

Aktualisiert den Namen einer RBAC-Gruppe. Von einem Identitätsanbieter bereitgestellte Gruppen (Quelltyp "scim") können nicht über die API geändert werden, solange eine Organisation im Tenant SCIM-Provisionierung verwendet.

RBAC-Gruppe löschen
client.beta.organization.rbacGroups.delete(rbacGroupID, options?): BetaDeletedRBACGroup
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

Löscht eine RBAC-Gruppe. Von einem Identitätsanbieter bereitgestellte Gruppen (Quelltyp "scim") können nicht über die API gelöscht werden, solange eine Organisation im Tenant SCIM-Provisionierung verwendet.

OrganisationRBAC-GruppenMitglieder

Mitglieder einer RBAC-Gruppe auflisten
client.beta.organization.rbacGroups.members.list(rbacGroupID, query?, options?): PageCursor<BetaRBACGroupMember>
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

Listet die Mitglieder einer RBAC-Gruppe auf.

Mitglied zu RBAC-Gruppe hinzufügen
client.beta.organization.rbacGroups.members.add(rbacGroupID, body, options?): BetaRBACGroupMember
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

Fügt einen Benutzer zu einer RBAC-Gruppe hinzu. Die Mitgliedschaft in Gruppen, die von einem Identitätsanbieter bereitgestellt werden (Quelltyp "scim"), kann nicht über die API geändert werden, solange eine Organisation im Tenant SCIM-Provisioning verwendet.

Mitglied aus RBAC-Gruppe entfernen
client.beta.organization.rbacGroups.members.remove(userID, params, options?): BetaDeletedRBACGroupMember
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

Entfernt einen Benutzer aus einer RBAC-Gruppe. Die Mitgliedschaft in Gruppen, die von einem Identitätsanbieter bereitgestellt werden (Quelltyp "scim"), kann nicht über die API geändert werden, solange eine Organisation im Tenant SCIM-Provisioning verwendet.

OrganisationRBAC-Rollen

RBAC-Rollen auflisten
client.beta.organization.rbacRoles.list(query?, options?): PageCursor<BetaRBACRole>
GET/v1/organizations/rbac_roles

Listet RBAC-Rollen in der Organisation auf.

RBAC-Rolle abrufen
client.beta.organization.rbacRoles.retrieve(rbacRoleID, options?): BetaRBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Ruft eine RBAC-Rolle anhand ihrer ID ab.

OrganisationRBAC-RollenBerechtigungen

Berechtigungen einer RBAC-Rolle auflisten
client.beta.organization.rbacRoles.permissions.list(rbacRoleID, query?, options?): PageCursor<BetaRBACRolePermission>
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Listet die Berechtigungen auf, die eine RBAC-Rolle gewährt.

OrganisationPlugins

Plugin erstellen
client.beta.organization.plugins.create(params, options?): BetaPlugin
POST/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Create an organization-owned Plugin and its first version by uploading the version's files.

Plugin abrufen
client.beta.organization.plugins.retrieve(pluginID, params?, options?): BetaPlugin
GET/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Ruft ein Plugin anhand seiner ID ab.

Plugin aktualisieren
client.beta.organization.plugins.update(pluginID, params, options?): BetaPlugin
POST/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Change which stored version of an organization-owned Plugin is served to members, for example to roll back to an earlier one. This pins the served version: later uploads through this API are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.

Plugins auflisten
client.beta.organization.plugins.list(params?, options?): PageCursor<BetaPlugin>
GET/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

List the Plugins created under the organization, newest first: those in the organization's own plugin marketplaces and those in members' personal plugin marketplaces.

Plugin löschen
client.beta.organization.plugins.delete(pluginID, params?, options?): BetaDeletedPlugin
DELETE/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belong to the organization or to a member, including a member who has since left the organization. Do not delete a Plugin only because your pipeline did not create it: a member or an administrator might have added it in claude.ai.

OrganisationPluginsVersionen

Plugin-Version erstellen
client.beta.organization.plugins.versions.create(pluginID, params, options?): BetaPluginVersion
POST/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Add a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless the Plugin's served version has been pinned.

Plugin-Versionen auflisten
client.beta.organization.plugins.versions.list(pluginID, params?, options?): PageCursor<BetaPluginVersion>
GET/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Listet die Versionen eines Plugins auf, die neuesten zuerst.

Plugin-Version abrufen
client.beta.organization.plugins.versions.retrieve(version, params, options?): BetaPluginVersion
GET/v1/organizations/plugins/{plugin_id}/versions/{version}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Ruft eine Version eines Plugins anhand ihrer ID oder die neueste Version des Plugins ab.

Archiv einer Plugin-Version herunterladen
client.beta.organization.plugins.versions.download(version, params, options?): Response
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Download one version's .zip archive, exactly as stored. Downloads of Plugins from members' personal plugin marketplaces can be recorded on the Compliance API activity feed.

OrganisationPluginsInstallationseinstellungen

Plugin-Installationseinstellungen auflisten
client.beta.organization.plugins.installationSettings.list(pluginID, params?, options?): PageCursor<BetaPluginInstallationSetting>
GET/v1/organizations/plugins/{plugin_id}/installation_settings
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Listet die Installationseinstellungen eines organisationseigenen Plugins auf, die angeben, für welche Mitglieder es bestimmt ist, die zuletzt erstellten zuerst.

Plugin-Installationseinstellung festlegen
client.beta.organization.plugins.installationSettings.set(target, params, options?): BetaPluginInstallationSetting
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Legt die Installationseinstellung eines organisationseigenen Plugins für die gesamte Organisation oder für eine RBAC-Gruppe fest oder ändert sie.

Plugin-Installationseinstellung entfernen
client.beta.organization.plugins.installationSettings.remove(target, params, options?): BetaDeletedPluginInstallationSetting
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Entfernt die eigene Installationseinstellung eines organisationseigenen Plugins für die gesamte Organisation oder für eine RBAC-Gruppe.

OrganisationPluginsFreigaben

Plugin-Freigaben auflisten
client.beta.organization.plugins.shares.list(pluginID, params?, options?): PageCursor<BetaPluginShare>
GET/v1/organizations/plugins/{plugin_id}/shares
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first.

OrganisationPlugin-Marketplaces

Plugin-Marketplaces auflisten
client.beta.organization.pluginMarketplaces.list(params?, options?): PageCursor<BetaPluginMarketplace>
GET/v1/organizations/plugin_marketplaces
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Listet die Plugin-Marketplaces auf, in denen sich Plugins befinden, die neuesten zuerst: die eigenen der Organisation und die persönlichen ihrer Mitglieder.

Plugin-Marketplace abrufen
client.beta.organization.pluginMarketplaces.retrieve(marketplaceID, params?, options?): BetaPluginMarketplace
GET/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Ruft einen Plugin-Marketplace anhand seiner ID ab.

Plugin-Marketplace aktualisieren
client.beta.organization.pluginMarketplaces.update(marketplaceID, params, options?): BetaPluginMarketplace
POST/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Legt die Standard-Installationseinstellung eines der eigenen Plugin-Marketplaces der Organisation fest. Jedes darin enthaltene Plugin ohne eigene Einstellung erhält diesen Standard als seine organisationsweite Einstellung, einschließlich später hinzugefügter Plugins.

Plugin-Marketplace-Repository validieren
client.beta.organization.pluginMarketplaces.validateRepository(params, options?): BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_repository
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Prüft, ob ein Plugin-Marketplace in einem öffentlichen GitHub-Repository in claude.ai synchronisiert werden würde, ohne ihn zu verbinden oder zu speichern.

Plugin-Marketplace-Archiv validieren
client.beta.organization.pluginMarketplaces.validateArchive(params, options?): BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_archive
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Prüft, ob ein Plugin-Marketplace, hochgeladen als .zip-Datei des Marketplace-Verzeichnisses, in claude.ai synchronisiert werden würde, ohne ihn zu verbinden oder zu speichern.

OrganisationTelemetrieziele

Telemetrieziel erstellen
client.beta.organization.telemetryDestinations.create(params, options?): BetaTelemetryDestination
POST/v1/organizations/telemetry_destinations
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Registriert ein OpenTelemetry-Ziel für die Organisation.

Telemetrieziele auflisten
client.beta.organization.telemetryDestinations.list(params?, options?): PageCursor<BetaTelemetryDestination>
GET/v1/organizations/telemetry_destinations
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Listet die Ziele der Organisation auf, die neuesten zuerst, optional nur diejenigen, die bestimmte Workspaces abdecken.

Telemetrieziel abrufen
client.beta.organization.telemetryDestinations.retrieve(destinationID, params?, options?): BetaTelemetryDestination
GET/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Liest die Konfiguration, den Status und die neuesten Zustellungsergebnisse eines Ziels.

Telemetrieziel aktualisieren
client.beta.organization.telemetryDestinations.update(destinationID, params, options?): BetaTelemetryDestination
POST/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Ändert die Einstellungen eines Telemetrieziels, seinen Status oder die Workspaces, die es abdeckt.

Telemetrieziel löschen
client.beta.organization.telemetryDestinations.delete(destinationID, params?, options?): BetaDeletedTelemetryDestination
DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Löscht ein Ziel und seine Workspace-Liste.

Telemetrieziel testen
client.beta.organization.telemetryDestinations.test(destinationID, params?, options?): BetaTelemetryDestinationTestResponse
POST/v1/organizations/telemetry_destinations/{destination_id}/test
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Sendet einen Test-Span namens anthropic.test mit den registrierten Headern an das Ziel, einmalig und ohne Wiederholungen, und meldet die Antwort des Ziels. Die Antwort ist 200, unabhängig davon, ob das Ziel mit einem 2xx-Status geantwortet hat: Ihr result hat den Typ success oder den Typ failure mit dem Grund in error. Die Konfiguration, state und delivery_health des Ziels ändern sich nicht. Auch ein deaktiviertes Ziel kann getestet werden. Warte 10 Sekunden zwischen Tests desselben Ziels; eine früher eintreffende Anfrage kann mit Status 429 beantwortet werden.

OrganisationTelemetriezieleWorkspaces

Workspaces eines Telemetrieziels auflisten
client.beta.organization.telemetryDestinations.workspaces.list(destinationID, params?, options?): PageCursor<BetaTelemetryDestinationWorkspace>
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Listet die Workspaces auf der Workspace-Liste eines Ziels auf, den neuesten Eintrag zuerst.

Workspace zu einem Telemetrieziel hinzufügen
client.beta.organization.telemetryDestinations.workspaces.add(workspaceID, params, options?): BetaTelemetryDestinationWorkspace
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Fügt der Workspace-Liste eines Ziels einen Workspace hinzu.

Workspace aus einem Telemetrieziel entfernen
client.beta.organization.telemetryDestinations.workspaces.remove(workspaceID, params, options?): BetaDeletedTelemetryDestinationWorkspace
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

Entfernt einen Workspace aus der Workspace-Liste eines Ziels.

OrganisationWebhooks

Organisations-Webhook-Endpunkt erstellen
client.beta.organization.webhooks.create(params, options?): BetaNewOrganizationWebhookEndpoint
POST/v1/organizations/webhooks
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Erstellt einen Organisations-Webhook-Endpunkt.

Organisations-Webhook-Endpunkte auflisten
client.beta.organization.webhooks.list(params?, options?): Page<BetaOrganizationWebhookEndpoint>
GET/v1/organizations/webhooks
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Listet die Webhook-Endpunkte der Organisation auf.

Organisations-Webhook-Endpunkt abrufen
client.beta.organization.webhooks.retrieve(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpoint
GET/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Ruft einen Organisations-Webhook-Endpunkt anhand seiner ID ab.

Organisations-Webhook-Endpunkt aktualisieren
client.beta.organization.webhooks.update(webhookEndpointID, params, options?): BetaOrganizationWebhookEndpoint
POST/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Aktualisiert einen Organisations-Webhook-Endpunkt. Nur die Felder, die du sendest, werden geändert.

Organisations-Webhook-Endpunkt löschen
client.beta.organization.webhooks.delete(webhookEndpointID, params?, options?): BetaDeletedOrganizationWebhookEndpoint
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Löscht einen Organisations-Webhook-Endpunkt.

Signatur-Secret eines Organisations-Webhook-Endpunkts neu generieren
client.beta.organization.webhooks.regenerateSigningSecret(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpointSigningSecret
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

Ersetzt das Signatur-Secret eines Organisations-Webhook-Endpunkts. Das alte Secret funktioniert ab sofort nicht mehr. Das neue Secret wird nur in dieser Antwort zurückgegeben.

OrganisationClaude CodeManaged SettingsConfiguration

Get Claude Code Managed Settings Configuration
client.beta.organization.claudeCode.managedSettings.configuration.retrieve(params?, options?): BetaClaudeCodeManagedSettingsConfiguration
GET/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve the organization's Claude Code managed settings mode and RBAC Group order.

Update Claude Code Managed Settings Configuration
client.beta.organization.claudeCode.managedSettings.configuration.update(params, options?): BetaClaudeCodeManagedSettingsConfiguration
POST/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Change the organization's Claude Code managed settings mode, the RBAC Group order, or both, in one atomic write.

OrganisationClaude CodeManaged SettingsRBAC-Gruppen

List RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.list(params?, options?): PageCursor<BetaClaudeCodeRBACGroupManagedSettingsSummary>
GET/v1/organizations/claude_code/managed_settings/rbac_groups
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

List the RBAC Groups that have Claude Code managed settings, highest precedence first.

Get RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.retrieve(rbacGroupID, params?, options?): BetaClaudeCodeRBACGroupManagedSettings
GET/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve an RBAC Group's Claude Code managed settings.

Set RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.set(rbacGroupID, params, options?): BetaClaudeCodeRBACGroupManagedSettings
POST/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Create or replace an RBAC Group's Claude Code managed settings.

Delete RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.delete(rbacGroupID, params?, options?): BetaDeletedClaudeCodeRBACGroupManagedSettings
DELETE/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Delete an RBAC Group's Claude Code managed settings and remove the group from rbac_group_order.

OrganisationClaude CodeManaged SettingsRBAC Group Default

Get RBAC Group Default Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroupDefault.retrieve(params?, options?): BetaClaudeCodeRBACGroupDefaultManagedSettings
GET/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve the default Claude Code managed settings, which members who belong to no RBAC Group in rbac_group_order receive in rbac_groups mode.

Update RBAC Group Default Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroupDefault.update(params, options?): BetaClaudeCodeRBACGroupDefaultManagedSettings
POST/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Set or replace the default Claude Code managed settings, or clear them with null.

OrganisationClaude TagSlack-Kanäle

Slack-Kanal einrichten
client.beta.organization.claudeTag.slackChannels.create(params, options?): BetaClaudeTagSlackChannel
POST/v1/organizations/claude_tag/slack_channels
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Richte einen Slack-Kanal für Claude Tag ein und gib ihn mit seiner Kennung zurück. Wenn der Kanal bereits eingerichtet ist, sei es in claude.ai, durch Claudes erste Nutzung darin oder durch eine frühere Anfrage, wird der vorhandene Kanal zurückgegeben, sodass die Anfrage wiederholt werden kann. settings wird, falls gesendet, so angewendet, wie eine Aktualisierung es anwendet. Bevor ein Kanal eingerichtet wird, bestätigt Claudes Slack-App bei Slack, dass sich der Kanal im Workspace befindet, nicht archiviert ist und für die App sichtbar ist. Ein Kanal, der diese Bestätigung nicht besteht, gibt 404 zurück. Das Einrichten des Kanals und das Anwenden von settings sind zwei Schritte: Wird der zweite abgelehnt, ist die Antwort die Ablehnung, der Kanal bleibt mit keiner gesetzten Einstellung eingerichtet, und details.slack_channel_id des Fehlers enthält die Kennung des Kanals.

Slack-Kanäle auflisten
client.beta.organization.claudeTag.slackChannels.list(params, options?): PageCursor<BetaClaudeTagSlackChannel>
GET/v1/organizations/claude_tag/slack_channels
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Liste die eingerichteten Slack-Kanäle eines Slack-Workspace auf, die neuesten zuerst nach created_at. Ein nicht eingerichteter Kanal wird nicht aufgelistet: Die vollständige Liste der Kanäle eines Workspace liegt bei Slack. Übergib zusätzlich slack_channel_id, um einen Kanal anhand seiner Slack-Kennungen nachzuschlagen: data enthält dann diesen Kanal oder ist leer, wenn er nicht eingerichtet ist, und limit und page werden ignoriert. Ein Workspace, den die Organisation nur über ein Slack Enterprise Grid besitzt, gibt 404 zurück, bis er eingerichtet ist. Mit include_inherited=true enthält settings jedes Kanals das, was darin gilt, und die Anfrage schlägt mit 503 fehl, statt gegen eine Einstellungsebene aufzulösen, die nicht gelesen werden konnte. Ein page-Cursor setzt nur eine Anfrage mit demselben include_inherited fort.

Slack-Kanal abrufen
client.beta.organization.claudeTag.slackChannels.retrieve(id, params?, options?): BetaClaudeTagSlackChannel
GET/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Rufe einen Slack-Kanal und seine Einstellungen ab. Standardmäßig enthält settings das, was der Kanal selbst speichert: Eine Einstellung, die dort null ist, ist für den Kanal nicht gesetzt und wird geerbt. Mit include_inherited=true enthält settings das, was im Kanal gilt, nachdem die darüberliegenden Einstellungsebenen berücksichtigt wurden, und die Anfrage schlägt mit 503 fehl, statt gegen eine Einstellungsebene aufzulösen, die nicht gelesen werden konnte. In beiden Fällen nennt sources die Einstellungsebene, aus der jeder Wert stammt. Ein Aufrufer unterscheidet den eigenen Wert des Kanals von einem geerbten also anhand seiner Quelle, nicht daran, ob er null ist.

Slack-Kanal aktualisieren
client.beta.organization.claudeTag.slackChannels.update(id, params, options?): BetaClaudeTagSlackChannel
POST/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Ändere die Einstellungen, die ein Slack-Kanal speichert. Die Aktualisierung ist partiell: Eine ausgelassene Einstellung bleibt unverändert, und eine als null gesendete Einstellung wird gelöscht, sodass der Kanal sie erbt. Wird ein Wert abgelehnt, wird keine Einstellung aus der Anfrage gespeichert. Eine Gruppen-Direktnachricht nimmt keine Einstellungen an und gibt 400 zurück.

Slack-Kanal entfernen
client.beta.organization.claudeTag.slackChannels.delete(id, params?, options?): BetaClaudeTagDeletedSlackChannel
DELETE/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Entferne einen Slack-Kanal aus Claude Tag. Dadurch werden die gespeicherten Einstellungen des Kanals und seine Bundle-Ziele sofort gelöscht und anschließend im Hintergrund die Sitzungen des Kanals samt ihren Transkripten, sein Gedächtnis, seine Routinen und die daraus veröffentlichten Artefakte. Nichts davon kann wiederhergestellt werden. Der Kanal in Slack und seine Nachrichten bleiben unverändert. Die Anfrage wird mit 400 und error.details.error_code slack_channel_enabled abgelehnt, solange enabled für den Kanal zu true aufgelöst wird, wie es ein Lesevorgang mit include_inherited=true zurückgibt: Setze enabled für den Kanal zuerst auf false. Das schützt davor, einen genutzten Kanal versehentlich zu entfernen. Es ist keine Möglichkeit, Claude fernzuhalten, denn beim Entfernen wird das eigene enabled: false des Kanals zusammen mit seinen anderen Einstellungen gelöscht. Danach erbt der Kanal wieder, und Claudes nächste Nutzung kann ihn mit einer neuen Kennung neu einrichten. Die Kennung gibt 404 zurück, sobald die Anfrage zurückkehrt, daher gibt ein wiederholtes Entfernen 404 zurück. Eine Gruppen-Direktnachricht gibt 400 zurück, ebenso ein Kanal, der Konfiguration enthält, die diese API nicht verwaltet.

OrganisationClaude TagSlack-Workspaces

Slack-Workspaces auflisten
client.beta.organization.claudeTag.slackWorkspaces.list(params?, options?): PageCursor<BetaClaudeTagSlackWorkspace>
GET/v1/organizations/claude_tag/slack_workspaces
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Liste die eingerichteten Slack-Workspaces auf, die der Organisation gehören, die neuesten zuerst nach created_at. Übergib slack_workspace_id, um einen Workspace anhand seiner Slack-Kennung nachzuschlagen: data enthält dann diesen Workspace oder ist leer, wenn er nicht eingerichtet ist. Ein Workspace eines Slack Enterprise Grid, das die Organisation verbunden hat, gibt 404 zurück, bis er eingerichtet ist. Mit include_inherited=true enthält settings jedes Workspace das, was darin gilt, und die Anfrage schlägt mit 503 fehl, statt gegen eine Einstellungsebene aufzulösen, die nicht gelesen werden konnte. Ein page-Cursor setzt nur eine Anfrage mit demselben include_inherited fort.

Slack-Workspace abrufen
client.beta.organization.claudeTag.slackWorkspaces.retrieve(id, params?, options?): BetaClaudeTagSlackWorkspace
GET/v1/organizations/claude_tag/slack_workspaces/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Rufe einen Slack-Workspace und seine Einstellungen ab. Standardmäßig enthält settings das, was der Workspace selbst speichert: Eine Einstellung, die dort null ist, ist für den Workspace nicht gesetzt und wird geerbt. Mit include_inherited=true enthält settings das, was im Workspace gilt, nachdem die Slack-Standards der Organisation berücksichtigt wurden, und die Anfrage schlägt mit 503 fehl, statt gegen eine Einstellungsebene aufzulösen, die nicht gelesen werden konnte. In beiden Fällen nennt sources die Einstellungsebene, aus der jeder Wert stammt.

Slack-Workspace aktualisieren
client.beta.organization.claudeTag.slackWorkspaces.update(id, params, options?): BetaClaudeTagSlackWorkspace
POST/v1/organizations/claude_tag/slack_workspaces/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Ändere die Einstellungen, die ein Slack-Workspace speichert. Die Aktualisierung ist partiell: Eine ausgelassene Einstellung bleibt unverändert, und eine als null gesendete Einstellung wird gelöscht, sodass der Workspace sie erbt. Wird ein Wert abgelehnt, wird keine Einstellung aus der Anfrage gespeichert.

OrganisationClaude TagBundles

Bundles auflisten
client.beta.organization.claudeTag.bundles.list(params?, options?): PageCursor<BetaClaudeTagBundle>
GET/v1/organizations/claude_tag/bundles
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Liste die Bundles der Organisation auf, die neuesten zuerst nach created_at. Ein Bundle, das Claude Tag für sich selbst verwaltet, wird nicht aufgelistet.

Bundle abrufen
client.beta.organization.claudeTag.bundles.retrieve(bundleID, params?, options?): BetaClaudeTagBundle
GET/v1/organizations/claude_tag/bundles/{bundle_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Rufe ein Bundle ab. Was das Bundle gewährt (Connectors, Repositories und Anmeldedaten), wird nie zurückgegeben.

Update Bundle
client.beta.organization.claudeTag.bundles.update(bundleID, params, options?): BetaClaudeTagBundle
POST/v1/organizations/claude_tag/bundles/{bundle_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Change a Bundle's instructions. The update is partial: a field left out is unchanged, and instructions sent as null or as an empty string clears them. The later of two updates wins. Sessions that start after the change use the new instructions; sessions already running keep the ones they started with. Some Bundles are managed in claude.ai, and an update of one returns 400.

OrganisationClaude TagBundlesZiele

Bundle-Ziele auflisten
client.beta.organization.claudeTag.bundles.targets.list(bundleID, params?, options?): PageCursor<BetaClaudeTagBundleTarget>
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Liste die Slack-Kanäle und Slack-Workspaces auf, an die ein Bundle angehängt ist, die neuesten zuerst nach created_at. Nur Kanäle und Workspaces, die der Organisation gehören, werden aufgelistet. Ein Bundle, das an etwas anderes angehängt ist, hat dafür kein Bundle-Ziel.

Bundle anhängen
client.beta.organization.claudeTag.bundles.targets.create(bundleID, params, options?): BetaClaudeTagBundleTarget
POST/v1/organizations/claude_tag/bundles/{bundle_id}/targets
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Hänge ein Bundle an einen Slack-Kanal oder einen Slack-Workspace an. Ein an einen Workspace angehängtes Bundle kann im Workspace und in jedem seiner Kanäle verwendet werden. Das Anhängen eines Bundles an einen Kanal oder Workspace, an den es bereits angehängt ist, gibt das vorhandene Bundle-Ziel zurück. Der Kanal oder Workspace muss eingerichtet sein: Durch das Anhängen wird nie ein Kanal eingerichtet. Eine Gruppen-Direktnachricht nimmt kein Bundle an und gibt 400 zurück.

Bundle-Ziel abrufen
client.beta.organization.claudeTag.bundles.targets.retrieve(targetID, params, options?): BetaClaudeTagBundleTarget
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Rufe ein Bundle-Ziel ab. Gibt 404 zurück, wenn target_id die Kennung des Bundle-Ziels eines anderen Bundles ist oder das Bundle-Ziel abgehängt wurde.

Bundle abhängen
client.beta.organization.claudeTag.bundles.targets.delete(targetID, params, options?): BetaClaudeTagDeletedBundleTarget
DELETE/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Hänge ein Bundle von einem Slack-Kanal oder einem Slack-Workspace ab. Ein wiederholtes Abhängen gibt 404 zurück.