Beta
Models
BetaModels
Get a Model
beta.models.retrieve(model_id, **kwargs) -> BetaModelInfoGet a specific model.
BetaMessages
Create a Message
beta.messages.create(**kwargs) -> BetaMessageSend 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
beta.messages.count_tokens(**kwargs) -> BetaMessageTokensCountCount the number of tokens in a Message.
Stream
beta.messages.stream(**kwargs) -> Anthropic::Helpers::Streaming::MessageStreamStreams a message like stream_raw and returns a MessageStream, which accumulates the streamed events and parses tool inputs and structured output.
BetaMessagesBatches
Create a Message Batch
beta.messages.batches.create(**kwargs) -> BetaMessageBatchSend a batch of Message creation requests.
Retrieve a Message Batch
beta.messages.batches.retrieve(message_batch_id, **kwargs) -> 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
beta.messages.batches.list(**kwargs) -> Page<BetaMessageBatch>List all Message Batches within a Workspace. Most recently created batches are returned first.
Cancel a Message Batch
beta.messages.batches.cancel(message_batch_id, **kwargs) -> 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
beta.messages.batches.delete(message_batch_id, **kwargs) -> BetaDeletedMessageBatchRetrieve Message Batch results
beta.messages.batches.results_streaming(message_batch_id, **kwargs) -> JsonLStream<BetaMessageBatchIndividualResponse>Streams the results of a Message Batch as a .jsonl file.
BetaAgents
Create Agent
beta.agents.create(**kwargs) -> BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Agents
beta.agents.list(**kwargs) -> PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Agent
beta.agents.retrieve(agent_id, **kwargs) -> BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate Agent
beta.agents.update(agent_id, **kwargs) -> BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive Agent
beta.agents.archive(agent_id, **kwargs) -> BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaAgentsVersions
List Agent Versions
beta.agents.versions.list(agent_id, **kwargs) -> PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaEnvironments
Create Environment
beta.environments.create(**kwargs) -> BetaEnvironmentCreate a new environment with the specified configuration.
List Environments
beta.environments.list(**kwargs) -> PageCursor<BetaEnvironment>List environments with pagination support.
Get Environment
beta.environments.retrieve(environment_id, **kwargs) -> BetaEnvironmentRetrieve a specific environment by ID.
Update Environment
beta.environments.update(environment_id, **kwargs) -> BetaEnvironmentUpdate an existing environment's configuration.
Delete Environment
beta.environments.delete(environment_id, **kwargs) -> BetaEnvironmentDeleteResponseDelete an environment by ID. Returns a confirmation of the deletion.
Archive Environment
beta.environments.archive(environment_id, **kwargs) -> BetaEnvironmentArchive an environment by ID. Archived environments cannot be used to create new sessions.
BetaEnvironmentsWork
Get Work Item
beta.environments.work.retrieve(work_id, **kwargs) -> 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.
Poll for Work
beta.environments.work.poll(environment_id, **kwargs) -> BetaSelfHostedWork | nilNote: 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
beta.environments.work.ack(work_id, **kwargs) -> 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
beta.environments.work.heartbeat(work_id, **kwargs) -> 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
beta.environments.work.stop(work_id, **kwargs) -> 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.
List Work Items
beta.environments.work.list(environment_id, **kwargs) -> PageCursor<BetaSelfHostedWork>Note: 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
beta.environments.work.update(work_id, **kwargs) -> 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.
Get Queue Statistics
beta.environments.work.stats(environment_id, **kwargs) -> BetaSelfHostedWorkQueueStatsGet statistics about the work queue for an environment.
BetaSessions
Create Session
beta.sessions.create(**kwargs) -> BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Sessions
beta.sessions.list(**kwargs) -> BidirectionalPageCursor<BetaManagedAgentsSession>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Session
beta.sessions.retrieve(session_id, **kwargs) -> BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate Session
beta.sessions.update(session_id, **kwargs) -> BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete Session
beta.sessions.delete(session_id, **kwargs) -> BetaManagedAgentsDeletedSessionanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive Session
beta.sessions.archive(session_id, **kwargs) -> BetaManagedAgentsSessionanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaSessionsEvents
List Events
beta.sessions.events.list(session_id, **kwargs) -> PageCursor<BetaManagedAgentsSessionEvent>anthropic-beta: managed-agents-2026-04-01. How to send beta headersSend Events
beta.sessions.events.send_(session_id, **kwargs) -> BetaManagedAgentsSendSessionEventsanthropic-beta: managed-agents-2026-04-01. How to send beta headersStream Events
beta.sessions.events.stream_events(session_id, **kwargs) -> Stream<BetaManagedAgentsStreamSessionEvents>anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaSessionsResources
Add Session Resource
beta.sessions.resources.add(session_id, **kwargs) -> BetaManagedAgentsFileResourceanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Session Resources
beta.sessions.resources.list(session_id, **kwargs) -> PageCursor<BetaManagedAgentsSessionResource>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Session Resource
beta.sessions.resources.retrieve(resource_id, **kwargs) -> ResourceRetrieveResponseanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate Session Resource
beta.sessions.resources.update(resource_id, **kwargs) -> ResourceUpdateResponseanthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete Session Resource
beta.sessions.resources.delete(resource_id, **kwargs) -> BetaManagedAgentsDeleteSessionResourceanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaSessionsThreads
List Session Threads
beta.sessions.threads.list(session_id, **kwargs) -> PageCursor<BetaManagedAgentsSessionThread>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Session Thread
beta.sessions.threads.retrieve(thread_id, **kwargs) -> BetaManagedAgentsSessionThreadanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive Session Thread
beta.sessions.threads.archive(thread_id, **kwargs) -> BetaManagedAgentsSessionThreadanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaSessionsThreadsEvents
List Session Thread Events
beta.sessions.threads.events.list(thread_id, **kwargs) -> PageCursor<BetaManagedAgentsSessionEvent>anthropic-beta: managed-agents-2026-04-01. How to send beta headersStream Session Thread Events
beta.sessions.threads.events.stream_events(thread_id, **kwargs) -> Stream<BetaManagedAgentsStreamSessionThreadEvents>anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaDeployments
Create Deployment
beta.deployments.create(**kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Deployments
beta.deployments.list(**kwargs) -> PageCursor<BetaManagedAgentsDeployment>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Deployment
beta.deployments.retrieve(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate Deployment
beta.deployments.update(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive Deployment
beta.deployments.archive(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersRun Deployment Now
beta.deployments.run(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentRunanthropic-beta: managed-agents-2026-04-01. How to send beta headersPause Deployment
beta.deployments.pause(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersUnpause Deployment
beta.deployments.unpause(deployment_id, **kwargs) -> BetaManagedAgentsDeploymentanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaDeployment Runs
List Deployment Runs
beta.deployment_runs.list(**kwargs) -> PageCursor<BetaManagedAgentsDeploymentRun>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Deployment Run
beta.deployment_runs.retrieve(deployment_run_id, **kwargs) -> BetaManagedAgentsDeploymentRunanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaVaults
Create a Vault
beta.vaults.create(**kwargs) -> BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Vaults
beta.vaults.list(**kwargs) -> PageCursor<BetaManagedAgentsVault>anthropic-beta: managed-agents-2026-04-01. How to send beta headersRetrieve a Vault
beta.vaults.retrieve(vault_id, **kwargs) -> BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate a Vault
beta.vaults.update(vault_id, **kwargs) -> BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete a Vault
beta.vaults.delete(vault_id, **kwargs) -> BetaManagedAgentsDeletedVaultanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive a Vault
beta.vaults.archive(vault_id, **kwargs) -> BetaManagedAgentsVaultanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaVaultsCredentials
Create a Credential
beta.vaults.credentials.create(vault_id, **kwargs) -> BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Credentials
beta.vaults.credentials.list(vault_id, **kwargs) -> PageCursor<BetaManagedAgentsCredential>anthropic-beta: managed-agents-2026-04-01. How to send beta headersRetrieve a Credential
beta.vaults.credentials.retrieve(credential_id, **kwargs) -> BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate a Credential
beta.vaults.credentials.update(credential_id, **kwargs) -> BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete a Credential
beta.vaults.credentials.delete(credential_id, **kwargs) -> BetaManagedAgentsDeletedCredentialanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive a Credential
beta.vaults.credentials.archive(credential_id, **kwargs) -> BetaManagedAgentsCredentialanthropic-beta: managed-agents-2026-04-01. How to send beta headersValidate an MCP OAuth Credential
beta.vaults.credentials.mcp_oauth_validate(credential_id, **kwargs) -> BetaManagedAgentsCredentialValidationanthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaMemory Stores
Create a Memory Store
beta.memory_stores.create(**kwargs) -> BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersList Memory Stores
beta.memory_stores.list(**kwargs) -> PageCursor<BetaManagedAgentsMemoryStore>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersRetrieve a Memory Store
beta.memory_stores.retrieve(memory_store_id, **kwargs) -> BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate a Memory Store
beta.memory_stores.update(memory_store_id, **kwargs) -> BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete a Memory Store
beta.memory_stores.delete(memory_store_id, **kwargs) -> BetaManagedAgentsDeletedMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive a Memory Store
beta.memory_stores.archive(memory_store_id, **kwargs) -> BetaManagedAgentsMemoryStoreanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaMemory StoresMemories
Create a Memory
beta.memory_stores.memories.create(memory_store_id, **kwargs) -> BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersList Memories
beta.memory_stores.memories.list(memory_store_id, **kwargs) -> PageCursor<BetaManagedAgentsMemoryListItem>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersRetrieve a Memory
beta.memory_stores.memories.retrieve(memory_id, **kwargs) -> BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate a Memory
beta.memory_stores.memories.update(memory_id, **kwargs) -> BetaManagedAgentsMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersDelete a Memory
beta.memory_stores.memories.delete(memory_id, **kwargs) -> BetaManagedAgentsDeletedMemoryanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaMemory StoresMemory Versions
List Memory Versions
beta.memory_stores.memory_versions.list(memory_store_id, **kwargs) -> PageCursor<BetaManagedAgentsMemoryVersion>anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersRetrieve a Memory Version
beta.memory_stores.memory_versions.retrieve(memory_version_id, **kwargs) -> BetaManagedAgentsMemoryVersionanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersRedact a Memory Version
beta.memory_stores.memory_versions.redact(memory_version_id, **kwargs) -> BetaManagedAgentsMemoryVersionanthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headersBetaFiles
Get File Metadata
beta.files.retrieve_metadata(file_id, **kwargs) -> BetaFileMetadataBetaSkills
BetaSkillsVersions
Create Skill Version
beta.skills.versions.create(skill_id, **kwargs) -> BetaSkillVersionList Skill Versions
beta.skills.versions.list(skill_id, **kwargs) -> PageCursor<BetaSkillVersion>Download Skill Version Content
beta.skills.versions.download(version, **kwargs) -> StringIODownload a skill version's content as a zip archive.
Get Skill Version
beta.skills.versions.retrieve(version, **kwargs) -> BetaSkillVersionDelete Skill Version
beta.skills.versions.delete(version, **kwargs) -> BetaDeletedSkillVersionBetaWebhooks
Unwrap
beta.webhooks.unwrap(payload, headers:, key: @client.webhook_key) -> 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
beta.webhooks.parse_unverified(payload) -> BetaWebhookEventParses a webhook payload into an event without verifying its signature. Prefer unwrap() unless
you have already verified the signature yourself.
BetaUser Profiles
List User Profiles
beta.user_profiles.list(**kwargs) -> PageCursor<BetaUserProfile>Get User Profile
beta.user_profiles.retrieve(user_profile_id, **kwargs) -> BetaUserProfileUpdate User Profile
beta.user_profiles.update(user_profile_id, **kwargs) -> BetaUserProfileDelete User Profile
beta.user_profiles.delete(user_profile_id, **kwargs) -> BetaDeletedUserProfileCreate Enrollment URL
beta.user_profiles.create_enrollment_url(user_profile_id, **kwargs) -> BetaUserProfileEnrollmentURLBetaUser ProfilesAction URLs
Create Action URL
beta.user_profiles.action_urls.create(user_profile_id, **kwargs) -> BetaUserProfileActionURLBetaDreams
Create a Dream
beta.dreams.create(**kwargs) -> BetaDreamanthropic-beta: dreaming-2026-04-21. How to send beta headersStart 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
beta.dreams.list(**kwargs) -> PageCursor<BetaDream>anthropic-beta: dreaming-2026-04-21. How to send beta headersList the dreams in the workspace, newest first.
Get a Dream
beta.dreams.retrieve(dream_id, **kwargs) -> BetaDreamanthropic-beta: dreaming-2026-04-21. How to send beta headersGet a dream by ID to check its status, output memory store, and token usage.
Cancel a Dream
beta.dreams.cancel(dream_id, **kwargs) -> BetaDreamanthropic-beta: dreaming-2026-04-21. How to send beta headersStop a pending or running dream.
Archive a Dream
beta.dreams.archive(dream_id, **kwargs) -> BetaDreamanthropic-beta: dreaming-2026-04-21. How to send beta headersHide a completed, failed, or canceled dream from the default list of dreams.
BetaTunnels
Create Tunnel
beta.tunnels.create(**kwargs) -> BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.retrieve(tunnel_id, **kwargs) -> BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.list(**kwargs) -> PageCursor<BetaTunnel>anthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.archive(tunnel_id, **kwargs) -> BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.reveal_token(tunnel_id, **kwargs) -> BetaTunnelTokenanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.rotate_token(tunnel_id, **kwargs) -> BetaTunnelTokenanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.certificates.create(tunnel_id, **kwargs) -> BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.certificates.retrieve(certificate_id, **kwargs) -> BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.certificates.list(tunnel_id, **kwargs) -> PageCursor<BetaTunnelCertificate>anthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.tunnels.certificates.archive(certificate_id, **kwargs) -> BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. How to send beta headersThe 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
beta.organization.retrieve() -> BetaOrganizationRetrieve information about the organization associated with the authenticated API key.
BetaOrganizationAPI Keys
List API Keys
beta.organization.api_keys.list(**kwargs) -> Page<BetaAPIKey>Retrieve API Key (Admin API)
beta.organization.api_keys.retrieve(api_key_id) -> 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
beta.organization.api_keys.update(api_key_id, **kwargs) -> BetaAPIKeyBetaOrganizationExternal Keys
Create External Key
beta.organization.external_keys.create(**kwargs) -> BetaExternalKeyCreate an external key config owned by the caller's organization.
List External Keys
beta.organization.external_keys.list(**kwargs) -> PageCursor<BetaExternalKey>List external key configs in the caller's organization.
Get External Key
beta.organization.external_keys.retrieve(external_key_id) -> BetaExternalKeyRetrieve a single external key config in the caller's organization by ID.
Update External Key
beta.organization.external_keys.update(external_key_id, **kwargs) -> BetaExternalKeyPartially update an external key config. Omitted fields are left unchanged.
Delete External Key
beta.organization.external_keys.delete(external_key_id) -> ExternalKeyDeleteResponseDelete an external key config.
Validate External Key
beta.organization.external_keys.validate(external_key_id) -> ExternalKeyValidateResponseValidate an external key config against the customer's KMS.
BetaOrganizationFederationIssuers
Create Federation Issuer
beta.organization.federation.issuers.create(**kwargs) -> 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
beta.organization.federation.issuers.list(**kwargs) -> 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
beta.organization.federation.issuers.retrieve(federation_issuer_id, **kwargs) -> 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
beta.organization.federation.issuers.update(federation_issuer_id, **kwargs) -> 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
beta.organization.federation.issuers.archive(federation_issuer_id, **kwargs) -> 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
beta.organization.federation.rules.create(**kwargs) -> 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
beta.organization.federation.rules.list(**kwargs) -> 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
beta.organization.federation.rules.retrieve(federation_rule_id, **kwargs) -> 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
beta.organization.federation.rules.update(federation_rule_id, **kwargs) -> 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
beta.organization.federation.rules.archive(federation_rule_id, **kwargs) -> 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
beta.organization.federation.rules.workspaces.add(federation_rule_id, **kwargs) -> 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
beta.organization.federation.rules.workspaces.list(federation_rule_id, **kwargs) -> 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
beta.organization.federation.rules.workspaces.remove(workspace_id, **kwargs) -> 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
beta.organization.invites.create(**kwargs) -> BetaOrganizationInviteInvite a user to join the organization by email.
List Invites
beta.organization.invites.list(**kwargs) -> Page<BetaOrganizationInvite>List the organization's invites.
Get Invite
beta.organization.invites.retrieve(invite_id) -> BetaOrganizationInviteRetrieve an invite by ID.
Delete Invite
beta.organization.invites.delete(invite_id) -> InviteDeleteResponseDelete a pending invite.
BetaOrganizationService Accounts
Create Service Account
beta.organization.service_accounts.create(**kwargs) -> 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
beta.organization.service_accounts.list(**kwargs) -> 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
beta.organization.service_accounts.retrieve(service_account_id, **kwargs) -> 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
beta.organization.service_accounts.update(service_account_id, **kwargs) -> 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
beta.organization.service_accounts.archive(service_account_id, **kwargs) -> 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
beta.organization.service_accounts.workspaces.add(service_account_id, **kwargs) -> 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
beta.organization.service_accounts.workspaces.list(service_account_id, **kwargs) -> 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
beta.organization.service_accounts.workspaces.remove(workspace_id, **kwargs) -> 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.
BetaOrganizationUsers
List Users
beta.organization.users.list(**kwargs) -> Page<BetaOrganizationUser>List the organization's members.
Get User
beta.organization.users.retrieve(user_id) -> BetaOrganizationUserRetrieve a member of the organization by user ID.
Update User
beta.organization.users.update(user_id, **kwargs) -> BetaOrganizationUserUpdate a member's organization role.
Remove User
beta.organization.users.remove(user_id) -> UserRemoveResponseRemove a member from the organization.
BetaOrganizationWorkspaces
List Workspaces
beta.organization.workspaces.list(**kwargs) -> Page<BetaWorkspace>Create Workspace
beta.organization.workspaces.create(**kwargs) -> BetaWorkspaceGet Workspace
beta.organization.workspaces.retrieve(workspace_id) -> BetaWorkspaceUpdate Workspace
beta.organization.workspaces.update(workspace_id, **kwargs) -> BetaWorkspaceArchive Workspace
beta.organization.workspaces.archive(workspace_id) -> BetaWorkspaceBetaOrganizationWorkspacesRate Limits
List Workspace Rate Limits
beta.organization.workspaces.rate_limits.list(workspace_id, **kwargs) -> PageCursor<BetaWorkspaceRateLimit>List a workspace's rate limits.
Set Workspace Rate Limits
beta.organization.workspaces.rate_limits.update(rate_limit_id, **kwargs) -> BetaWorkspaceRateLimitSet or clear rate-limit overrides for one rate-limit group in a workspace.
BetaOrganizationWorkspacesMembers
List Workspace Members
beta.organization.workspaces.members.list(workspace_id, **kwargs) -> Page<BetaWorkspaceMember>Create Workspace Member
beta.organization.workspaces.members.add(workspace_id, **kwargs) -> BetaWorkspaceMemberGet Workspace Member
beta.organization.workspaces.members.retrieve(user_id, **kwargs) -> BetaWorkspaceMemberUpdate Workspace Member
beta.organization.workspaces.members.update(user_id, **kwargs) -> BetaWorkspaceMemberDelete Workspace Member
beta.organization.workspaces.members.remove(user_id, **kwargs) -> MemberRemoveResponseBetaOrganizationWorkspacesService Accounts
List Service Account Workspace Members
beta.organization.workspaces.service_accounts.list(workspace_id, **kwargs) -> 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
beta.organization.workspaces.service_accounts.add(workspace_id, **kwargs) -> 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
beta.organization.workspaces.service_accounts.retrieve(service_account_id, **kwargs) -> 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
beta.organization.workspaces.service_accounts.update(service_account_id, **kwargs) -> 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
beta.organization.workspaces.service_accounts.remove(service_account_id, **kwargs) -> 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
beta.organization.rate_limits.list(**kwargs) -> PageCursor<BetaOrganizationRateLimit>List Messages API rate limits for your organization.
BetaOrganizationCompliance Settings
Get Compliance Settings
beta.organization.compliance_settings.retrieve() -> BetaComplianceSettingsRetrieve your organization's Compliance Settings.
Update Compliance Settings
beta.organization.compliance_settings.update(**kwargs) -> BetaComplianceSettingsUpdate your organization's Compliance Settings.
BetaOrganizationAnalyticsSummaries
Get Activity Summaries
beta.organization.analytics.summaries.list(**kwargs) -> PageCursor<BetaAnalyticsSingleDayActivitySummary>Get organization-wide activity summaries for a date range.
BetaOrganizationAnalyticsUsers
List User Activity
beta.organization.analytics.users.list(**kwargs) -> PageCursor<BetaAnalyticsUserActivity>Get per-user activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsAppsChatProjects
Get Chat Project Usage
beta.organization.analytics.apps.chat.projects.list(**kwargs) -> PageCursor<BetaAnalyticsProjectActivity>Get per-project activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsConnectors
Get Connector Usage
beta.organization.analytics.connectors.list(**kwargs) -> PageCursor<BetaAnalyticsConnectorActivity>Get per-connector usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsPlugins
Get Plugin Usage
beta.organization.analytics.plugins.list(**kwargs) -> PageCursor<BetaAnalyticsPluginActivity>Get per-plugin install + invocation usage for a given day, with pagination.
BetaOrganizationAnalyticsSkills
Get Skill Usage
beta.organization.analytics.skills.list(**kwargs) -> PageCursor<BetaAnalyticsSkillActivity>Get per-skill usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsArtifacts
Get Artifact Activity
beta.organization.analytics.artifacts.list(**kwargs) -> PageCursor<BetaAnalyticsArtifactActivity>Get artifact-creation activity for a given day, broken out by MIME type.
BetaOrganizationAnalyticsUsage
Get Token Usage By Dimension
beta.organization.analytics.usage.list(**kwargs) -> ReportPageCursor<BetaAnalyticsUsageItem>anthropic-beta: analytics-usage-cost-2026-08-24. How to send beta headersGet token usage across a date range, broken out by dimension.
BetaOrganizationAnalyticsCost
Get Cost By Dimension
beta.organization.analytics.cost.list(**kwargs) -> ReportPageCursor<BetaAnalyticsCostItem>anthropic-beta: analytics-usage-cost-2026-08-24. How to send beta headersGet cost in USD across a date range, broken out by dimension.
BetaOrganizationAnalyticsUsage Report
Get Token Usage Over Time
beta.organization.analytics.usage_report.list(**kwargs) -> ReportPageCursor<BetaAnalyticsUsageReportTimeBucket>[Legacy] Get token usage over time across a date range.
BetaOrganizationAnalyticsUser Usage Report
Get Per-User Token Usage
beta.organization.analytics.user_usage_report.list(**kwargs) -> ReportPageCursor<BetaAnalyticsUsageUsersItem>[Legacy] Get per-user token usage across a date range.
BetaOrganizationAnalyticsCost Report
Get Cost Over Time
beta.organization.analytics.cost_report.list(**kwargs) -> ReportPageCursor<BetaAnalyticsCostReportTimeBucket>[Legacy] Get cost in USD over time across a date range.
BetaOrganizationAnalyticsUser Cost Report
Get Per-User Cost
beta.organization.analytics.user_cost_report.list(**kwargs) -> ReportPageCursor<BetaAnalyticsCostUsersItem>[Legacy] Get per-user cost in USD across a date range.
BetaOrganizationSpend Limits
Set Spend Limit
beta.organization.spend_limits.set(**kwargs) -> BetaSpendLimitSet a spend limit.
Get Spend Limit
beta.organization.spend_limits.retrieve(spend_limit_id) -> BetaSpendLimitRetrieve a spend limit by ID.
Delete Spend Limit
beta.organization.spend_limits.delete(spend_limit_id) -> SpendLimitDeleteResponseDelete a spend limit.
List Spend Limits
beta.organization.spend_limits.list(**kwargs) -> PageCursor<BetaSpendLimit>anthropic-beta: spend-limit-reads-2026-09-26. How to send beta headersList the organization's spend limits.
BetaOrganizationSpend LimitsEffective
List Effective Spend Limits
beta.organization.spend_limits.effective.list(**kwargs) -> PageCursor<BetaSpendSummary>List each member's effective spend limit and period-to-date spend.
BetaOrganizationSpend LimitsIncrease Requests
List Spend Limit Increase Requests
beta.organization.spend_limits.increase_requests.list(**kwargs) -> PageCursor<BetaSpendLimitIncreaseRequest>List spend limit increase requests, most recent first.
Get Spend Limit Increase Request
beta.organization.spend_limits.increase_requests.retrieve(spend_limit_increase_request_id) -> BetaSpendLimitIncreaseRequestRetrieve a spend limit increase request.
Approve Spend Limit Increase Request
beta.organization.spend_limits.increase_requests.approve(spend_limit_increase_request_id, **kwargs) -> IncreaseRequestApproveResponseApprove a pending spend limit increase request.
Deny Spend Limit Increase Request
beta.organization.spend_limits.increase_requests.deny(spend_limit_increase_request_id, **kwargs) -> BetaSpendLimitIncreaseRequestDeny a pending spend limit increase request.
BetaOrganizationRBAC Groups
Create RBAC Group
beta.organization.rbac_groups.create(**kwargs) -> BetaRBACGroupCreate an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type "direct".
List RBAC Groups
beta.organization.rbac_groups.list(**kwargs) -> PageCursor<BetaRBACGroup>List RBAC Groups in the Claude Enterprise tenant.
Get RBAC Group
beta.organization.rbac_groups.retrieve(rbac_group_id) -> BetaRBACGroupRetrieve an RBAC Group by ID.
Update RBAC Group
beta.organization.rbac_groups.update(rbac_group_id, **kwargs) -> 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
beta.organization.rbac_groups.delete(rbac_group_id) -> 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
beta.organization.rbac_groups.members.list(rbac_group_id, **kwargs) -> PageCursor<BetaRBACGroupMember>List members of an RBAC Group.
Add RBAC Group Member
beta.organization.rbac_groups.members.add(rbac_group_id, **kwargs) -> 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
beta.organization.rbac_groups.members.remove(user_id, **kwargs) -> 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
beta.organization.rbac_roles.list(**kwargs) -> PageCursor<BetaRBACRole>List RBAC Roles in the organization.
Get RBAC Role
beta.organization.rbac_roles.retrieve(rbac_role_id) -> BetaRBACRoleRetrieve an RBAC Role by ID.
BetaOrganizationRBAC RolesPermissions
List RBAC Role Permissions
beta.organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> PageCursor<BetaRBACRolePermission>List the permissions an RBAC Role grants.
BetaOrganizationPlugins
Create Plugin
beta.organization.plugins.create(**kwargs) -> BetaPluginanthropic-beta: ce-plugins-2026-09-01. How to send beta headersCreate an organization-owned Plugin and its first version by uploading the version's files.
Get Plugin
beta.organization.plugins.retrieve(plugin_id, **kwargs) -> BetaPluginanthropic-beta: ce-plugins-2026-09-01. How to send beta headersRetrieve a Plugin by ID.
Update Plugin
beta.organization.plugins.update(plugin_id, **kwargs) -> BetaPluginanthropic-beta: ce-plugins-2026-09-01. How to send beta headersChange 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
beta.organization.plugins.list(**kwargs) -> PageCursor<BetaPlugin>anthropic-beta: ce-plugins-2026-09-01. How to send beta headersList 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
beta.organization.plugins.delete(plugin_id, **kwargs) -> BetaDeletedPluginanthropic-beta: ce-plugins-2026-09-01. How to send beta headersPermanently 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.
BetaOrganizationPluginsVersions
Create Plugin Version
beta.organization.plugins.versions.create(plugin_id, **kwargs) -> BetaPluginVersionanthropic-beta: ce-plugins-2026-09-01. How to send beta headersAdd 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
beta.organization.plugins.versions.list(plugin_id, **kwargs) -> PageCursor<BetaPluginVersion>anthropic-beta: ce-plugins-2026-09-01. How to send beta headersList a Plugin's versions, newest first.
Get Plugin Version
beta.organization.plugins.versions.retrieve(version, **kwargs) -> BetaPluginVersionanthropic-beta: ce-plugins-2026-09-01. How to send beta headersRetrieve one version of a Plugin by its ID, or the Plugin's newest version.
Download Plugin Version Archive
beta.organization.plugins.versions.download(version, **kwargs) -> StringIOanthropic-beta: ce-plugins-2026-09-01. How to send beta headersDownload 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
beta.organization.plugins.installation_settings.list(plugin_id, **kwargs) -> PageCursor<BetaPluginInstallationSetting>anthropic-beta: ce-plugins-2026-09-01. How to send beta headersList an organization-owned Plugin's installation settings, which say which members it is for, most recently created first.
Set Plugin Installation Setting
beta.organization.plugins.installation_settings.set(target, **kwargs) -> BetaPluginInstallationSettinganthropic-beta: ce-plugins-2026-09-01. How to send beta headersSet or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group.
Remove Plugin Installation Setting
beta.organization.plugins.installation_settings.remove(target, **kwargs) -> BetaDeletedPluginInstallationSettinganthropic-beta: ce-plugins-2026-09-01. How to send beta headersRemove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group.
BetaOrganizationPlugin Marketplaces
List Plugin Marketplaces
beta.organization.plugin_marketplaces.list(**kwargs) -> PageCursor<BetaPluginMarketplace>anthropic-beta: ce-plugins-2026-09-01. How to send beta headersList the plugin marketplaces Plugins live in, newest first: the organization's own and its members' personal ones.
Get Plugin Marketplace
beta.organization.plugin_marketplaces.retrieve(marketplace_id, **kwargs) -> BetaPluginMarketplaceanthropic-beta: ce-plugins-2026-09-01. How to send beta headersRetrieve a plugin marketplace by ID.
Update Plugin Marketplace
beta.organization.plugin_marketplaces.update(marketplace_id, **kwargs) -> BetaPluginMarketplaceanthropic-beta: ce-plugins-2026-09-01. How to send beta headersSet 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
beta.organization.plugin_marketplaces.validate_repository(**kwargs) -> BetaPluginMarketplaceValidationReportanthropic-beta: ce-plugins-2026-09-01. How to send beta headersCheck whether a plugin marketplace held in a public GitHub repository would synchronize into claude.ai, without connecting or storing it.
Validate Plugin Marketplace Archive
beta.organization.plugin_marketplaces.validate_archive(**kwargs) -> BetaPluginMarketplaceValidationReportanthropic-beta: ce-plugins-2026-09-01. How to send beta headersCheck 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
beta.organization.telemetry_destinations.create(**kwargs) -> BetaTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersRegister an OpenTelemetry destination for the organization.
List Telemetry Destinations
beta.organization.telemetry_destinations.list(**kwargs) -> PageCursor<BetaTelemetryDestination>anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersList the organization's destinations, newest first, optionally only those that cover given workspaces.
Retrieve a Telemetry Destination
beta.organization.telemetry_destinations.retrieve(destination_id, **kwargs) -> BetaTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersRead a destination's configuration, state, and most recent delivery results.
Update a Telemetry Destination
beta.organization.telemetry_destinations.update(destination_id, **kwargs) -> BetaTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersChange a telemetry destination's settings, its state, or which workspaces it covers.
Delete a Telemetry Destination
beta.organization.telemetry_destinations.delete(destination_id, **kwargs) -> BetaDeletedTelemetryDestinationanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersDelete a destination and its workspace list.
Test a Telemetry Destination
beta.organization.telemetry_destinations.test_(destination_id, **kwargs) -> BetaTelemetryDestinationTestResponseanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersSend 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
beta.organization.telemetry_destinations.workspaces.list(destination_id, **kwargs) -> PageCursor<BetaTelemetryDestinationWorkspace>anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersList the workspaces on a destination's workspace list, newest entry first.
Add a Telemetry Destination Workspace
beta.organization.telemetry_destinations.workspaces.add(workspace_id, **kwargs) -> BetaTelemetryDestinationWorkspaceanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersAdd one workspace to a destination's workspace list.
Remove a Telemetry Destination Workspace
beta.organization.telemetry_destinations.workspaces.remove(workspace_id, **kwargs) -> BetaDeletedTelemetryDestinationWorkspaceanthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersRemove one workspace from a destination's workspace list.
BetaOrganizationWebhooks
Create Organization Webhook Endpoint
beta.organization.webhooks.create(**kwargs) -> BetaNewOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. How to send beta headersCreate an organization webhook endpoint.
List Organization Webhook Endpoints
beta.organization.webhooks.list(**kwargs) -> Page<BetaOrganizationWebhookEndpoint>anthropic-beta: webhooks-2026-10-07. How to send beta headersList the organization's webhook endpoints.
Get Organization Webhook Endpoint
beta.organization.webhooks.retrieve(webhook_endpoint_id, **kwargs) -> BetaOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. How to send beta headersRetrieve an organization webhook endpoint by ID.
Update Organization Webhook Endpoint
beta.organization.webhooks.update(webhook_endpoint_id, **kwargs) -> BetaOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. How to send beta headersUpdate an organization webhook endpoint. Only the fields you send are changed.
Delete Organization Webhook Endpoint
beta.organization.webhooks.delete(webhook_endpoint_id, **kwargs) -> BetaDeletedOrganizationWebhookEndpointanthropic-beta: webhooks-2026-10-07. How to send beta headersDelete an organization webhook endpoint.
Regenerate Organization Webhook Endpoint Signing Secret
beta.organization.webhooks.regenerate_signing_secret(webhook_endpoint_id, **kwargs) -> BetaOrganizationWebhookEndpointSigningSecretanthropic-beta: webhooks-2026-10-07. How to send beta headersReplace 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
beta.organization.claude_tag.slack_channels.create(**kwargs) -> BetaClaudeTagSlackChannelanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersSet 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
beta.organization.claude_tag.slack_channels.list(**kwargs) -> PageCursor<BetaClaudeTagSlackChannel>anthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersList 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
beta.organization.claude_tag.slack_channels.retrieve(id, **kwargs) -> BetaClaudeTagSlackChannelanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersGet 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
beta.organization.claude_tag.slack_channels.update(id, **kwargs) -> BetaClaudeTagSlackChannelanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersChange 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
beta.organization.claude_tag.slack_channels.delete(id, **kwargs) -> BetaClaudeTagDeletedSlackChannelanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersRemove 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
beta.organization.claude_tag.slack_workspaces.list(**kwargs) -> PageCursor<BetaClaudeTagSlackWorkspace>anthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersList 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
beta.organization.claude_tag.slack_workspaces.retrieve(id, **kwargs) -> BetaClaudeTagSlackWorkspaceanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersGet 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
beta.organization.claude_tag.slack_workspaces.update(id, **kwargs) -> BetaClaudeTagSlackWorkspaceanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersChange 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
beta.organization.claude_tag.bundles.list(**kwargs) -> PageCursor<BetaClaudeTagBundle>anthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersList the organization's Bundles, newest first by created_at. A Bundle that Claude Tag manages for itself is not listed.
Get Bundle
beta.organization.claude_tag.bundles.retrieve(bundle_id, **kwargs) -> BetaClaudeTagBundleanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersGet one Bundle. What the Bundle grants (connectors, repositories and credentials) is never returned.
BetaOrganizationClaude TagBundlesTargets
List Bundle Targets
beta.organization.claude_tag.bundles.targets.list(bundle_id, **kwargs) -> PageCursor<BetaClaudeTagBundleTarget>anthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersList 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
beta.organization.claude_tag.bundles.targets.create(bundle_id, **kwargs) -> BetaClaudeTagBundleTargetanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersAttach 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
beta.organization.claude_tag.bundles.targets.retrieve(target_id, **kwargs) -> BetaClaudeTagBundleTargetanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersGet 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
beta.organization.claude_tag.bundles.targets.delete(target_id, **kwargs) -> BetaClaudeTagDeletedBundleTargetanthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersDetach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404.