Beta
Models
Errors
BetaModels
BetaMessages
Create a Message
$ ant beta:messages createSend a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.
Count tokens in a Message
$ ant beta:messages count-tokensCount the number of tokens in a Message.
BetaMessagesBatches
Create a Message Batch
$ ant beta:messages:batches createSend a batch of Message creation requests.
Retrieve a Message Batch
$ ant beta:messages:batches retrieveThis endpoint is idempotent and can be used to poll for Message Batch completion. To access the results of a Message Batch, make a request to the results_url field in the response.
List Message Batches
$ ant beta:messages:batches listList all Message Batches within a Workspace. Most recently created batches are returned first.
Cancel a Message Batch
$ ant beta:messages:batches cancelBatches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a canceling state, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation.
Delete a Message Batch
$ ant beta:messages:batches deleteRetrieve Message Batch results
$ ant beta:messages:batches resultsStreams the results of a Message Batch as a .jsonl file.
BetaAgents
Create Agent
$ ant beta:agents createanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Agents
$ ant beta:agents listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Agent
$ ant beta:agents retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Agent
$ ant beta:agents updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Agent
$ ant beta:agents archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaAgentsVersions
List Agent Versions
$ ant beta:agents:versions listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaEnvironments
Create Environment
$ ant beta:environments createCreate a new environment with the specified configuration.
List Environments
$ ant beta:environments listList environments with pagination support.
Get Environment
$ ant beta:environments retrieveRetrieve a specific environment by ID.
Update Environment
$ ant beta:environments updateUpdate an existing environment's configuration.
Delete Environment
$ ant beta:environments deleteDelete an environment by ID. Returns a confirmation of the deletion.
Archive Environment
$ ant beta:environments archiveArchive an environment by ID. Archived environments cannot be used to create new sessions.
BetaEnvironmentsWork
Get Work Item
$ ant beta:environments:work retrieveNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Poll for Work
$ ant beta:environments:work pollNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Acknowledge Work
$ ant beta:environments:work ackNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Record Heartbeat
$ ant beta:environments:work heartbeatNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Stop Work
$ ant beta:environments:work stopNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
List Work Items
$ ant beta:environments:work listNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Update Work Item
$ ant beta:environments:work updateNote: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
Get Queue Statistics
$ ant beta:environments:work statsGet statistics about the work queue for an environment.
BetaSessions
Create Session
$ ant beta:sessions createanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Sessions
$ ant beta:sessions listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session
$ ant beta:sessions retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session
$ ant beta:sessions updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session
$ ant beta:sessions deleteanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session
$ ant beta:sessions archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsEvents
List Events
$ ant beta:sessions:events listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Send Events
$ ant beta:sessions:events sendanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Events
$ ant beta:sessions:events streamanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsResources
Add Session Resource
$ ant beta:sessions:resources addanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Session Resources
$ ant beta:sessions:resources listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Resource
$ ant beta:sessions:resources retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session Resource
$ ant beta:sessions:resources updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session Resource
$ ant beta:sessions:resources deleteanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreads
List Session Threads
$ ant beta:sessions:threads listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Thread
$ ant beta:sessions:threads retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session Thread
$ ant beta:sessions:threads archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreadsEvents
List Session Thread Events
$ ant beta:sessions:threads:events listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Session Thread Events
$ ant beta:sessions:threads:events streamanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployments
Create Deployment
$ ant beta:deployments createanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Deployments
$ ant beta:deployments listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment
$ ant beta:deployments retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Deployment
$ ant beta:deployments updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Deployment
$ ant beta:deployments archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Run Deployment Now
$ ant beta:deployments runanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Pause Deployment
$ ant beta:deployments pauseanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Unpause Deployment
$ ant beta:deployments unpauseanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployment Runs
List Deployment Runs
$ ant beta:deployment-runs listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment Run
$ ant beta:deployment-runs retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaults
Create a Vault
$ ant beta:vaults createanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Vaults
$ ant beta:vaults listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Vault
$ ant beta:vaults retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Vault
$ ant beta:vaults updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Vault
$ ant beta:vaults deleteanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Vault
$ ant beta:vaults archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaultsCredentials
Create a Credential
$ ant beta:vaults:credentials createanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Credentials
$ ant beta:vaults:credentials listanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Credential
$ ant beta:vaults:credentials retrieveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Credential
$ ant beta:vaults:credentials updateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Credential
$ ant beta:vaults:credentials deleteanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Credential
$ ant beta:vaults:credentials archiveanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Validate an MCP OAuth Credential
$ ant beta:vaults:credentials mcp-oauth-validateanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaMemory Stores
Create a Memory Store
$ ant beta:memory-stores createanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memory Stores
$ ant beta:memory-stores listanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory Store
$ ant beta:memory-stores retrieveanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory Store
$ ant beta:memory-stores updateanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory Store
$ ant beta:memory-stores deleteanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Memory Store
$ ant beta:memory-stores archiveanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaMemory StoresMemories
Create a Memory
$ ant beta:memory-stores:memories createanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memories
$ ant beta:memory-stores:memories listanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory
$ ant beta:memory-stores:memories retrieveanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory
$ ant beta:memory-stores:memories updateanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory
$ ant beta:memory-stores:memories deleteanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaMemory StoresMemory Versions
List Memory Versions
$ ant beta:memory-stores:memory-versions listanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory Version
$ ant beta:memory-stores:memory-versions retrieveanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Redact a Memory Version
$ ant beta:memory-stores:memory-versions redactanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaFiles
BetaSkills
BetaSkillsVersions
Download Skill Version Content
$ ant beta:skills:versions downloadDownload a skill version's content as a zip archive.
BetaUser Profiles
Create Enrollment URL
$ ant beta:user-profiles create-enrollment-urlBetaUser ProfilesAction URLs
Create Action URL
$ ant beta:user-profiles:action-urls createBetaDreams
Create a Dream
$ ant beta:dreams createanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Start an asynchronous job that uses past sessions to produce a reorganized version of a memory store and get back the dream to poll for the result.
List Dreams
$ ant beta:dreams listanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.List the dreams in the workspace, newest first.
Get a Dream
$ ant beta:dreams retrieveanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Get a dream by ID to check its status, output memory store, and token usage.
Cancel a Dream
$ ant beta:dreams cancelanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Stop a pending or running dream.
Archive a Dream
$ ant beta:dreams archiveanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Hide a completed, failed, or canceled dream from the default list of dreams.
BetaTunnels
Create Tunnel
$ ant beta:tunnels createanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Get Tunnel
$ ant beta:tunnels retrieveanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
List Tunnels
$ ant beta:tunnels listanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Archive Tunnel
$ ant beta:tunnels archiveanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Reveal Tunnel Token
$ ant beta:tunnels reveal-tokenanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Rotate Tunnel Token
$ ant beta:tunnels rotate-tokenanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
BetaTunnelsCertificates
Create Tunnel Certificate
$ ant beta:tunnels:certificates createanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Get Tunnel Certificate
$ ant beta:tunnels:certificates retrieveanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
List Tunnel Certificates
$ ant beta:tunnels:certificates listanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
Archive Tunnel Certificate
$ ant beta:tunnels:certificates archiveanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.The Tunnels API is in research preview. It requires the anthropic-beta: mcp-tunnels-2026-06-22 header and may change without a deprecation period. It supersedes the Admin API endpoints at /v1/organizations/tunnels, which remain available during a migration window.
BetaOrganization
Get Current Organization
$ ant beta:organization retrieveRetrieve information about the organization associated with the authenticated API key.
BetaOrganizationAPI Keys
Retrieve API Key (Admin API)
$ ant beta:organization:api-keys retrieveRetrieve information about a single API key in your organization, looked up by its ID. This Admin API endpoint requires an Admin API key, is intended for programmatic key management, and never returns the key's secret value. To view or create your own API keys, go to API keys in the Claude Console.
BetaOrganizationExternal Keys
Create External Key
$ ant beta:organization:external-keys createCreate an external key config owned by the caller's organization.
List External Keys
$ ant beta:organization:external-keys listList external key configs in the caller's organization.
Get External Key
$ ant beta:organization:external-keys retrieveRetrieve a single external key config in the caller's organization by ID.
Update External Key
$ ant beta:organization:external-keys updatePartially update an external key config. Omitted fields are left unchanged.
Delete External Key
$ ant beta:organization:external-keys deleteDelete an external key config.
Validate External Key
$ ant beta:organization:external-keys validateValidate an external key config against the customer's KMS.
BetaOrganizationFederationIssuers
Create Federation Issuer
$ ant beta:organization:federation:issuers createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Issuers
$ ant beta:organization:federation:issuers listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Federation Issuer
$ ant beta:organization:federation:issuers retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Federation Issuer
$ ant beta:organization:federation:issuers updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Federation Issuer
$ ant beta:organization:federation:issuers archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationFederationRules
Create Federation Rule
$ ant beta:organization:federation:rules createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Rules
$ ant beta:organization:federation:rules listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Federation Rule
$ ant beta:organization:federation:rules retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Federation Rule
$ ant beta:organization:federation:rules updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Federation Rule
$ ant beta:organization:federation:rules archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationFederationRulesWorkspaces
Add Federation Rule Workspace
$ ant beta:organization:federation:rules:workspaces addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Rule Workspaces
$ ant beta:organization:federation:rules:workspaces listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Remove Federation Rule Workspace
$ ant beta:organization:federation:rules:workspaces removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationInvites
Create Invite
$ ant beta:organization:invites createInvite a user to join the organization by email.
List Invites
$ ant beta:organization:invites listList the organization's invites.
Get Invite
$ ant beta:organization:invites retrieveRetrieve an invite by ID.
Delete Invite
$ ant beta:organization:invites deleteDelete a pending invite.
BetaOrganizationService Accounts
Create Service Account
$ ant beta:organization:service-accounts createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Service Accounts
$ ant beta:organization:service-accounts listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Service Account
$ ant beta:organization:service-accounts retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Service Account
$ ant beta:organization:service-accounts updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Service Account
$ ant beta:organization:service-accounts archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationService AccountsWorkspaces
Add Workspace To Service Account
$ ant beta:organization:service-accounts:workspaces addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Workspaces For Service Account
$ ant beta:organization:service-accounts:workspaces listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Remove Workspace From Service Account
$ ant beta:organization:service-accounts:workspaces removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationUsers
List Users
$ ant beta:organization:users listList the organization's members.
Get User
$ ant beta:organization:users retrieveRetrieve a member of the organization by user ID.
Update User
$ ant beta:organization:users updateUpdate a member's organization role.
Remove User
$ ant beta:organization:users removeRemove a member from the organization.
Sign Out User
$ ant beta:organization:users sign-outanthropic-beta: admin-user-sign-out-2026-10-08. Learn how to send beta headers.Sign a member out of Claude everywhere, without removing them from the organization. This ends their sign-in sessions and removes their trusted devices wherever they use Claude, including other organizations and individual plans. It also ends the OAuth tokens issued to them for this organization, so apps such as Claude Code must sign in again.
BetaOrganizationWorkspaces
Get Workspace
$ ant beta:organization:workspaces retrieveUpdate Workspace
$ ant beta:organization:workspaces updateArchive Workspace
$ ant beta:organization:workspaces archiveBetaOrganizationWorkspacesRate Limits
List Workspace Rate Limits
$ ant beta:organization:workspaces:rate-limits listList a workspace's rate limits.
Set Workspace Rate Limits
$ ant beta:organization:workspaces:rate-limits updateSet or clear rate-limit overrides for one rate-limit group in a workspace.
BetaOrganizationWorkspacesMembers
List Workspace Members
$ ant beta:organization:workspaces:members listCreate Workspace Member
$ ant beta:organization:workspaces:members addGet Workspace Member
$ ant beta:organization:workspaces:members retrieveUpdate Workspace Member
$ ant beta:organization:workspaces:members updateDelete Workspace Member
$ ant beta:organization:workspaces:members removeBetaOrganizationWorkspacesService Accounts
List Service Account Workspace Members
$ ant beta:organization:workspaces:service-accounts listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Create Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Delete Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
BetaOrganizationRate Limits
List Organization Rate Limits
$ ant beta:organization:rate-limits listList Messages API rate limits for your organization.
BetaOrganizationCompliance Settings
Get Compliance Settings
$ ant beta:organization:compliance-settings retrieveRetrieve your organization's Compliance Settings.
Update Compliance Settings
$ ant beta:organization:compliance-settings updateUpdate your organization's Compliance Settings.
BetaOrganizationAnalyticsSummaries
Get Activity Summaries
$ ant beta:organization:analytics:summaries listGet organization-wide activity summaries for a date range.
BetaOrganizationAnalyticsUsers
List User Activity
$ ant beta:organization:analytics:users listGet per-user activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsAppsChatProjects
Get Chat Project Usage
$ ant beta:organization:analytics:apps:chat:projects listGet per-project activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsConnectors
Get Connector Usage
$ ant beta:organization:analytics:connectors listGet per-connector usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsPlugins
Get Plugin Usage
$ ant beta:organization:analytics:plugins listGet per-plugin install + invocation usage for a given day, with pagination.
BetaOrganizationAnalyticsSkills
Get Skill Usage
$ ant beta:organization:analytics:skills listGet per-skill usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsArtifacts
Get Artifact Activity
$ ant beta:organization:analytics:artifacts listGet artifact-creation activity for a given day, broken out by MIME type.
BetaOrganizationAnalyticsUsage
Get Token Usage By Dimension
$ ant beta:organization:analytics:usage listanthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.Get token usage across a date range, broken out by dimension.
BetaOrganizationAnalyticsCost
Get Cost By Dimension
$ ant beta:organization:analytics:cost listanthropic-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.
BetaOrganizationAnalyticsUsage Report
Get Token Usage Over Time
$ ant beta:organization:analytics:usage-report list[Legacy] Get token usage over time across a date range.
BetaOrganizationAnalyticsUser Usage Report
Get Per-User Token Usage
$ ant beta:organization:analytics:user-usage-report list[Legacy] Get per-user token usage across a date range.
BetaOrganizationAnalyticsCost Report
Get Cost Over Time
$ ant beta:organization:analytics:cost-report list[Legacy] Get cost in USD over time across a date range.
BetaOrganizationAnalyticsUser Cost Report
Get Per-User Cost
$ ant beta:organization:analytics:user-cost-report list[Legacy] Get per-user cost in USD across a date range.
BetaOrganizationSpend Limits
Set Spend Limit
$ ant beta:organization:spend-limits setSet a spend limit.
Get Spend Limit
$ ant beta:organization:spend-limits retrieveRetrieve a spend limit by ID.
Delete Spend Limit
$ ant beta:organization:spend-limits deleteDelete a spend limit.
List Spend Limits
$ ant beta:organization:spend-limits listanthropic-beta: spend-limit-reads-2026-09-26. Learn how to send beta headers.List the organization's spend limits.
BetaOrganizationSpend LimitsEffective
List Effective Spend Limits
$ ant beta:organization:spend-limits:effective listList each member's effective spend limit and period-to-date spend.
BetaOrganizationSpend LimitsIncrease Requests
List Spend Limit Increase Requests
$ ant beta:organization:spend-limits:increase-requests listList spend limit increase requests, most recent first.
Get Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests retrieveRetrieve a spend limit increase request.
Approve Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests approveApprove a pending spend limit increase request.
Deny Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests denyDeny a pending spend limit increase request.
BetaOrganizationRBAC Groups
Create RBAC Group
$ ant beta:organization:rbac-groups createCreate an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type "direct".
List RBAC Groups
$ ant beta:organization:rbac-groups listList RBAC Groups in the Claude Enterprise tenant.
Get RBAC Group
$ ant beta:organization:rbac-groups retrieveRetrieve an RBAC Group by ID.
Update RBAC Group
$ ant beta:organization:rbac-groups updateUpdate an RBAC Group's name. Groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
Delete RBAC Group
$ ant beta:organization:rbac-groups deleteDelete an RBAC Group. Groups provisioned by an identity provider (source type "scim") cannot be deleted via the API while an organization in the tenant uses SCIM provisioning.
BetaOrganizationRBAC GroupsMembers
List RBAC Group Members
$ ant beta:organization:rbac-groups:members listList members of an RBAC Group.
Add RBAC Group Member
$ ant beta:organization:rbac-groups:members addAdd a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
Remove RBAC Group Member
$ ant beta:organization:rbac-groups:members removeRemove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
BetaOrganizationRBAC Roles
List RBAC Roles
$ ant beta:organization:rbac-roles listList RBAC Roles in the organization.
Get RBAC Role
$ ant beta:organization:rbac-roles retrieveRetrieve an RBAC Role by ID.
BetaOrganizationRBAC RolesPermissions
List RBAC Role Permissions
$ ant beta:organization:rbac-roles:permissions listList the permissions an RBAC Role grants.
BetaOrganizationPlugins
Create Plugin
$ ant beta:organization:plugins createanthropic-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.
Get Plugin
$ ant beta:organization:plugins retrieveanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a Plugin by ID.
Update Plugin
$ ant beta:organization:plugins updateanthropic-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 are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.
List Plugins
$ ant beta:organization:plugins listanthropic-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.
Delete Plugin
$ ant beta:organization:plugins deleteanthropic-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.
BetaOrganizationPluginsVersions
Create Plugin Version
$ ant beta:organization:plugins:versions createanthropic-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.
List Plugin Versions
$ ant beta:organization:plugins:versions listanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List a Plugin's versions, newest first.
Get Plugin Version
$ ant beta:organization:plugins:versions retrieveanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve one version of a Plugin by its ID, or the Plugin's newest version.
Download Plugin Version Archive
$ ant beta:organization:plugins:versions downloadanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Download one version's .zip archive, exactly as stored. Each download of a
Plugin from a member's personal plugin marketplace is recorded on the Compliance API
activity feed.
BetaOrganizationPluginsInstallation Settings
List Plugin Installation Settings
$ ant beta:organization:plugins:installation-settings listanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List an organization-owned Plugin's installation settings, which say which members it is for, most recently created first.
Set Plugin Installation Setting
$ ant beta:organization:plugins:installation-settings setanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group.
Remove Plugin Installation Setting
$ ant beta:organization:plugins:installation-settings removeanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group.
BetaOrganizationPlugin Marketplaces
List Plugin Marketplaces
$ ant beta:organization:plugin-marketplaces listanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List the plugin marketplaces Plugins live in, newest first: the organization's own and its members' personal ones.
Get Plugin Marketplace
$ ant beta:organization:plugin-marketplaces retrieveanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a plugin marketplace by ID.
Update Plugin Marketplace
$ ant beta:organization:plugin-marketplaces updateanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Set the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of its own gets this default as its organization-wide setting, including Plugins added later.
Validate Plugin Marketplace Repository
$ ant beta:organization:plugin-marketplaces validate-repositoryanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Check whether a plugin marketplace held in a public GitHub repository would synchronize into claude.ai, without connecting or storing it.
Validate Plugin Marketplace Archive
$ ant beta:organization:plugin-marketplaces validate-archiveanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Check whether a plugin marketplace, uploaded as a .zip of the marketplace
directory, would synchronize into claude.ai, without connecting or storing it.
BetaOrganizationTelemetry Destinations
Create a Telemetry Destination
$ ant beta:organization:telemetry-destinations createanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Register an OpenTelemetry destination for the organization.
List Telemetry Destinations
$ ant beta:organization:telemetry-destinations listanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.List the organization's destinations, newest first, optionally only those that cover given workspaces.
Retrieve a Telemetry Destination
$ ant beta:organization:telemetry-destinations retrieveanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Read a destination's configuration, state, and most recent delivery results.
Update a Telemetry Destination
$ ant beta:organization:telemetry-destinations updateanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Change a telemetry destination's settings, its state, or which workspaces it covers.
Delete a Telemetry Destination
$ ant beta:organization:telemetry-destinations deleteanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Delete a destination and its workspace list.
Test a Telemetry Destination
$ ant beta:organization:telemetry-destinations testanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Send one test span, named anthropic.test, to the destination with its registered headers, once and without retries, and report the destination's answer. The response is 200 whether or not the destination answered with a 2xx status: its result has the type success, or the type failure and the reason in error. The destination's configuration, state and delivery_health do not change. A disabled destination can be tested too. Wait 10 seconds between tests of one destination; a request that comes sooner may be answered with status 429.
BetaOrganizationTelemetry DestinationsWorkspaces
List Telemetry Destination Workspaces
$ ant beta:organization:telemetry-destinations:workspaces listanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.List the workspaces on a destination's workspace list, newest entry first.
Add a Telemetry Destination Workspace
$ ant beta:organization:telemetry-destinations:workspaces addanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Add one workspace to a destination's workspace list.
Remove a Telemetry Destination Workspace
$ ant beta:organization:telemetry-destinations:workspaces removeanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Remove one workspace from a destination's workspace list.
BetaOrganizationWebhooks
Create Organization Webhook Endpoint
$ ant beta:organization:webhooks createanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Create an organization webhook endpoint.
List Organization Webhook Endpoints
$ ant beta:organization:webhooks listanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.List the organization's webhook endpoints.
Get Organization Webhook Endpoint
$ ant beta:organization:webhooks retrieveanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Retrieve an organization webhook endpoint by ID.
Update Organization Webhook Endpoint
$ ant beta:organization:webhooks updateanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Update an organization webhook endpoint. Only the fields you send are changed.
Delete Organization Webhook Endpoint
$ ant beta:organization:webhooks deleteanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Delete an organization webhook endpoint.
Regenerate Organization Webhook Endpoint Signing Secret
$ ant beta:organization:webhooks regenerate-signing-secretanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Replace an organization webhook endpoint's signing secret. The old secret stops working immediately. The new secret is returned only in this response.
BetaOrganizationClaude TagSlack Channels
Set Up Slack Channel
$ ant beta:organization:claude-tag:slack-channels createanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Set a Slack channel up for Claude Tag and return it with its identifier. If the channel is already set up, whether in claude.ai, by Claude's first use in it or by an earlier request, the existing channel is returned, so the request can be repeated. settings, when sent, is applied as an update applies it. Before a channel is set up, Claude's Slack app confirms with Slack that the channel is in the workspace, is not archived and is visible to the app; a channel that fails the confirmation returns 404. Setting the channel up and applying settings are two steps: when the second is refused, the response is the refusal, the channel stays set up with every setting unset, and the error's details.slack_channel_id holds the channel's identifier.
List Slack Channels
$ ant beta:organization:claude-tag:slack-channels listanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.List the set-up Slack channels of one Slack workspace, newest first by created_at. A channel that is not set up is not listed: Slack holds the full list of a workspace's channels. Pass slack_channel_id as well to look one channel up by its Slack identifiers: data then holds that channel, or is empty when it is not set up, and limit and page are ignored. A workspace that the organization owns only through a Slack Enterprise Grid returns 404 until it is set up. With include_inherited=true each channel's settings holds what applies in it, and the request fails with 503 rather than resolve against a settings level that could not be read. A page cursor resumes only a request with the same include_inherited.
Get Slack Channel
$ ant beta:organization:claude-tag:slack-channels retrieveanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Get one Slack channel and its settings. By default settings holds what the channel itself stores: a setting that is null there is not set on the channel and is inherited. With include_inherited=true, settings holds what applies in the channel once the settings levels above it are taken into account, and the request fails with 503 rather than resolve against a settings level that could not be read. Either way sources names the settings level each value comes from, so a caller tells the channel's own value from an inherited one by its source, not by whether it is null.
Update Slack Channel
$ ant beta:organization:claude-tag:slack-channels updateanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Change the settings a Slack channel stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cleared, so the channel inherits it. If any value is refused, no setting in the request is stored. A group direct message takes no settings and returns 400.
Remove Slack Channel
$ ant beta:organization:claude-tag:slack-channels deleteanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Remove a Slack channel from Claude Tag. This deletes the channel's stored settings and its Bundle Targets at once, and then, in the background, the channel's sessions and their transcripts, its memory, its routines and the artifacts published from it. None of it can be restored. The channel in Slack and its messages are unchanged. The request is refused with 400 and error.details.error_code slack_channel_enabled while enabled resolves to true for the channel, as a read with include_inherited=true returns it: set enabled to false on the channel first. This guards against removing a channel in use by mistake; it is not a way to keep Claude out, because the removal deletes the channel's own enabled: false with its other settings, after which the channel inherits again and Claude's next use of it can set it up anew with a new identifier. The identifier returns 404 as soon as the request returns, so a repeated removal returns 404. A group direct message returns 400, and so does a channel that holds configuration this API does not manage.
BetaOrganizationClaude TagSlack Workspaces
List Slack Workspaces
$ ant beta:organization:claude-tag:slack-workspaces listanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.List the set-up Slack workspaces the organization owns, newest first by created_at. Pass slack_workspace_id to look one workspace up by its Slack identifier: data then holds that workspace, or is empty when it is not set up. A workspace of a Slack Enterprise Grid the organization has connected returns 404 until it is set up. With include_inherited=true each workspace's settings holds what applies in it, and the request fails with 503 rather than resolve against a settings level that could not be read. A page cursor resumes only a request with the same include_inherited.
Get Slack Workspace
$ ant beta:organization:claude-tag:slack-workspaces retrieveanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Get one Slack workspace and its settings. By default settings holds what the workspace itself stores: a setting that is null there is not set on the workspace and is inherited. With include_inherited=true, settings holds what applies in the workspace once the organization's Slack defaults are taken into account, and the request fails with 503 rather than resolve against a settings level that could not be read. Either way sources names the settings level each value comes from.
Update Slack Workspace
$ ant beta:organization:claude-tag:slack-workspaces updateanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Change the settings a Slack workspace stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cleared, so the workspace inherits it. If any value is refused, no setting in the request is stored.
BetaOrganizationClaude TagBundles
List Bundles
$ ant beta:organization:claude-tag:bundles listanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.List the organization's Bundles, newest first by created_at. A Bundle that Claude Tag manages for itself is not listed.
Get Bundle
$ ant beta:organization:claude-tag:bundles retrieveanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Get one Bundle. What the Bundle grants (connectors, repositories and credentials) is never returned.
Update Bundle
$ ant beta:organization:claude-tag:bundles updateanthropic-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.
BetaOrganizationClaude TagBundlesTargets
List Bundle Targets
$ ant beta:organization:claude-tag:bundles:targets listanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.List the Slack channels and Slack workspaces a Bundle is attached to, newest first by created_at. Only channels and workspaces the organization owns are listed; a Bundle that is attached to anything else has no Bundle Target for it.
Attach Bundle
$ ant beta:organization:claude-tag:bundles:targets createanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Attach a Bundle to a Slack channel or a Slack workspace. A Bundle attached to a workspace can be used in the workspace and in every channel in it. Attaching a Bundle to a channel or workspace it is already attached to returns the existing Bundle Target. The channel or workspace must be set up: attaching never sets a channel up. A group direct message takes no Bundle and returns 400.
Get Bundle Target
$ ant beta:organization:claude-tag:bundles:targets retrieveanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Get one Bundle Target. Returns 404 when target_id is the identifier of another Bundle's Bundle Target, or the Bundle Target was detached.
Detach Bundle
$ ant beta:organization:claude-tag:bundles:targets deleteanthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.Detach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404.