Models

Anthropic Adds Admin API to All Official SDKs and CLI

Anthropic has integrated its Admin API directly into its official SDKs and command-line tool, allowing developers to automate team management and key auditing without writing custom HTTP requests.

AlphaSignal1 day agoModels
Image: AlphaSignal

Anthropic has integrated its Admin API directly into its official software development kits and the ant command-line tool. Developers can now manage organization settings using the same client libraries they use for Claude Messages, eliminating the need to write custom curl requests against the organization endpoints. The update brings administrative capabilities to Python, TypeScript, C#, Go, Java, PHP, and Ruby under the client.beta.organization namespace, while the CLI exposes them via ant beta:organization.

The newly integrated endpoints allow administrators to programmatically handle routine tasks such as onboarding, offboarding, and workspace access. Users can list, update, or remove organization members, manage workspace roles, and read usage, cost reports, and rate limits. For security reasons, certain actions remain restricted: new API keys must still be generated through the Claude Console, and administrators cannot be removed via the API. Additionally, organization invites expire after 21 days, and each organization is capped at 100 active workspaces.

To authenticate, developers can use an admin API key starting with sk-ant-admin or an OAuth bearer token with the org:admin scope. Advanced features like service accounts and Workload Identity Federation require the OAuth token. For developers using the Claude Platform on AWS, availability is limited. AWS users can only access workspace endpoints, meaning member management, invites, and reports remain unavailable on that platform.

By folding these administrative tools into the official SDKs, Anthropic provides developers with the same built-in retry logic, pagination, and error handling they rely on for AI inference. This simplifies the process of syncing external identity providers like Okta with Anthropic workspaces, turning what used to be a manual console task or a complex custom script into a few lines of standard code.

This is our own summary of reporting by AlphaSignal

More in Models