Anthropic Organizations API

The Organizations API from Anthropic — 43 operation(s) for organizations.

Operations 68

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/organizations/api_keys/{api_key_id}?beta=true Look up an API key's details · Get API Key #
Ask an LLM
“What can I see about one of my organization's API keys, like its name and status?”
“Is there a way to check whether a specific Claude API key is still active?”
Tell an agent
Show me the details of API key {api_key_id}.
Check the status of API key {api_key_id}.
POST /v1/organizations/api_keys/{api_key_id}?beta=true Rename or deactivate an API key · Update API Key #
Ask an LLM
“Can I rename an existing API key without rotating it?”
“How do I disable an API key that leaked but keep its record?”
Tell an agent
Rename API key {api_key_id} to {name}.
Set the status of API key {api_key_id} to {status}.
GET /v1/organizations/api_keys?beta=true List the organization's API keys · List API Keys #
Ask an LLM
“Which API keys exist across my Anthropic organization?”
“Can I see only the API keys that belong to one workspace?”
Tell an agent
List all API keys in my organization.
List the API keys in workspace {workspace_id}.
GET /v1/organizations/cost_report?beta=true Get the organization's cost report · Get Cost Report #
Ask an LLM
“How much has my organization spent on the API since the start of the month?”
“Can I break down our spend by workspace or description in daily buckets?”
Tell an agent
Get our cost report starting {starting_at}.
Show spending from {starting_at} to {ending_at} grouped by {group_by}.
POST /v1/organizations/external_keys/{external_key_id}/validate?beta=true Test an external KMS key config · Validate External Key #
Ask an LLM
“How can I confirm that Anthropic can actually encrypt and decrypt with my KMS key?”
“What happens if the KMS roundtrip check times out?”
Tell an agent
Validate external key config {external_key_id} against our KMS.
Run an encrypt/decrypt roundtrip test on external key {external_key_id}.
GET /v1/organizations/external_keys/{external_key_id}?beta=true Retrieve an external key config · Get External Key #
Ask an LLM
“Where can I see the settings of a customer-managed encryption key config?”
“Which geo and KMS provider does one of my external key configs use?”
Tell an agent
Show external key config {external_key_id}.
Fetch the KMS provider details for external key {external_key_id}.
POST /v1/organizations/external_keys/{external_key_id}?beta=true Edit an external key config · Update External Key #
Ask an LLM
“Can I change the KMS provider config after a workspace already uses the key?”
“Is the display name of an external key config always editable?”
Tell an agent
Rename external key config {external_key_id} to {display_name}.
Replace the KMS provider config on external key {external_key_id} with {provider_config}.
DELETE /v1/organizations/external_keys/{external_key_id}?beta=true Delete an external key config · Delete External Key #
Ask an LLM
“Why would deleting an external key config be rejected?”
“Can I remove a customer-managed key config nobody references anymore?”
Tell an agent destructive · confirm first
Delete external key config {external_key_id}.
Remove the unused CMEK config {external_key_id} from our organization.
POST /v1/organizations/external_keys?beta=true Register a customer-managed KMS key · Create External Key #
Ask an LLM
“How do I bring my own KMS key to encrypt Anthropic workspace data?”
“Which data residency geo can an external key config use?”
Tell an agent
Create an external key config with provider config {provider_config}.
Register KMS key {provider_config} as external key {display_name} in geo {geo}.
GET /v1/organizations/external_keys?beta=true List external key configs · List External Keys #
Ask an LLM
“What customer-managed encryption key configs does my organization have?”
“Are external key configs returned newest first?”
Tell an agent
List our external key configs.
Show the first {limit} CMEK configs in the organization.
POST /v1/organizations/federation_issuers/{federation_issuer_id}/archive?beta=true Archive a federation issuer · Archive Federation Issuer #
Ask an LLM
“How do I stop trusting an OIDC issuer for workload identity federation?”
“Why can't I archive an issuer that live federation rules still reference?”
Tell an agent destructive · confirm first
Archive federation issuer {federation_issuer_id}.
Stop trusting OIDC issuer {federation_issuer_id} for workload identity.
GET /v1/organizations/federation_issuers/{federation_issuer_id}?beta=true Retrieve a federation issuer · Get Federation Issuer #
Ask an LLM
“What issuer URL and JWKS settings does one of my trusted OIDC issuers have?”
“Can I look up a single federation issuer by its fdis ID?”
Tell an agent
Show federation issuer {federation_issuer_id}.
Get the JWKS and issuer URL configured on {federation_issuer_id}.
POST /v1/organizations/federation_issuers/{federation_issuer_id}?beta=true Edit a federation issuer · Update Federation Issuer #
Ask an LLM
“How do I re-enable JWKS polling after it was paused for an issuer?”
“Can I shorten the maximum JWT lifetime accepted from an existing issuer?”
Tell an agent
Change the max JWT lifetime of issuer {federation_issuer_id} to {max_jwt_lifetime_seconds} seconds.
Update the issuer URL of {federation_issuer_id} to {issuer_url}.
POST /v1/organizations/federation_issuers?beta=true Register an OIDC federation issuer · Create Federation Issuer #
Ask an LLM
“How do I let my CI system's OIDC tokens authenticate to the Claude API without keys?”
“What is the default max JWT lifetime for a new trusted issuer?”
Tell an agent
Register OIDC issuer {issuer_url} as federation issuer {name}.
Trust issuer {issuer_url} named {name} with JWKS config {jwks}.
GET /v1/organizations/federation_issuers?beta=true List federation issuers · List Federation Issuers #
Ask an LLM
“Which OIDC issuers does my organization trust for workload identity federation?”
“Can I include archived federation issuers when listing them?”
Tell an agent
List our federation issuers.
List federation issuers including archived ones: {include_archived}.
POST /v1/organizations/federation_rules/{federation_rule_id}/archive?beta=true Archive a federation rule · Archive Federation Rule #
Ask an LLM
“How do I immediately stop token exchange through a workload identity rule?”
“Is archiving a federation rule idempotent?”
Tell an agent destructive · confirm first
Archive federation rule {federation_rule_id}.
Shut off token exchange through rule {federation_rule_id}.
DELETE /v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}?beta=true Disable a federation rule for a workspace · Remove Federation Rule Workspace #
Ask an LLM
“Can I turn off a federation rule for just one workspace?”
“Does disabling a rule in a workspace fail if it was already removed?”
Tell an agent destructive · confirm first
Disable federation rule {federation_rule_id} in workspace {workspace_id}.
Remove workspace {workspace_id} from the enablements of rule {federation_rule_id}.
POST /v1/organizations/federation_rules/{federation_rule_id}/workspaces?beta=true Enable a federation rule in a workspace · Add Federation Rule Workspace #
Ask an LLM
“How do I extend an existing federation rule to another workspace?”
“What happens if I enable a rule in a workspace where it's already on?”
Tell an agent
Enable federation rule {federation_rule_id} for workspace {workspace_id}.
Add workspace {workspace_id} to rule {federation_rule_id}.
GET /v1/organizations/federation_rules/{federation_rule_id}/workspaces?beta=true List workspaces a federation rule is enabled in · List Federation Rule Workspaces #
Ask an LLM
“In which workspaces is a given federation rule enabled?”
“Does the workspace enablement list for a rule come back in one response?”
Tell an agent
List the workspaces where federation rule {federation_rule_id} is enabled.
Show workspace enablements for rule {federation_rule_id}.
GET /v1/organizations/federation_rules/{federation_rule_id}?beta=true Retrieve a federation rule · Get Federation Rule #
Ask an LLM
“What does a specific workload identity federation rule match and which service account does it target?”
“Can I fetch a rule by its fdrl ID to review its OAuth scopes?”
Tell an agent
Show federation rule {federation_rule_id}.
Get the match conditions and target of rule {federation_rule_id}.
POST /v1/organizations/federation_rules/{federation_rule_id}?beta=true Edit a federation rule · Update Federation Rule #
Ask an LLM
“Can I change which OAuth scopes a federation rule grants on minted tokens?”
“Is a rule's issuer immutable once it's created?”
Tell an agent
Set the token lifetime of rule {federation_rule_id} to {token_lifetime_seconds} seconds.
Change the OAuth scopes on rule {federation_rule_id} to {oauth_scope}.
POST /v1/organizations/federation_rules?beta=true Create a workload identity federation rule · Create Federation Rule #
Ask an LLM
“How do I map tokens from a trusted issuer to a service account?”
“Can one federation rule apply to every workspace, including future ones?”
Tell an agent
Create federation rule {name} on issuer {issuer_id} matching {match}, targeting {target} with scopes {oauth_scope}.
Add a rule {name} for issuer {issuer_id} that applies to all workspaces: {applies_to_all_workspaces}, match {match}, target {target}, scopes {oauth_scope}.
GET /v1/organizations/federation_rules?beta=true List federation rules · List Federation Rules #
Ask an LLM
“Which workload identity federation rules are set up in my organization?”
“Can I see only the rules that reference one issuer?”
Tell an agent
List our federation rules.
List federation rules that use issuer {issuer_id}.
GET /v1/organizations/invites/{invite_id}?beta=true Look up an organization invite · Get Invite #
Ask an LLM
“Has the person I invited to my organization accepted yet?”
“What role was a particular invite issued with?”
Tell an agent
Show invite {invite_id}.
Check the status of organization invite {invite_id}.
DELETE /v1/organizations/invites/{invite_id}?beta=true Cancel a pending invite · Delete Invite #
Ask an LLM
“Can I take back an invitation before someone accepts it?”
“What happens to a pending invite I delete?”
Tell an agent destructive · confirm first
Delete pending invite {invite_id}.
Revoke the organization invitation {invite_id}.
POST /v1/organizations/invites?beta=true Invite someone to the organization · Create Invite #
Ask an LLM
“How do I invite a colleague to our Anthropic Console organization?”
“What happens when there are no free seats left for a new invite?”
Tell an agent
Invite {email} to the organization as {role}.
Send an invite to {email} with role {role} and RBAC groups {rbac_group_ids}.
GET /v1/organizations/invites?beta=true List organization invites · List Invites #
Ask an LLM
“Which invitations to my organization are still pending?”
“Can I find the invite sent to a particular email address?”
Tell an agent
List all invites for my organization.
Find invites sent to {email}.
GET /v1/organizations/me?beta=true Show which organization this key belongs to · Get Current Organization #
Ask an LLM
“Which organization is my admin API key tied to?”
“What's the name and ID of the org I'm authenticated against?”
Tell an agent
Show the organization for my current API key.
Tell me which org I'm authenticated as.
GET /v1/organizations/rate_limits?beta=true List the organization's rate limits · List Organization Rate Limits #
Ask an LLM
“What are my organization's rate limits for a given model?”
“Can I see the limits on API-surface groups like Message Batches or the Files API?”
Tell an agent
List our organization's Messages API rate limits.
Show the org rate limits that apply to model {model}.
POST /v1/organizations/service_accounts/{service_account_id}/archive?beta=true Archive a service account · Archive Service Account #
Ask an LLM
“How do I retire a service account used for workload identity?”
“Why is archiving a service account rejected while rules still target it?”
Tell an agent destructive · confirm first
Archive service account {service_account_id}.
Retire workload identity service account {service_account_id}.
DELETE /v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}?beta=true Remove a service account from a workspace, by account · Remove Workspace From Service Account #
Ask an LLM
“Starting from a service account, how do I take away its access to one workspace?”
“Can I drop a workspace from a service account's memberships?”
Tell an agent destructive · confirm first
Take workspace {workspace_id} away from service account {service_account_id}.
Drop service account {service_account_id}'s membership in {workspace_id}.
GET /v1/organizations/service_accounts/{service_account_id}/workspaces?beta=true List a service account's workspaces · List Workspaces For Service Account #
Ask an LLM
“Which workspaces is a given service account a member of?”
“What role does a service account hold in each of its workspaces?”
Tell an agent
List the workspaces service account {service_account_id} belongs to.
Show every workspace role held by service account {service_account_id}.
POST /v1/organizations/service_accounts/{service_account_id}/workspaces?beta=true Grant a service account a workspace, by account · Add Workspace To Service Account #
Ask an LLM
“Starting from a service account, can I give it access to another workspace?”
“Which role should I pass when attaching a workspace to a service account?”
Tell an agent
Give service account {service_account_id} access to workspace {workspace_id} as {workspace_role}.
Attach workspace {workspace_id} to service account {service_account_id} with role {workspace_role}.
GET /v1/organizations/service_accounts/{service_account_id}?beta=true Retrieve a service account · Get Service Account #
Ask an LLM
“What's the org role and description of a particular service account?”
“Can I look up a service account by its svac ID?”
Tell an agent
Show service account {service_account_id}.
Get details for workload identity {service_account_id}.
POST /v1/organizations/service_accounts/{service_account_id}?beta=true Change a service account's role or description · Update Service Account #
Ask an LLM
“Can I rename a service account, or only change its description and role?”
“How do I promote a service account to a different organization role?”
Tell an agent
Change the org role of service account {service_account_id} to {organization_role}.
Update the description of service account {service_account_id} to {description}.
POST /v1/organizations/service_accounts?beta=true Create a service account · Create Service Account #
Ask an LLM
“How do I create a named workload identity for federation rules to target?”
“What organization role does a new service account get by default?”
Tell an agent
Create service account {name}.
Create service account {name} with org role {organization_role} and description {description}.
GET /v1/organizations/service_accounts?beta=true List service accounts · List Service Accounts #
Ask an LLM
“What service accounts exist in my organization?”
“Are archived service accounts hidden by default?”
Tell an agent
List our service accounts.
List service accounts, including archived ones: {include_archived}.
POST /v1/organizations/tunnels/{tunnel_id}/archive?beta=true Archive a tunnel via the admin endpoint · Archive Tunnel #
Ask an LLM
“Can I still archive an MCP tunnel through the deprecated admin tunnels endpoint?”
“Is the organization-level tunnel archive call being retired?”
Tell an agent destructive · confirm first
Archive tunnel {tunnel_id} using the admin endpoint.
Shut down org tunnel {tunnel_id}.
POST /v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}/archive?beta=true Archive a tunnel CA certificate (admin) · Archive Tunnel Certificate #
Ask an LLM
“How do I stop trusting one CA certificate on a tunnel from the admin API?”
“Can I retire an old tunnel certificate without archiving the tunnel?”
Tell an agent destructive · confirm first
Archive certificate {certificate_id} on tunnel {tunnel_id}.
Retire CA cert {certificate_id} from org tunnel {tunnel_id}.
GET /v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}?beta=true Retrieve a tunnel certificate (admin) · Get Tunnel Certificate #
Ask an LLM
“Where can I see one CA certificate registered on a tunnel?”
“Is a particular tunnel certificate archived or still trusted?”
Tell an agent
Show certificate {certificate_id} on tunnel {tunnel_id}.
Fetch tunnel {tunnel_id}'s CA certificate {certificate_id}.
POST /v1/organizations/tunnels/{tunnel_id}/certificates?beta=true Register a CA certificate on a tunnel (admin) · Create Tunnel Certificate #
Ask an LLM
“How do I upload a CA certificate so Anthropic trusts my tunnel gateway?”
“Can the PEM I register contain a private key?”
Tell an agent
Register CA certificate {ca_certificate_pem} on tunnel {tunnel_id}.
Add this PEM CA cert to org tunnel {tunnel_id}: {ca_certificate_pem}.
GET /v1/organizations/tunnels/{tunnel_id}/certificates?beta=true List a tunnel's certificates (admin) · List Tunnel Certificates #
Ask an LLM
“Which CA certificates are registered on one of my tunnels?”
“Can I include archived certificates when listing a tunnel's certs?”
Tell an agent
List the certificates on tunnel {tunnel_id}.
List all certificates on tunnel {tunnel_id}, archived included: {include_archived}.
POST /v1/organizations/tunnels/{tunnel_id}/reveal_token?beta=true Reveal a tunnel's connector token (admin) · Reveal Tunnel Token #
Ask an LLM
“How do I get the connector token for an existing tunnel?”
“Does revealing a tunnel token change it?”
Tell an agent
Reveal the connector token for tunnel {tunnel_id}.
Show me tunnel {tunnel_id}'s current token.
POST /v1/organizations/tunnels/{tunnel_id}/rotate_token?beta=true Rotate a tunnel's connector token (admin) · Rotate Tunnel Token #
Ask an LLM
“What should I do if a tunnel connector token was exposed?”
“Does rotating a tunnel token break new connections using the old one?”
Tell an agent destructive · confirm first
Rotate the connector token on tunnel {tunnel_id}.
Issue a fresh token for org tunnel {tunnel_id} and invalidate the old one.
GET /v1/organizations/tunnels/{tunnel_id}?beta=true Retrieve a tunnel (admin) · Get Tunnel #
Ask an LLM
“What hostname and status does one of my MCP tunnels have?”
“Can I look up a single tunnel through the organization admin API?”
Tell an agent
Show tunnel {tunnel_id}.
Get details of org tunnel {tunnel_id}.
GET /v1/organizations/tunnels?beta=true List tunnels (admin) · List Tunnels #
Ask an LLM
“Which MCP tunnels exist across my organization?”
“Can I list only the tunnels in one workspace?”
Tell an agent
List all tunnels in the organization.
List tunnels in workspace {workspace_id}.
GET /v1/organizations/usage_report/claude_code?beta=true Get daily Claude Code usage metrics · Get Claude Code Usage Report #
Ask an LLM
“How much are our developers using Claude Code each day?”
“Can I pull per-user Claude Code metrics to build a productivity dashboard?”
Tell an agent
Get the Claude Code usage report for {starting_at}.
Show Claude Code activity by user on {starting_at}.
GET /v1/organizations/usage_report/messages?beta=true Get Messages API token usage · Get Messages Usage Report #
Ask an LLM
“How many tokens did we use on the Messages API last week?”
“Can I break usage down by model, API key or workspace?”
Tell an agent
Get Messages usage from {starting_at} to {ending_at}.
Show token usage since {starting_at} for models {models}, grouped by {group_by}.
GET /v1/organizations/users/{user_id}?beta=true Look up an organization member · Get User #
Ask an LLM
“What role does a specific person have in my organization?”
“Can I look up an org member's email by user ID?”
Tell an agent
Show organization member {user_id}.
Get the org role of user {user_id}.
POST /v1/organizations/users/{user_id}?beta=true Change a member's organization role · Update User #
Ask an LLM
“How do I make someone an admin of our organization?”
“Can I downgrade a member's organization role?”
Tell an agent
Change user {user_id}'s organization role to {role}.
Make member {user_id} a {role} in the org.
DELETE /v1/organizations/users/{user_id}?beta=true Remove a member from the organization · Remove User #
Ask an LLM
“How do I remove someone who left the company from our organization?”
“What happens when I kick a user out of the org?”
Tell an agent destructive · confirm first
Remove user {user_id} from the organization.
Offboard member {user_id} from our org.
GET /v1/organizations/users?beta=true List organization members · List Users #
Ask an LLM
“Who are all the members of my organization?”
“Can I find a member by email or filter members by role?”
Tell an agent
List everyone in my organization.
Find the org member with email {email}.
POST /v1/organizations/workspaces/{workspace_id}/archive?beta=true Archive a workspace · Archive Workspace #
Ask an LLM
“How do I archive a workspace we no longer use?”
“What does archiving a workspace do to its API keys?”
Tell an agent destructive · confirm first
Archive workspace {workspace_id}.
Retire the workspace {workspace_id}.
GET /v1/organizations/workspaces/{workspace_id}/members/{user_id}?beta=true Look up a user's workspace membership · Get Workspace Member #
Ask an LLM
“What role does a particular user have in one workspace?”
“Is a given person a member of a specific workspace?”
Tell an agent
Show user {user_id}'s membership in workspace {workspace_id}.
Get the workspace role of {user_id} in {workspace_id}.
POST /v1/organizations/workspaces/{workspace_id}/members/{user_id}?beta=true Change a user's workspace role · Update Workspace Member #
Ask an LLM
“How do I give a user developer rights in a single workspace?”
“Can I change someone's workspace role without touching their org role?”
Tell an agent
Set user {user_id}'s role in workspace {workspace_id} to {workspace_role}.
Promote {user_id} to {workspace_role} in workspace {workspace_id}.
DELETE /v1/organizations/workspaces/{workspace_id}/members/{user_id}?beta=true Remove a user from a workspace · Delete Workspace Member #
Ask an LLM
“How do I take a user out of one workspace but leave them in the org?”
“Can I revoke a person's access to a single workspace?”
Tell an agent destructive · confirm first
Remove user {user_id} from workspace {workspace_id}.
Revoke {user_id}'s access to workspace {workspace_id}.
GET /v1/organizations/workspaces/{workspace_id}/members?beta=true List a workspace's user members · List Workspace Members #
Ask an LLM
“Which users have access to a given workspace?”
“Can I page through the people in a large workspace?”
Tell an agent
List the users in workspace {workspace_id}.
Show the first {limit} members of workspace {workspace_id}.
POST /v1/organizations/workspaces/{workspace_id}/members?beta=true Add a user to a workspace · Create Workspace Member #
Ask an LLM
“How do I add an existing org member to a workspace?”
“Which workspace role should a new member start with?”
Tell an agent
Add user {user_id} to workspace {workspace_id} as {workspace_role}.
Grant {user_id} a seat in workspace {workspace_id} with the {workspace_role} role.
GET /v1/organizations/workspaces/{workspace_id}/rate_limits?beta=true List a workspace's rate-limit overrides · List Workspace Rate Limits #
Ask an LLM
“Does a particular workspace have custom rate limits that differ from the org?”
“Why don't all rate-limit groups show up for my workspace?”
Tell an agent
List the rate-limit overrides on workspace {workspace_id}.
Show workspace {workspace_id}'s overrides for group type {group_type}.
GET /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}?beta=true Look up a service account's workspace membership · Get Service Account Workspace Member #
Ask an LLM
“From a workspace, what role does a specific service account have there?”
“Is a service account an explicit member of this workspace?”
Tell an agent
Show service account {service_account_id}'s membership record in workspace {workspace_id}.
Get the role workspace {workspace_id} grants service account {service_account_id}.
POST /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}?beta=true Change a service account's workspace role · Update Service Account Workspace Member #
Ask an LLM
“How do I change the role a service account has inside a workspace?”
“Can I update an implicit service account membership?”
Tell an agent
Change service account {service_account_id}'s role in workspace {workspace_id} to {workspace_role}.
In workspace {workspace_id}, set service account {service_account_id} to {workspace_role}.
DELETE /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}?beta=true Remove a service account from a workspace · Delete Service Account Workspace Member #
Ask an LLM
“From the workspace side, how do I remove a service account member?”
“Does removing a service account from a workspace succeed if it's already gone?”
Tell an agent destructive · confirm first
Remove service account {service_account_id} from workspace {workspace_id}'s members.
Kick service account {service_account_id} out of workspace {workspace_id}.
GET /v1/organizations/workspaces/{workspace_id}/service_accounts?beta=true List a workspace's service account members · List Service Account Workspace Members #
Ask an LLM
“Which service accounts are members of a given workspace?”
“What roles do the machine identities in this workspace hold?”
Tell an agent
List the service accounts in workspace {workspace_id}.
Show machine identities with access to workspace {workspace_id}.
POST /v1/organizations/workspaces/{workspace_id}/service_accounts?beta=true Add a service account to a workspace · Create Service Account Workspace Member #
Ask an LLM
“From a workspace, how do I add a service account as a member?”
“Which role decides what a service account can do inside a workspace?”
Tell an agent
Add service account {service_account_id} to workspace {workspace_id} with role {workspace_role}.
Make {service_account_id} a {workspace_role} member of workspace {workspace_id}.
GET /v1/organizations/workspaces/{workspace_id}?beta=true Retrieve a workspace · Get Workspace #
Ask an LLM
“What are the settings of one of my workspaces, like its data residency?”
“Is a particular workspace archived?”
Tell an agent
Show workspace {workspace_id}.
Get the settings of workspace {workspace_id}.
POST /v1/organizations/workspaces/{workspace_id}?beta=true Update a workspace's settings · Update Workspace #
Ask an LLM
“Can I rename a workspace or change its Console color?”
“How do I switch a workspace to a customer-managed encryption key?”
Tell an agent
Rename workspace {workspace_id} to {name}.
Encrypt workspace {workspace_id} with external key {external_key_id}.
GET /v1/organizations/workspaces?beta=true List workspaces · List Workspaces #
Ask an LLM
“Which workspaces does my organization have?”
“Can I include archived workspaces in the list?”
Tell an agent
List our workspaces.
List workspaces, including archived: {include_archived}.
POST /v1/organizations/workspaces?beta=true Create a workspace · Create Workspace #
Ask an LLM
“How do I create a new workspace to separate a team's API usage?”
“What data residency does a new workspace get if I don't specify one?”
Tell an agent
Create a workspace called {name}.
Create workspace {name} with data residency {data_residency}.

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anthropic:anthropic-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anthropic-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anthropic Organizations API
servers:
- url: https://api.anthropic.com
tags:


# --- truncated at 32 KB (354 KB total) ---
# Full source: https://artifacts.apis.io/anthropic/openapi/anthropic-organizations-api-openapi.yml