Beta
Models
Errors
BetaModels
List Models
client.beta.models.list(params?, options?): Page<BetaModelInfo>List available models.
Get a Model
client.beta.models.retrieve(modelID, params?, options?): BetaModelInfoGet a specific model.
BetaMessages
Create a Message
client.beta.messages.create(params, options?): BetaMessage | Stream<BetaRawMessageStreamEvent>Send 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
client.beta.messages.countTokens(params, options?): BetaMessageTokensCountCount the number of tokens in a Message.
BetaMessagesBatches
Create a Message Batch
client.beta.messages.batches.create(params, options?): BetaMessageBatchSend a batch of Message creation requests.
Retrieve a Message Batch
client.beta.messages.batches.retrieve(messageBatchID, params?, options?): BetaMessageBatchThis 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
client.beta.messages.batches.list(params?, options?): Page<BetaMessageBatch>List all Message Batches within a Workspace. Most recently created batches are returned first.
Cancel a Message Batch
client.beta.messages.batches.cancel(messageBatchID, params?, options?): BetaMessageBatchBatches 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
client.beta.messages.batches.delete(messageBatchID, params?, options?): BetaDeletedMessageBatchRetrieve Message Batch results
client.beta.messages.batches.results(messageBatchID, params?, options?): JSONLDecoder<BetaMessageBatchIndividualResponse>Streams the results of a Message Batch as a .jsonl file.
BetaAgents
Create Agent
client.beta.agents.create(params, options?): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Agents
client.beta.agents.list(params?, options?): PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Agent
client.beta.agents.retrieve(agentID, params?, options?): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Agent
client.beta.agents.update(agentID, params, options?): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Agent
client.beta.agents.archive(agentID, params?, options?): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaAgentsVersions
List Agent Versions
client.beta.agents.versions.list(agentID, params?, options?): PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaEnvironments
Create Environment
client.beta.environments.create(params, options?): BetaEnvironmentCreate a new environment with the specified configuration.
List Environments
client.beta.environments.list(params?, options?): PageCursor<BetaEnvironment>List environments with pagination support.
Get Environment
client.beta.environments.retrieve(environmentID, params?, options?): BetaEnvironmentRetrieve a specific environment by ID.
Update Environment
client.beta.environments.update(environmentID, params, options?): BetaEnvironmentUpdate an existing environment's configuration.
Delete Environment
client.beta.environments.delete(environmentID, params?, options?): BetaEnvironmentDeleteResponseDelete an environment by ID. Returns a confirmation of the deletion.
Archive Environment
client.beta.environments.archive(environmentID, params?, options?): BetaEnvironmentArchive an environment by ID. Archived environments cannot be used to create new sessions.
BetaEnvironmentsWork
Get Work Item
client.beta.environments.work.retrieve(workID, params, options?): BetaSelfHostedWorkRetrieve detailed information about a specific work item.
Poll for Work
client.beta.environments.work.poll(environmentID, params?, options?): BetaSelfHostedWork | nullNote: 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
client.beta.environments.work.ack(workID, params, options?): BetaSelfHostedWorkNote: 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
client.beta.environments.work.heartbeat(workID, params, options?): BetaSelfHostedWorkHeartbeatResponseNote: 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
client.beta.environments.work.stop(workID, params, options?): BetaSelfHostedWorkStop a work item, initiating graceful or forced shutdown.
List Work Items
client.beta.environments.work.list(environmentID, params?, options?): PageCursor<BetaSelfHostedWork>List work items in an environment.
Update Work Item
client.beta.environments.work.update(workID, params, options?): BetaSelfHostedWorkUpdate work item metadata with merge semantics.
Get Queue Statistics
client.beta.environments.work.stats(environmentID, params?, options?): BetaSelfHostedWorkQueueStatsGet statistics about the work queue for an environment.
BetaSessions
Create Session
client.beta.sessions.create(params, options?): BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Sessions
client.beta.sessions.list(params?, options?): BidirectionalPageCursor<BetaManagedAgentsSession>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session
client.beta.sessions.retrieve(sessionID, params?, options?): BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session
client.beta.sessions.update(sessionID, params, options?): BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session
client.beta.sessions.delete(sessionID, params?, options?): BetaManagedAgentsDeletedSessionanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session
client.beta.sessions.archive(sessionID, params?, options?): BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsEvents
List Events
client.beta.sessions.events.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionEvent>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Send Events
client.beta.sessions.events.send(sessionID, params, options?): BetaManagedAgentsSendSessionEventsanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Events
client.beta.sessions.events.stream(sessionID, params?, options?): Stream<BetaManagedAgentsStreamSessionEvents>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsResources
Add Session Resource
client.beta.sessions.resources.add(sessionID, params, options?): BetaManagedAgentsFileResourceanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Session Resources
client.beta.sessions.resources.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionResource>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Resource
client.beta.sessions.resources.retrieve(resourceID, params, options?): ResourceRetrieveResponseanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session Resource
client.beta.sessions.resources.update(resourceID, params, options?): ResourceUpdateResponseanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session Resource
client.beta.sessions.resources.delete(resourceID, params, options?): BetaManagedAgentsDeleteSessionResourceanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreads
List Session Threads
client.beta.sessions.threads.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionThread>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Thread
client.beta.sessions.threads.retrieve(threadID, params, options?): BetaManagedAgentsSessionThreadanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session Thread
client.beta.sessions.threads.archive(threadID, params, options?): BetaManagedAgentsSessionThreadanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreadsEvents
List Session Thread Events
client.beta.sessions.threads.events.list(threadID, params, options?): PageCursor<BetaManagedAgentsSessionEvent>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Session Thread Events
client.beta.sessions.threads.events.stream(threadID, params, options?): Stream<BetaManagedAgentsStreamSessionThreadEvents>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployments
Create Deployment
client.beta.deployments.create(params, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Deployments
client.beta.deployments.list(params?, options?): PageCursor<BetaManagedAgentsDeployment>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment
client.beta.deployments.retrieve(deploymentID, params?, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Deployment
client.beta.deployments.update(deploymentID, params, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Deployment
client.beta.deployments.archive(deploymentID, params?, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Run Deployment Now
client.beta.deployments.run(deploymentID, params?, options?): BetaManagedAgentsDeploymentRunanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Pause Deployment
client.beta.deployments.pause(deploymentID, params?, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Unpause Deployment
client.beta.deployments.unpause(deploymentID, params?, options?): BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployment Runs
List Deployment Runs
client.beta.deploymentRuns.list(params?, options?): PageCursor<BetaManagedAgentsDeploymentRun>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment Run
client.beta.deploymentRuns.retrieve(deploymentRunID, params?, options?): BetaManagedAgentsDeploymentRunanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaults
Create a Vault
client.beta.vaults.create(params, options?): BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Vaults
client.beta.vaults.list(params?, options?): PageCursor<BetaManagedAgentsVault>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Vault
client.beta.vaults.retrieve(vaultID, params?, options?): BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Vault
client.beta.vaults.update(vaultID, params, options?): BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Vault
client.beta.vaults.delete(vaultID, params?, options?): BetaManagedAgentsDeletedVaultanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Vault
client.beta.vaults.archive(vaultID, params?, options?): BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaultsCredentials
Create a Credential
client.beta.vaults.credentials.create(vaultID, params, options?): BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Credentials
client.beta.vaults.credentials.list(vaultID, params?, options?): PageCursor<BetaManagedAgentsCredential>anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Credential
client.beta.vaults.credentials.retrieve(credentialID, params, options?): BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Credential
client.beta.vaults.credentials.update(credentialID, params, options?): BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Credential
client.beta.vaults.credentials.delete(credentialID, params, options?): BetaManagedAgentsDeletedCredentialanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Credential
client.beta.vaults.credentials.archive(credentialID, params, options?): BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Validate an MCP OAuth Credential
client.beta.vaults.credentials.mcpOAuthValidate(credentialID, params, options?): BetaManagedAgentsCredentialValidationanthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaMemory Stores
Create a Memory Store
client.beta.memoryStores.create(params, options?): BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memory Stores
client.beta.memoryStores.list(params?, options?): PageCursor<BetaManagedAgentsMemoryStore>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory Store
client.beta.memoryStores.retrieve(memoryStoreID, params?, options?): BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory Store
client.beta.memoryStores.update(memoryStoreID, params, options?): BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory Store
client.beta.memoryStores.delete(memoryStoreID, params?, options?): BetaManagedAgentsDeletedMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Memory Store
client.beta.memoryStores.archive(memoryStoreID, params?, options?): BetaManagedAgentsMemoryStoreanthropic-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
client.beta.memoryStores.memories.create(memoryStoreID, params, options?): BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memories
client.beta.memoryStores.memories.list(memoryStoreID, params?, options?): PageCursor<BetaManagedAgentsMemoryListItem>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory
client.beta.memoryStores.memories.retrieve(memoryID, params, options?): BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory
client.beta.memoryStores.memories.update(memoryID, params, options?): BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory
client.beta.memoryStores.memories.delete(memoryID, params, options?): BetaManagedAgentsDeletedMemoryanthropic-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
client.beta.memoryStores.memoryVersions.list(memoryStoreID, params?, options?): PageCursor<BetaManagedAgentsMemoryVersion>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory Version
client.beta.memoryStores.memoryVersions.retrieve(memoryVersionID, params, options?): BetaManagedAgentsMemoryVersionanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Redact a Memory Version
client.beta.memoryStores.memoryVersions.redact(memoryVersionID, params, options?): BetaManagedAgentsMemoryVersionanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaFiles
Download File
client.beta.files.download(fileID, params?, options?): ResponseGet File Metadata
client.beta.files.retrieveMetadata(fileID, params?, options?): BetaFileMetadataDelete File
client.beta.files.delete(fileID, params?, options?): BetaDeletedFileBetaSkills
Delete Skill
client.beta.skills.delete(skillID, params?, options?): BetaDeletedSkillBetaSkillsVersions
Create Skill Version
client.beta.skills.versions.create(skillID, params, options?): BetaSkillVersionList Skill Versions
client.beta.skills.versions.list(skillID, params?, options?): PageCursor<BetaSkillVersion>Download Skill Version Content
client.beta.skills.versions.download(version, params, options?): ResponseDownload a skill version's content as a zip archive.
Get Skill Version
client.beta.skills.versions.retrieve(version, params, options?): BetaSkillVersionDelete Skill Version
client.beta.skills.versions.delete(version, params, options?): BetaDeletedSkillVersionBetaWebhooks
Unwrap
client.beta.webhooks.unwrap(body, options): BetaWebhookEventVerifies the webhook signature from the webhook-id, webhook-timestamp and webhook-signature
headers using your webhook signing key, then parses the payload into an event. Fails if the
signature is missing or invalid.
Parse Unverified
client.beta.webhooks.parseUnverified(body): BetaWebhookEventParses a webhook payload into an event without verifying its signature. Prefer unwrap() unless
you have already verified the signature yourself.
BetaUser Profiles
Register the end customers that your platform serves, so each request can name who it's for. To get started, see the User profiles guide.
Create User Profile
client.beta.userProfiles.create(params, options?): BetaUserProfileRegister one of your end customers and get the ID to send on the requests you make for them.
List User Profiles
client.beta.userProfiles.list(params?, options?): PageCursor<BetaUserProfile>List the user profiles in your organization, newest first by default.
Get User Profile
client.beta.userProfiles.retrieve(userProfileID, params?, options?): BetaUserProfileGet a user profile by ID to check the details stored for it.
Update User Profile
client.beta.userProfiles.update(userProfileID, params, options?): BetaUserProfileChange the details of a user profile, leaving the fields that you don't send as they are.
Delete User Profile
client.beta.userProfiles.delete(userProfileID, params?, options?): BetaDeletedUserProfileDelete a user profile, for example when the end customer closes their account.
Create Enrollment URL
client.beta.userProfiles.createEnrollmentURL(userProfileID, params?, options?): BetaUserProfileEnrollmentURLCreate a link that sends the profile's end customer to the Verification Portal from Claude Platform on AWS.
BetaUser ProfilesAction URLs
Create Action URL
client.beta.userProfiles.actionURLs.create(userProfileID, params, options?): BetaUserProfileActionURLCreate a link that sends the profile's end customer to the Verification Portal.
BetaDreams
Create a Dream
client.beta.dreams.create(params, options?): BetaDreamanthropic-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
client.beta.dreams.list(params?, options?): PageCursor<BetaDream>anthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.List the dreams in the workspace, newest first.
Get a Dream
client.beta.dreams.retrieve(dreamID, params?, options?): BetaDreamanthropic-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
client.beta.dreams.cancel(dreamID, params?, options?): BetaDreamanthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Stop a pending or running dream.
Archive a Dream
client.beta.dreams.archive(dreamID, params?, options?): BetaDreamanthropic-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
client.beta.tunnels.create(params, options?): BetaTunnelanthropic-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
client.beta.tunnels.retrieve(tunnelID, params?, options?): BetaTunnelanthropic-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
client.beta.tunnels.list(params?, options?): PageCursor<BetaTunnel>anthropic-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
client.beta.tunnels.archive(tunnelID, params?, options?): BetaTunnelanthropic-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
client.beta.tunnels.revealToken(tunnelID, params?, options?): BetaTunnelTokenanthropic-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
client.beta.tunnels.rotateToken(tunnelID, params, options?): BetaTunnelTokenanthropic-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
client.beta.tunnels.certificates.create(tunnelID, params, options?): BetaTunnelCertificateanthropic-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
client.beta.tunnels.certificates.retrieve(certificateID, params, options?): BetaTunnelCertificateanthropic-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
client.beta.tunnels.certificates.list(tunnelID, params?, options?): PageCursor<BetaTunnelCertificate>anthropic-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
client.beta.tunnels.certificates.archive(certificateID, params, options?): BetaTunnelCertificateanthropic-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
client.beta.organization.retrieve(options?): BetaOrganizationRetrieve information about the organization associated with the authenticated API key.
BetaOrganizationAPI Keys
List API Keys
client.beta.organization.apiKeys.list(query?, options?): Page<BetaAPIKey>Retrieve API Key (Admin API)
client.beta.organization.apiKeys.retrieve(apiKeyID, options?): BetaAPIKeyRetrieve 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.
Update API Key
client.beta.organization.apiKeys.update(apiKeyID, body, options?): BetaAPIKeyBetaOrganizationExternal Keys
Create External Key
client.beta.organization.externalKeys.create(body, options?): BetaExternalKeyCreate an external key config owned by the caller's organization.
List External Keys
client.beta.organization.externalKeys.list(query?, options?): PageCursor<BetaExternalKey>List external key configs in the caller's organization.
Get External Key
client.beta.organization.externalKeys.retrieve(externalKeyID, options?): BetaExternalKeyRetrieve a single external key config in the caller's organization by ID.
Update External Key
client.beta.organization.externalKeys.update(externalKeyID, body, options?): BetaExternalKeyPartially update an external key config. Omitted fields are left unchanged.
Delete External Key
client.beta.organization.externalKeys.delete(externalKeyID, options?): ExternalKeyDeleteResponseDelete an external key config.
Validate External Key
client.beta.organization.externalKeys.validate(externalKeyID, options?): ExternalKeyValidateResponseValidate an external key config against the customer's KMS.
BetaOrganizationFederationIssuers
Create Federation Issuer
client.beta.organization.federation.issuers.create(params, options?): BetaFederationIssuerRequires 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
client.beta.organization.federation.issuers.list(params?, options?): PageCursor<BetaFederationIssuer>Requires 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
client.beta.organization.federation.issuers.retrieve(federationIssuerID, params?, options?): BetaFederationIssuerRequires 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
client.beta.organization.federation.issuers.update(federationIssuerID, params, options?): BetaFederationIssuerRequires 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
client.beta.organization.federation.issuers.archive(federationIssuerID, params?, options?): BetaFederationIssuerRequires 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
client.beta.organization.federation.rules.create(params, options?): BetaFederationRuleRequires 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
client.beta.organization.federation.rules.list(params?, options?): PageCursor<BetaFederationRule>Requires 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
client.beta.organization.federation.rules.retrieve(federationRuleID, params?, options?): BetaFederationRuleRequires 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
client.beta.organization.federation.rules.update(federationRuleID, params, options?): BetaFederationRuleRequires 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
client.beta.organization.federation.rules.archive(federationRuleID, params?, options?): BetaFederationRuleRequires 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
client.beta.organization.federation.rules.workspaces.add(federationRuleID, params, options?): BetaFederationRuleWorkspaceRequires 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
client.beta.organization.federation.rules.workspaces.list(federationRuleID, params?, options?): PageCursor<BetaFederationRuleWorkspace>Requires 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
client.beta.organization.federation.rules.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponseRequires 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
client.beta.organization.invites.create(body, options?): BetaOrganizationInviteInvite a user to join the organization by email.
List Invites
client.beta.organization.invites.list(query?, options?): Page<BetaOrganizationInvite>List the organization's invites.
Get Invite
client.beta.organization.invites.retrieve(inviteID, options?): BetaOrganizationInviteRetrieve an invite by ID.
Delete Invite
client.beta.organization.invites.delete(inviteID, options?): InviteDeleteResponseDelete a pending invite.
BetaOrganizationService Accounts
Create Service Account
client.beta.organization.serviceAccounts.create(params, options?): BetaServiceAccountRequires 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
client.beta.organization.serviceAccounts.list(params?, options?): PageCursor<BetaServiceAccount>Requires 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
client.beta.organization.serviceAccounts.retrieve(serviceAccountID, params?, options?): BetaServiceAccountRequires 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
client.beta.organization.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccountRequires 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
client.beta.organization.serviceAccounts.archive(serviceAccountID, params?, options?): BetaServiceAccountRequires 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
client.beta.organization.serviceAccounts.workspaces.add(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMemberRequires 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
client.beta.organization.serviceAccounts.workspaces.list(serviceAccountID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>Requires 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
client.beta.organization.serviceAccounts.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponseRequires 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.
BetaOrganizationExternal Storage
Create External Storage
client.beta.organization.externalStorage.create(params, options?): BetaExternalStorageanthropic-beta: efs-2026-10-01. Learn how to send beta headers.Register a bucket in the organization's own cloud account. It is saved
as pending_configuration and verified when activated.
List External Storage
client.beta.organization.externalStorage.list(params?, options?): PageCursor<BetaExternalStorage>anthropic-beta: efs-2026-10-01. Learn how to send beta headers.List the organization's External Storage, newest first.
Get External Storage
client.beta.organization.externalStorage.retrieve(externalStorageID, params?, options?): BetaExternalStorageanthropic-beta: efs-2026-10-01. Learn how to send beta headers.Get one External Storage in the organization.
Update External Storage
client.beta.organization.externalStorage.update(externalStorageID, params, options?): BetaExternalStorageanthropic-beta: efs-2026-10-01. Learn how to send beta headers.Rename External Storage or clear its name, in any status.
Delete External Storage
client.beta.organization.externalStorage.delete(externalStorageID, params?, options?): BetaDeletedExternalStorageanthropic-beta: efs-2026-10-01. Learn how to send beta headers.Delete External Storage. Storage that is pending configuration, available, or active
but never attached is deleted at once, unless an Enterprise Frontier Safeguards workspace
policy lists it. Other storage gets a 400 that says what to do next. On draining
storage that 400 can mean this delete started a removal that can't be undone. To check,
get the storage: if status.removal_started is true, delete it again later to finish.
Activate External Storage
client.beta.organization.externalStorage.activate(externalStorageID, params?, options?): BetaExternalStorageanthropic-beta: efs-2026-10-01. Learn how to send beta headers.Verify pending External Storage and make it available. Storage that is already available, active or draining comes back unchanged, without any check.
BetaOrganizationUsers
List Users
client.beta.organization.users.list(query?, options?): Page<BetaOrganizationUser>List the organization's members.
Get User
client.beta.organization.users.retrieve(userID, options?): BetaOrganizationUserRetrieve a member of the organization by user ID.
Update User
client.beta.organization.users.update(userID, body, options?): BetaOrganizationUserUpdate a member's organization role.
Remove User
client.beta.organization.users.remove(userID, options?): UserRemoveResponseRemove a member from the organization.
Sign Out User
client.beta.organization.users.signOut(userID, params?, options?): BetaOrganizationUseranthropic-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
List Workspaces
client.beta.organization.workspaces.list(params?, options?): Page<BetaWorkspace>Create Workspace
client.beta.organization.workspaces.create(params, options?): BetaWorkspaceGet Workspace
client.beta.organization.workspaces.retrieve(workspaceID, params?, options?): BetaWorkspaceUpdate Workspace
client.beta.organization.workspaces.update(workspaceID, params, options?): BetaWorkspaceArchive Workspace
client.beta.organization.workspaces.archive(workspaceID, params?, options?): BetaWorkspaceBetaOrganizationWorkspacesRate Limits
List Workspace Rate Limits
client.beta.organization.workspaces.rateLimits.list(workspaceID, query?, options?): PageCursor<BetaWorkspaceRateLimit>List a workspace's rate limits.
Set Workspace Rate Limits
client.beta.organization.workspaces.rateLimits.update(rateLimitID, params, options?): BetaWorkspaceRateLimitSet or clear rate-limit overrides for one rate-limit group in a workspace.
BetaOrganizationWorkspacesMembers
List Workspace Members
client.beta.organization.workspaces.members.list(workspaceID, query?, options?): Page<BetaWorkspaceMember>Create Workspace Member
client.beta.organization.workspaces.members.add(workspaceID, body, options?): BetaWorkspaceMemberGet Workspace Member
client.beta.organization.workspaces.members.retrieve(userID, params, options?): BetaWorkspaceMemberUpdate Workspace Member
client.beta.organization.workspaces.members.update(userID, params, options?): BetaWorkspaceMemberDelete Workspace Member
client.beta.organization.workspaces.members.remove(userID, params, options?): MemberRemoveResponseBetaOrganizationWorkspacesService Accounts
List Service Account Workspace Members
client.beta.organization.workspaces.serviceAccounts.list(workspaceID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>Requires 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
client.beta.organization.workspaces.serviceAccounts.add(workspaceID, params, options?): BetaServiceAccountWorkspaceMemberRequires 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
client.beta.organization.workspaces.serviceAccounts.retrieve(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMemberRequires 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
client.beta.organization.workspaces.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMemberRequires 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
client.beta.organization.workspaces.serviceAccounts.remove(serviceAccountID, params, options?): ServiceAccountRemoveResponseRequires 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
client.beta.organization.rateLimits.list(query?, options?): PageCursor<BetaOrganizationRateLimit>List Messages API rate limits for your organization.
BetaOrganizationCompliance Settings
Get Compliance Settings
client.beta.organization.complianceSettings.retrieve(params?, options?): BetaComplianceSettingsRetrieve your organization's Compliance Settings.
Update Compliance Settings
client.beta.organization.complianceSettings.update(params, options?): BetaComplianceSettingsUpdate your organization's Compliance Settings.
BetaOrganizationAnalyticsSummaries
Get Activity Summaries
client.beta.organization.analytics.summaries.list(query, options?): PageCursor<BetaAnalyticsSingleDayActivitySummary>Get organization-wide activity summaries for a date range.
BetaOrganizationAnalyticsUsers
List User Activity
client.beta.organization.analytics.users.list(query?, options?): PageCursor<BetaAnalyticsUserActivity>Get per-user activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsAppsChatProjects
Get Chat Project Usage
client.beta.organization.analytics.apps.chat.projects.list(query?, options?): PageCursor<BetaAnalyticsProjectActivity>Get per-project activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsConnectors
Get Connector Usage
client.beta.organization.analytics.connectors.list(query?, options?): PageCursor<BetaAnalyticsConnectorActivity>Get per-connector usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsPlugins
Get Plugin Usage
client.beta.organization.analytics.plugins.list(query?, options?): PageCursor<BetaAnalyticsPluginActivity>Get per-plugin install + invocation usage for a given day, with pagination.
BetaOrganizationAnalyticsSkills
Get Skill Usage
client.beta.organization.analytics.skills.list(query?, options?): PageCursor<BetaAnalyticsSkillActivity>Get per-skill usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsArtifacts
Get Artifact Activity
client.beta.organization.analytics.artifacts.list(query, options?): PageCursor<BetaAnalyticsArtifactActivity>Get artifact-creation activity for a given day, broken out by MIME type.
BetaOrganizationAnalyticsUsage
Get Token Usage By Dimension
client.beta.organization.analytics.usage.list(params, options?): ReportPageCursor<BetaAnalyticsUsageItem>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.
BetaOrganizationAnalyticsCost
Get Cost By Dimension
client.beta.organization.analytics.cost.list(params, options?): ReportPageCursor<BetaAnalyticsCostItem>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.
BetaOrganizationAnalyticsUsage Report
Get Token Usage Over Time
client.beta.organization.analytics.usageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageReportTimeBucket>[Legacy] Get token usage over time across a date range.
BetaOrganizationAnalyticsUser Usage Report
Get Per-User Token Usage
client.beta.organization.analytics.userUsageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageUsersItem>[Legacy] Get per-user token usage across a date range.
BetaOrganizationAnalyticsCost Report
Get Cost Over Time
client.beta.organization.analytics.costReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostReportTimeBucket>[Legacy] Get cost in USD over time across a date range.
BetaOrganizationAnalyticsUser Cost Report
Get Per-User Cost
client.beta.organization.analytics.userCostReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostUsersItem>[Legacy] Get per-user cost in USD across a date range.
BetaOrganizationSpend Limits
Set Spend Limit
client.beta.organization.spendLimits.set(params, options?): BetaSpendLimitSet a spend limit.
Get Spend Limit
client.beta.organization.spendLimits.retrieve(spendLimitID, options?): BetaSpendLimitRetrieve a spend limit by ID.
Delete Spend Limit
client.beta.organization.spendLimits.delete(spendLimitID, options?): SpendLimitDeleteResponseDelete a spend limit.
List Spend Limits
client.beta.organization.spendLimits.list(params?, options?): PageCursor<BetaSpendLimit>anthropic-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
client.beta.organization.spendLimits.effective.list(query?, options?): PageCursor<BetaSpendSummary>List each member's effective spend limit and period-to-date spend.
BetaOrganizationSpend LimitsIncrease Requests
List Spend Limit Increase Requests
client.beta.organization.spendLimits.increaseRequests.list(query?, options?): PageCursor<BetaSpendLimitIncreaseRequest>List spend limit increase requests, most recent first.
Get Spend Limit Increase Request
client.beta.organization.spendLimits.increaseRequests.retrieve(spendLimitIncreaseRequestID, options?): BetaSpendLimitIncreaseRequestRetrieve a spend limit increase request.
Approve Spend Limit Increase Request
client.beta.organization.spendLimits.increaseRequests.approve(spendLimitIncreaseRequestID, body, options?): IncreaseRequestApproveResponseApprove a pending spend limit increase request.
Deny Spend Limit Increase Request
client.beta.organization.spendLimits.increaseRequests.deny(spendLimitIncreaseRequestID, body, options?): BetaSpendLimitIncreaseRequestDeny a pending spend limit increase request.
BetaOrganizationRBAC Groups
Create RBAC Group
client.beta.organization.rbacGroups.create(body, options?): BetaRBACGroupCreate an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type "direct".
List RBAC Groups
client.beta.organization.rbacGroups.list(query?, options?): PageCursor<BetaRBACGroup>List RBAC Groups in the Claude Enterprise tenant.
Get RBAC Group
client.beta.organization.rbacGroups.retrieve(rbacGroupID, options?): BetaRBACGroupRetrieve an RBAC Group by ID.
Update RBAC Group
client.beta.organization.rbacGroups.update(rbacGroupID, body, options?): BetaRBACGroupUpdate 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
client.beta.organization.rbacGroups.delete(rbacGroupID, options?): BetaDeletedRBACGroupDelete 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
client.beta.organization.rbacGroups.members.list(rbacGroupID, query?, options?): PageCursor<BetaRBACGroupMember>List members of an RBAC Group.
Add RBAC Group Member
client.beta.organization.rbacGroups.members.add(rbacGroupID, body, options?): BetaRBACGroupMemberAdd 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
client.beta.organization.rbacGroups.members.remove(userID, params, options?): BetaDeletedRBACGroupMemberRemove 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
client.beta.organization.rbacRoles.list(query?, options?): PageCursor<BetaRBACRole>List RBAC Roles in the organization.
Get RBAC Role
client.beta.organization.rbacRoles.retrieve(rbacRoleID, options?): BetaRBACRoleRetrieve an RBAC Role by ID.
BetaOrganizationRBAC RolesPermissions
List RBAC Role Permissions
client.beta.organization.rbacRoles.permissions.list(rbacRoleID, query?, options?): PageCursor<BetaRBACRolePermission>List the permissions an RBAC Role grants.
BetaOrganizationPlugins
Create Plugin
client.beta.organization.plugins.create(params, options?): BetaPluginanthropic-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
client.beta.organization.plugins.retrieve(pluginID, params?, options?): BetaPluginanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a Plugin by ID.
Update Plugin
client.beta.organization.plugins.update(pluginID, params, options?): BetaPluginanthropic-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.
List Plugins
client.beta.organization.plugins.list(params?, options?): PageCursor<BetaPlugin>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.
Delete Plugin
client.beta.organization.plugins.delete(pluginID, params?, options?): BetaDeletedPluginanthropic-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
client.beta.organization.plugins.versions.create(pluginID, params, options?): BetaPluginVersionanthropic-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
client.beta.organization.plugins.versions.list(pluginID, params?, options?): PageCursor<BetaPluginVersion>anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List a Plugin's versions, newest first.
Get Plugin Version
client.beta.organization.plugins.versions.retrieve(version, params, options?): BetaPluginVersionanthropic-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
client.beta.organization.plugins.versions.download(version, params, options?): Responseanthropic-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.
BetaOrganizationPluginsInstallation Settings
List Plugin Installation Settings
client.beta.organization.plugins.installationSettings.list(pluginID, params?, options?): PageCursor<BetaPluginInstallationSetting>anthropic-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
client.beta.organization.plugins.installationSettings.set(target, params, options?): BetaPluginInstallationSettinganthropic-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
client.beta.organization.plugins.installationSettings.remove(target, params, options?): BetaDeletedPluginInstallationSettinganthropic-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
client.beta.organization.pluginMarketplaces.list(params?, options?): PageCursor<BetaPluginMarketplace>anthropic-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
client.beta.organization.pluginMarketplaces.retrieve(marketplaceID, params?, options?): BetaPluginMarketplaceanthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a plugin marketplace by ID.
Update Plugin Marketplace
client.beta.organization.pluginMarketplaces.update(marketplaceID, params, options?): BetaPluginMarketplaceanthropic-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
client.beta.organization.pluginMarketplaces.validateRepository(params, options?): BetaPluginMarketplaceValidationReportanthropic-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
client.beta.organization.pluginMarketplaces.validateArchive(params, options?): BetaPluginMarketplaceValidationReportanthropic-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
client.beta.organization.telemetryDestinations.create(params, options?): BetaTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Register an OpenTelemetry destination for the organization.
List Telemetry Destinations
client.beta.organization.telemetryDestinations.list(params?, options?): PageCursor<BetaTelemetryDestination>anthropic-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
client.beta.organization.telemetryDestinations.retrieve(destinationID, params?, options?): BetaTelemetryDestinationanthropic-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
client.beta.organization.telemetryDestinations.update(destinationID, params, options?): BetaTelemetryDestinationanthropic-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
client.beta.organization.telemetryDestinations.delete(destinationID, params?, options?): BetaDeletedTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Delete a destination and its workspace list.
Test a Telemetry Destination
client.beta.organization.telemetryDestinations.test(destinationID, params?, options?): BetaTelemetryDestinationTestResponseanthropic-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
client.beta.organization.telemetryDestinations.workspaces.list(destinationID, params?, options?): PageCursor<BetaTelemetryDestinationWorkspace>anthropic-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
client.beta.organization.telemetryDestinations.workspaces.add(workspaceID, params, options?): BetaTelemetryDestinationWorkspaceanthropic-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
client.beta.organization.telemetryDestinations.workspaces.remove(workspaceID, params, options?): BetaDeletedTelemetryDestinationWorkspaceanthropic-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
client.beta.organization.webhooks.create(params, options?): BetaNewOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Create an organization webhook endpoint.
List Organization Webhook Endpoints
client.beta.organization.webhooks.list(params?, options?): Page<BetaOrganizationWebhookEndpoint>anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.List the organization's webhook endpoints.
Get Organization Webhook Endpoint
client.beta.organization.webhooks.retrieve(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Retrieve an organization webhook endpoint by ID.
Update Organization Webhook Endpoint
client.beta.organization.webhooks.update(webhookEndpointID, params, options?): BetaOrganizationWebhookEndpointanthropic-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
client.beta.organization.webhooks.delete(webhookEndpointID, params?, options?): BetaDeletedOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Delete an organization webhook endpoint.
Regenerate Organization Webhook Endpoint Signing Secret
client.beta.organization.webhooks.regenerateSigningSecret(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpointSigningSecretanthropic-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 CodeManaged SettingsConfiguration
Get Claude Code Managed Settings Configuration
client.beta.organization.claudeCode.managedSettings.configuration.retrieve(params?, options?): BetaClaudeCodeManagedSettingsConfigurationanthropic-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?): BetaClaudeCodeManagedSettingsConfigurationanthropic-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.
BetaOrganizationClaude CodeManaged SettingsRBAC Groups
List RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.list(params?, options?): PageCursor<BetaClaudeCodeRBACGroupManagedSettingsSummary>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?): BetaClaudeCodeRBACGroupManagedSettingsanthropic-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?): BetaClaudeCodeRBACGroupManagedSettingsanthropic-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?): BetaDeletedClaudeCodeRBACGroupManagedSettingsanthropic-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.
BetaOrganizationClaude CodeManaged SettingsRBAC Group Default
Get RBAC Group Default Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroupDefault.retrieve(params?, options?): BetaClaudeCodeRBACGroupDefaultManagedSettingsanthropic-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?): BetaClaudeCodeRBACGroupDefaultManagedSettingsanthropic-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.
BetaOrganizationClaude TagSlack Channels
Set Up Slack Channel
client.beta.organization.claudeTag.slackChannels.create(params, options?): BetaClaudeTagSlackChannelanthropic-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
client.beta.organization.claudeTag.slackChannels.list(params, options?): PageCursor<BetaClaudeTagSlackChannel>anthropic-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
client.beta.organization.claudeTag.slackChannels.retrieve(id, params?, options?): BetaClaudeTagSlackChannelanthropic-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
client.beta.organization.claudeTag.slackChannels.update(id, params, options?): BetaClaudeTagSlackChannelanthropic-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
client.beta.organization.claudeTag.slackChannels.delete(id, params?, options?): BetaClaudeTagDeletedSlackChannelanthropic-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
client.beta.organization.claudeTag.slackWorkspaces.list(params?, options?): PageCursor<BetaClaudeTagSlackWorkspace>anthropic-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
client.beta.organization.claudeTag.slackWorkspaces.retrieve(id, params?, options?): BetaClaudeTagSlackWorkspaceanthropic-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
client.beta.organization.claudeTag.slackWorkspaces.update(id, params, options?): BetaClaudeTagSlackWorkspaceanthropic-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
client.beta.organization.claudeTag.bundles.list(params?, options?): PageCursor<BetaClaudeTagBundle>anthropic-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
client.beta.organization.claudeTag.bundles.retrieve(bundleID, params?, options?): BetaClaudeTagBundleanthropic-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
client.beta.organization.claudeTag.bundles.update(bundleID, params, options?): BetaClaudeTagBundleanthropic-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
client.beta.organization.claudeTag.bundles.targets.list(bundleID, params?, options?): PageCursor<BetaClaudeTagBundleTarget>anthropic-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
client.beta.organization.claudeTag.bundles.targets.create(bundleID, params, options?): BetaClaudeTagBundleTargetanthropic-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
client.beta.organization.claudeTag.bundles.targets.retrieve(targetID, params, options?): BetaClaudeTagBundleTargetanthropic-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
client.beta.organization.claudeTag.bundles.targets.delete(targetID, params, options?): BetaClaudeTagDeletedBundleTargetanthropic-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.