Beta
Models
Errors
BetaModels
List Models
ModelListPage beta().models().list(params = ModelListParams.none(), requestOptions = RequestOptions.none())List available models.
Get a Model
BetaModelInfo beta().models().retrieve(params = ModelRetrieveParams.none(), requestOptions = RequestOptions.none())Get a specific model.
BetaMessages
Create a Message
BetaMessage beta().messages().create(params, requestOptions = RequestOptions.none())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
BetaMessageTokensCount beta().messages().countTokens(params, requestOptions = RequestOptions.none())Count the number of tokens in a Message.
BetaMessagesBatches
Create a Message Batch
BetaMessageBatch beta().messages().batches().create(params, requestOptions = RequestOptions.none())Send a batch of Message creation requests.
Retrieve a Message Batch
BetaMessageBatch beta().messages().batches().retrieve(params = BatchRetrieveParams.none(), requestOptions = RequestOptions.none())This 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
BatchListPage beta().messages().batches().list(params = BatchListParams.none(), requestOptions = RequestOptions.none())List all Message Batches within a Workspace. Most recently created batches are returned first.
Cancel a Message Batch
BetaMessageBatch beta().messages().batches().cancel(params = BatchCancelParams.none(), requestOptions = RequestOptions.none())Batches 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
BetaDeletedMessageBatch beta().messages().batches().delete(params = BatchDeleteParams.none(), requestOptions = RequestOptions.none())Retrieve Message Batch results
StreamResponse<BetaMessageBatchIndividualResponse> beta().messages().batches().resultsStreaming(params = BatchResultsParams.none(), requestOptions = RequestOptions.none())Streams the results of a Message Batch as a .jsonl file.
BetaAgents
Create Agent
BetaManagedAgentsAgent beta().agents().create(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Agents
AgentListPage beta().agents().list(params = AgentListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Agent
BetaManagedAgentsAgent beta().agents().retrieve(params = AgentRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Agent
BetaManagedAgentsAgent beta().agents().update(params = AgentUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Agent
BetaManagedAgentsAgent beta().agents().archive(params = AgentArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaAgentsVersions
List Agent Versions
VersionListPage beta().agents().versions().list(params = VersionListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaEnvironments
Create Environment
BetaEnvironment beta().environments().create(params, requestOptions = RequestOptions.none())Create a new environment with the specified configuration.
List Environments
EnvironmentListPage beta().environments().list(params = EnvironmentListParams.none(), requestOptions = RequestOptions.none())List environments with pagination support.
Get Environment
BetaEnvironment beta().environments().retrieve(params = EnvironmentRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve a specific environment by ID.
Update Environment
BetaEnvironment beta().environments().update(params = EnvironmentUpdateParams.none(), requestOptions = RequestOptions.none())Update an existing environment's configuration.
Delete Environment
BetaEnvironmentDeleteResponse beta().environments().delete(params = EnvironmentDeleteParams.none(), requestOptions = RequestOptions.none())Delete an environment by ID. Returns a confirmation of the deletion.
Archive Environment
BetaEnvironment beta().environments().archive(params = EnvironmentArchiveParams.none(), requestOptions = RequestOptions.none())Archive an environment by ID. Archived environments cannot be used to create new sessions.
BetaEnvironmentsWork
Get Work Item
BetaSelfHostedWork beta().environments().work().retrieve(params, requestOptions = RequestOptions.none())Retrieve detailed information about a specific work item.
Poll for Work
BetaSelfHostedWork beta().environments().work().poll(params = WorkPollParams.none(), requestOptions = RequestOptions.none())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.
Acknowledge Work
BetaSelfHostedWork beta().environments().work().ack(params, requestOptions = RequestOptions.none())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.
Record Heartbeat
BetaSelfHostedWorkHeartbeatResponse beta().environments().work().heartbeat(params, requestOptions = RequestOptions.none())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.
Stop Work
BetaSelfHostedWork beta().environments().work().stop(params, requestOptions = RequestOptions.none())Stop a work item, initiating graceful or forced shutdown.
List Work Items
WorkListPage beta().environments().work().list(params = WorkListParams.none(), requestOptions = RequestOptions.none())List work items in an environment.
Update Work Item
BetaSelfHostedWork beta().environments().work().update(params, requestOptions = RequestOptions.none())Update work item metadata with merge semantics.
Get Queue Statistics
BetaSelfHostedWorkQueueStats beta().environments().work().stats(params = WorkStatsParams.none(), requestOptions = RequestOptions.none())Get statistics about the work queue for an environment.
BetaSessions
Create Session
BetaManagedAgentsSession beta().sessions().create(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Sessions
SessionListPage beta().sessions().list(params = SessionListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session
BetaManagedAgentsSession beta().sessions().retrieve(params = SessionRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session
BetaManagedAgentsSession beta().sessions().update(params = SessionUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session
BetaManagedAgentsDeletedSession beta().sessions().delete(params = SessionDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session
BetaManagedAgentsSession beta().sessions().archive(params = SessionArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsEvents
List Events
EventListPage beta().sessions().events().list(params = EventListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Send Events
BetaManagedAgentsSendSessionEvents beta().sessions().events().send(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Events
StreamResponse<BetaManagedAgentsStreamSessionEvents> beta().sessions().events().streamStreaming(params = EventStreamParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsResources
Add Session Resource
BetaManagedAgentsFileResource beta().sessions().resources().add(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Session Resources
ResourceListPage beta().sessions().resources().list(params = ResourceListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Resource
ResourceRetrieveResponse beta().sessions().resources().retrieve(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Session Resource
ResourceUpdateResponse beta().sessions().resources().update(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete Session Resource
BetaManagedAgentsDeleteSessionResource beta().sessions().resources().delete(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreads
List Session Threads
ThreadListPage beta().sessions().threads().list(params = ThreadListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Session Thread
BetaManagedAgentsSessionThread beta().sessions().threads().retrieve(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Session Thread
BetaManagedAgentsSessionThread beta().sessions().threads().archive(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaSessionsThreadsEvents
List Session Thread Events
EventListPage beta().sessions().threads().events().list(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Session Thread Events
StreamResponse<BetaManagedAgentsStreamSessionThreadEvents> beta().sessions().threads().events().streamStreaming(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployments
Create Deployment
BetaManagedAgentsDeployment beta().deployments().create(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Deployments
DeploymentListPage beta().deployments().list(params = DeploymentListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment
BetaManagedAgentsDeployment beta().deployments().retrieve(params = DeploymentRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update Deployment
BetaManagedAgentsDeployment beta().deployments().update(params = DeploymentUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive Deployment
BetaManagedAgentsDeployment beta().deployments().archive(params = DeploymentArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Run Deployment Now
BetaManagedAgentsDeploymentRun beta().deployments().run(params = DeploymentRunParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Pause Deployment
BetaManagedAgentsDeployment beta().deployments().pause(params = DeploymentPauseParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Unpause Deployment
BetaManagedAgentsDeployment beta().deployments().unpause(params = DeploymentUnpauseParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaDeployment Runs
List Deployment Runs
DeploymentRunListPage beta().deploymentRuns().list(params = DeploymentRunListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Get Deployment Run
BetaManagedAgentsDeploymentRun beta().deploymentRuns().retrieve(params = DeploymentRunRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaults
Create a Vault
BetaManagedAgentsVault beta().vaults().create(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Vaults
VaultListPage beta().vaults().list(params = VaultListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Vault
BetaManagedAgentsVault beta().vaults().retrieve(params = VaultRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Vault
BetaManagedAgentsVault beta().vaults().update(params = VaultUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Vault
BetaManagedAgentsDeletedVault beta().vaults().delete(params = VaultDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Vault
BetaManagedAgentsVault beta().vaults().archive(params = VaultArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaVaultsCredentials
Create a Credential
BetaManagedAgentsCredential beta().vaults().credentials().create(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Credentials
CredentialListPage beta().vaults().credentials().list(params = CredentialListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Credential
BetaManagedAgentsCredential beta().vaults().credentials().retrieve(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Credential
BetaManagedAgentsCredential beta().vaults().credentials().update(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Credential
BetaManagedAgentsDeletedCredential beta().vaults().credentials().delete(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Credential
BetaManagedAgentsCredential beta().vaults().credentials().archive(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Validate an MCP OAuth Credential
BetaManagedAgentsCredentialValidation beta().vaults().credentials().mcpOAuthValidate(params, requestOptions = RequestOptions.none())anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaMemory Stores
Create a Memory Store
BetaManagedAgentsMemoryStore beta().memoryStores().create(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memory Stores
MemoryStoreListPage beta().memoryStores().list(params = MemoryStoreListParams.none(), requestOptions = RequestOptions.none())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
BetaManagedAgentsMemoryStore beta().memoryStores().retrieve(params = MemoryStoreRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory Store
BetaManagedAgentsMemoryStore beta().memoryStores().update(params = MemoryStoreUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory Store
BetaManagedAgentsDeletedMemoryStore beta().memoryStores().delete(params = MemoryStoreDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Archive a Memory Store
BetaManagedAgentsMemoryStore beta().memoryStores().archive(params = MemoryStoreArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaManagedAgentsMemory beta().memoryStores().memories().create(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.List Memories
MemoryListPage beta().memoryStores().memories().list(params = MemoryListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Retrieve a Memory
BetaManagedAgentsMemory beta().memoryStores().memories().retrieve(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Update a Memory
BetaManagedAgentsMemory beta().memoryStores().memories().update(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Delete a Memory
BetaManagedAgentsDeletedMemory beta().memoryStores().memories().delete(params, requestOptions = RequestOptions.none())anthropic-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
MemoryVersionListPage beta().memoryStores().memoryVersions().list(params = MemoryVersionListParams.none(), requestOptions = RequestOptions.none())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
BetaManagedAgentsMemoryVersion beta().memoryStores().memoryVersions().retrieve(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Redact a Memory Version
BetaManagedAgentsMemoryVersion beta().memoryStores().memoryVersions().redact(params, requestOptions = RequestOptions.none())anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.BetaFiles
Upload File
BetaFileMetadata beta().files().upload(params, requestOptions = RequestOptions.none())List Files
FileListPage beta().files().list(params = FileListParams.none(), requestOptions = RequestOptions.none())Download File
HttpResponse beta().files().download(params = FileDownloadParams.none(), requestOptions = RequestOptions.none())Get File Metadata
BetaFileMetadata beta().files().retrieveMetadata(params = FileRetrieveMetadataParams.none(), requestOptions = RequestOptions.none())Delete File
BetaDeletedFile beta().files().delete(params = FileDeleteParams.none(), requestOptions = RequestOptions.none())BetaSkills
Create Skill
BetaSkill beta().skills().create(params, requestOptions = RequestOptions.none())List Skills
SkillListPage beta().skills().list(params = SkillListParams.none(), requestOptions = RequestOptions.none())Delete Skill
BetaDeletedSkill beta().skills().delete(params = SkillDeleteParams.none(), requestOptions = RequestOptions.none())BetaSkillsVersions
Create Skill Version
BetaSkillVersion beta().skills().versions().create(params, requestOptions = RequestOptions.none())List Skill Versions
VersionListPage beta().skills().versions().list(params = VersionListParams.none(), requestOptions = RequestOptions.none())Download Skill Version Content
HttpResponse beta().skills().versions().download(params, requestOptions = RequestOptions.none())Download a skill version's content as a zip archive.
Get Skill Version
BetaSkillVersion beta().skills().versions().retrieve(params, requestOptions = RequestOptions.none())Delete Skill Version
BetaDeletedSkillVersion beta().skills().versions().delete(params, requestOptions = RequestOptions.none())BetaWebhooks
Unwrap
UnwrapWebhookEvent beta().webhooks().unwrap(unwrapParams)Verifies 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
UnwrapWebhookEvent beta().webhooks().parseUnverified(body)Parses 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
BetaUserProfile beta().userProfiles().create(params = UserProfileCreateParams.none(), requestOptions = RequestOptions.none())Register one of your end customers and get the ID to send on the requests you make for them.
List User Profiles
UserProfileListPage beta().userProfiles().list(params = UserProfileListParams.none(), requestOptions = RequestOptions.none())List the user profiles in your organization, newest first by default.
Get User Profile
BetaUserProfile beta().userProfiles().retrieve(params = UserProfileRetrieveParams.none(), requestOptions = RequestOptions.none())Get a user profile by ID to check the details stored for it.
Update User Profile
BetaUserProfile beta().userProfiles().update(params = UserProfileUpdateParams.none(), requestOptions = RequestOptions.none())Change the details of a user profile, leaving the fields that you don't send as they are.
Delete User Profile
BetaDeletedUserProfile beta().userProfiles().delete(params = UserProfileDeleteParams.none(), requestOptions = RequestOptions.none())Delete a user profile, for example when the end customer closes their account.
Create Enrollment URL
BetaUserProfileEnrollmentUrl beta().userProfiles().createEnrollmentUrl(params = UserProfileCreateEnrollmentUrlParams.none(), requestOptions = RequestOptions.none())Create a link that sends the profile's end customer to the Verification Portal from Claude Platform on AWS.
BetaUser ProfilesAction URLs
Create Action URL
BetaUserProfileActionUrl beta().userProfiles().actionUrls().create(params, requestOptions = RequestOptions.none())Create a link that sends the profile's end customer to the Verification Portal.
BetaUser ProfilesProvidersGoogleData Controls
Get Google-Managed Data Controls
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().retrieve(params = DataControlRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Get the profile's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's status.
Update Google-Managed Data Controls
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().update(params = DataControlUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Turn a control on or off, or change the key or bucket set for a region. Controls and regions that you leave out stay as they are.
BetaDreams
Create a Dream
BetaDream beta().dreams().create(params, requestOptions = RequestOptions.none())anthropic-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
DreamListPage beta().dreams().list(params = DreamListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.List the dreams in the workspace, newest first.
Get a Dream
BetaDream beta().dreams().retrieve(params = DreamRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaDream beta().dreams().cancel(params = DreamCancelParams.none(), requestOptions = RequestOptions.none())anthropic-beta: dreaming-2026-04-21. Learn how to send beta headers.Stop a pending or running dream.
Archive a Dream
BetaDream beta().dreams().archive(params = DreamArchiveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaTunnel beta().tunnels().create(params = TunnelCreateParams.none(), requestOptions = RequestOptions.none())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.
Get Tunnel
BetaTunnel beta().tunnels().retrieve(params = TunnelRetrieveParams.none(), requestOptions = RequestOptions.none())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.
List Tunnels
TunnelListPage beta().tunnels().list(params = TunnelListParams.none(), requestOptions = RequestOptions.none())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
BetaTunnel beta().tunnels().archive(params = TunnelArchiveParams.none(), requestOptions = RequestOptions.none())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.
Reveal Tunnel Token
BetaTunnelToken beta().tunnels().revealToken(params = TunnelRevealTokenParams.none(), requestOptions = RequestOptions.none())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.
Rotate Tunnel Token
BetaTunnelToken beta().tunnels().rotateToken(params = TunnelRotateTokenParams.none(), requestOptions = RequestOptions.none())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.
BetaTunnelsCertificates
Create Tunnel Certificate
BetaTunnelCertificate beta().tunnels().certificates().create(params, requestOptions = RequestOptions.none())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.
Get Tunnel Certificate
BetaTunnelCertificate beta().tunnels().certificates().retrieve(params, requestOptions = RequestOptions.none())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.
List Tunnel Certificates
CertificateListPage beta().tunnels().certificates().list(params = CertificateListParams.none(), requestOptions = RequestOptions.none())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
BetaTunnelCertificate beta().tunnels().certificates().archive(params, requestOptions = RequestOptions.none())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.
BetaComplianceReviewCases
List Review Cases
CaseListPage beta().compliance().review().cases().list(params = CaseListParams.none(), requestOptions = RequestOptions.none())List the review cases of every organization that the API key can reach, newest first by default. Both open and closed cases are returned unless status is set.
Get Review Case
BetaComplianceReviewCase beta().compliance().review().cases().retrieve(params = CaseRetrieveParams.none(), requestOptions = RequestOptions.none())Read one review case.
Respond to Review Case
BetaComplianceReviewCase beta().compliance().review().cases().respond(params, requestOptions = RequestOptions.none())Send your conclusion on a review case. A response closes the case, and a closed case can't be reopened.
BetaComplianceReviewNotices
List Review Notices
NoticeListPage beta().compliance().review().notices().list(params = NoticeListParams.none(), requestOptions = RequestOptions.none())List Anthropic's notices to the organizations that the API key can reach, newest first by default. A notice is returned only if the API key can read every case in its case_ids.
BetaComplianceReviewItems
Get Review Item
BetaComplianceReviewItem beta().compliance().review().items().retrieve(params = ItemRetrieveParams.none(), requestOptions = RequestOptions.none())Read one message that Anthropic flagged for your organization to review, with its request and response.
BetaOrganization
Get Current Organization
BetaOrganization beta().organization().retrieve(params = OrganizationRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve information about the organization associated with the authenticated API key.
BetaOrganizationAPI Keys
List API Keys
ApiKeyListPage beta().organization().apiKeys().list(params = ApiKeyListParams.none(), requestOptions = RequestOptions.none())Retrieve API Key (Admin API)
BetaApiKey beta().organization().apiKeys().retrieve(params = ApiKeyRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve 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
BetaApiKey beta().organization().apiKeys().update(params = ApiKeyUpdateParams.none(), requestOptions = RequestOptions.none())BetaOrganizationExternal Keys
Create External Key
BetaExternalKey beta().organization().externalKeys().create(params, requestOptions = RequestOptions.none())Create an external key config owned by the caller's organization.
List External Keys
ExternalKeyListPage beta().organization().externalKeys().list(params = ExternalKeyListParams.none(), requestOptions = RequestOptions.none())List external key configs in the caller's organization.
Get External Key
BetaExternalKey beta().organization().externalKeys().retrieve(params = ExternalKeyRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve a single external key config in the caller's organization by ID.
Update External Key
BetaExternalKey beta().organization().externalKeys().update(params = ExternalKeyUpdateParams.none(), requestOptions = RequestOptions.none())Partially update an external key config. Omitted fields are left unchanged.
Delete External Key
ExternalKeyDeleteResponse beta().organization().externalKeys().delete(params = ExternalKeyDeleteParams.none(), requestOptions = RequestOptions.none())Delete an external key config.
Validate External Key
ExternalKeyValidateResponse beta().organization().externalKeys().validate(params = ExternalKeyValidateParams.none(), requestOptions = RequestOptions.none())Validate an external key config against the customer's KMS.
BetaOrganizationFederationIssuers
Create Federation Issuer
BetaFederationIssuer beta().organization().federation().issuers().create(params, requestOptions = RequestOptions.none())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.
List Federation Issuers
IssuerListPage beta().organization().federation().issuers().list(params = IssuerListParams.none(), requestOptions = RequestOptions.none())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
BetaFederationIssuer beta().organization().federation().issuers().retrieve(params = IssuerRetrieveParams.none(), requestOptions = RequestOptions.none())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.
Update Federation Issuer
BetaFederationIssuer beta().organization().federation().issuers().update(params = IssuerUpdateParams.none(), requestOptions = RequestOptions.none())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.
Archive Federation Issuer
BetaFederationIssuer beta().organization().federation().issuers().archive(params = IssuerArchiveParams.none(), requestOptions = RequestOptions.none())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.
BetaOrganizationFederationRules
Create Federation Rule
BetaFederationRule beta().organization().federation().rules().create(params, requestOptions = RequestOptions.none())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.
List Federation Rules
RuleListPage beta().organization().federation().rules().list(params = RuleListParams.none(), requestOptions = RequestOptions.none())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
BetaFederationRule beta().organization().federation().rules().retrieve(params = RuleRetrieveParams.none(), requestOptions = RequestOptions.none())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.
Update Federation Rule
BetaFederationRule beta().organization().federation().rules().update(params = RuleUpdateParams.none(), requestOptions = RequestOptions.none())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.
Archive Federation Rule
BetaFederationRule beta().organization().federation().rules().archive(params = RuleArchiveParams.none(), requestOptions = RequestOptions.none())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.
BetaOrganizationFederationRulesWorkspaces
Add Federation Rule Workspace
BetaFederationRuleWorkspace beta().organization().federation().rules().workspaces().add(params, requestOptions = RequestOptions.none())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.
List Federation Rule Workspaces
WorkspaceListPage beta().organization().federation().rules().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())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
WorkspaceRemoveResponse beta().organization().federation().rules().workspaces().remove(params, requestOptions = RequestOptions.none())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.
BetaOrganizationInvites
Create Invite
BetaOrganizationInvite beta().organization().invites().create(params, requestOptions = RequestOptions.none())Invite a user to join the organization by email.
List Invites
InviteListPage beta().organization().invites().list(params = InviteListParams.none(), requestOptions = RequestOptions.none())List the organization's invites.
Get Invite
BetaOrganizationInvite beta().organization().invites().retrieve(params = InviteRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve an invite by ID.
Delete Invite
InviteDeleteResponse beta().organization().invites().delete(params = InviteDeleteParams.none(), requestOptions = RequestOptions.none())Delete a pending invite.
BetaOrganizationService Accounts
Create Service Account
BetaServiceAccount beta().organization().serviceAccounts().create(params, requestOptions = RequestOptions.none())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.
List Service Accounts
ServiceAccountListPage beta().organization().serviceAccounts().list(params = ServiceAccountListParams.none(), requestOptions = RequestOptions.none())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
BetaServiceAccount beta().organization().serviceAccounts().retrieve(params = ServiceAccountRetrieveParams.none(), requestOptions = RequestOptions.none())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.
Update Service Account
BetaServiceAccount beta().organization().serviceAccounts().update(params = ServiceAccountUpdateParams.none(), requestOptions = RequestOptions.none())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.
Archive Service Account
BetaServiceAccount beta().organization().serviceAccounts().archive(params = ServiceAccountArchiveParams.none(), requestOptions = RequestOptions.none())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.
BetaOrganizationService AccountsWorkspaces
Add Workspace To Service Account
BetaServiceAccountWorkspaceMember beta().organization().serviceAccounts().workspaces().add(params, requestOptions = RequestOptions.none())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.
List Workspaces For Service Account
WorkspaceListPage beta().organization().serviceAccounts().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())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
WorkspaceRemoveResponse beta().organization().serviceAccounts().workspaces().remove(params, requestOptions = RequestOptions.none())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.
BetaOrganizationExternal Storage
Create External Storage
BetaExternalStorage beta().organization().externalStorage().create(params, requestOptions = RequestOptions.none())anthropic-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
ExternalStorageListPage beta().organization().externalStorage().list(params = ExternalStorageListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: efs-2026-10-01. Learn how to send beta headers.List the organization's External Storage, newest first.
Get External Storage
BetaExternalStorage beta().organization().externalStorage().retrieve(params = ExternalStorageRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: efs-2026-10-01. Learn how to send beta headers.Get one External Storage in the organization.
Update External Storage
BetaExternalStorage beta().organization().externalStorage().update(params, requestOptions = RequestOptions.none())anthropic-beta: efs-2026-10-01. Learn how to send beta headers.Rename External Storage or clear its name, in any status.
Delete External Storage
BetaDeletedExternalStorage beta().organization().externalStorage().delete(params = ExternalStorageDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaExternalStorage beta().organization().externalStorage().activate(params = ExternalStorageActivateParams.none(), requestOptions = RequestOptions.none())anthropic-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.
BetaOrganizationProvidersGoogleProjectsData Controls
Get Google-Managed Project Data Controls
BetaGoogleManagedProjectDataControls beta().organization().providers().google().projects().dataControls().retrieve(params = DataControlRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Get a Google Cloud project's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's status.
Update Google-Managed Project Data Controls
BetaGoogleManagedProjectDataControls beta().organization().providers().google().projects().dataControls().update(params = DataControlUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Turn a control on or off, or change the key or bucket set for a region. Controls and regions that you leave out stay as they are.
BetaOrganizationUsers
List Users
UserListPage beta().organization().users().list(params = UserListParams.none(), requestOptions = RequestOptions.none())List the organization's members.
Get User
BetaOrganizationUser beta().organization().users().retrieve(params = UserRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve a member of the organization by user ID.
Update User
BetaOrganizationUser beta().organization().users().update(params, requestOptions = RequestOptions.none())Update a member's organization role.
Remove User
UserRemoveResponse beta().organization().users().remove(params = UserRemoveParams.none(), requestOptions = RequestOptions.none())Remove a member from the organization.
Sign Out User
BetaOrganizationUser beta().organization().users().signOut(params = UserSignOutParams.none(), requestOptions = RequestOptions.none())anthropic-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
WorkspaceListPage beta().organization().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())Create Workspace
BetaWorkspace beta().organization().workspaces().create(params, requestOptions = RequestOptions.none())Get Workspace
BetaWorkspace beta().organization().workspaces().retrieve(params = WorkspaceRetrieveParams.none(), requestOptions = RequestOptions.none())Update Workspace
BetaWorkspace beta().organization().workspaces().update(params = WorkspaceUpdateParams.none(), requestOptions = RequestOptions.none())Archive Workspace
BetaWorkspace beta().organization().workspaces().archive(params = WorkspaceArchiveParams.none(), requestOptions = RequestOptions.none())BetaOrganizationWorkspacesRate Limits
List Workspace Rate Limits
RateLimitListPage beta().organization().workspaces().rateLimits().list(params = RateLimitListParams.none(), requestOptions = RequestOptions.none())List a workspace's rate limits.
Set Workspace Rate Limits
BetaWorkspaceRateLimit beta().organization().workspaces().rateLimits().update(params, requestOptions = RequestOptions.none())Set or clear rate-limit overrides for one rate-limit group in a workspace.
BetaOrganizationWorkspacesMembers
List Workspace Members
MemberListPage beta().organization().workspaces().members().list(params = MemberListParams.none(), requestOptions = RequestOptions.none())Create Workspace Member
BetaWorkspaceMember beta().organization().workspaces().members().add(params, requestOptions = RequestOptions.none())Get Workspace Member
BetaWorkspaceMember beta().organization().workspaces().members().retrieve(params, requestOptions = RequestOptions.none())Update Workspace Member
BetaWorkspaceMember beta().organization().workspaces().members().update(params, requestOptions = RequestOptions.none())Delete Workspace Member
MemberRemoveResponse beta().organization().workspaces().members().remove(params, requestOptions = RequestOptions.none())BetaOrganizationWorkspacesService Accounts
List Service Account Workspace Members
ServiceAccountListPage beta().organization().workspaces().serviceAccounts().list(params = ServiceAccountListParams.none(), requestOptions = RequestOptions.none())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
BetaServiceAccountWorkspaceMember beta().organization().workspaces().serviceAccounts().add(params, requestOptions = RequestOptions.none())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 Workspace Member
BetaServiceAccountWorkspaceMember beta().organization().workspaces().serviceAccounts().retrieve(params, requestOptions = RequestOptions.none())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.
Update Service Account Workspace Member
BetaServiceAccountWorkspaceMember beta().organization().workspaces().serviceAccounts().update(params, requestOptions = RequestOptions.none())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.
Delete Service Account Workspace Member
ServiceAccountRemoveResponse beta().organization().workspaces().serviceAccounts().remove(params, requestOptions = RequestOptions.none())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.
BetaOrganizationRate Limits
List Organization Rate Limits
RateLimitListPage beta().organization().rateLimits().list(params = RateLimitListParams.none(), requestOptions = RequestOptions.none())List Messages API rate limits for your organization.
BetaOrganizationCompliance Settings
Get Compliance Settings
BetaComplianceSettings beta().organization().complianceSettings().retrieve(params = ComplianceSettingRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve your organization's Compliance Settings.
Update Compliance Settings
BetaComplianceSettings beta().organization().complianceSettings().update(params, requestOptions = RequestOptions.none())Update your organization's Compliance Settings.
BetaOrganizationAnalyticsSummaries
Get Activity Summaries
SummaryListPage beta().organization().analytics().summaries().list(params, requestOptions = RequestOptions.none())Get organization-wide activity summaries for a date range.
BetaOrganizationAnalyticsUsers
List User Activity
UserListPage beta().organization().analytics().users().list(params = UserListParams.none(), requestOptions = RequestOptions.none())Get per-user activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsAppsChatProjects
Get Chat Project Usage
ProjectListPage beta().organization().analytics().apps().chat().projects().list(params = ProjectListParams.none(), requestOptions = RequestOptions.none())Get per-project activity for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsConnectors
Get Connector Usage
ConnectorListPage beta().organization().analytics().connectors().list(params = ConnectorListParams.none(), requestOptions = RequestOptions.none())Get per-connector usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsPlugins
Get Plugin Usage
PluginListPage beta().organization().analytics().plugins().list(params = PluginListParams.none(), requestOptions = RequestOptions.none())Get per-plugin install + invocation usage for a given day, with pagination.
BetaOrganizationAnalyticsSkills
Get Skill Usage
SkillListPage beta().organization().analytics().skills().list(params = SkillListParams.none(), requestOptions = RequestOptions.none())Get per-skill usage for a given day, with cursor-based pagination.
BetaOrganizationAnalyticsArtifacts
Get Artifact Activity
ArtifactListPage beta().organization().analytics().artifacts().list(params, requestOptions = RequestOptions.none())Get artifact-creation activity for a given day, broken out by MIME type.
BetaOrganizationAnalyticsUsage
Get Token Usage By Dimension
UsageListPage beta().organization().analytics().usage().list(params, requestOptions = RequestOptions.none())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
CostListPage beta().organization().analytics().cost().list(params, requestOptions = RequestOptions.none())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
UsageReportListPage beta().organization().analytics().usageReport().list(params, requestOptions = RequestOptions.none())[Legacy] Get token usage over time across a date range.
BetaOrganizationAnalyticsUser Usage Report
Get Per-User Token Usage
UserUsageReportListPage beta().organization().analytics().userUsageReport().list(params, requestOptions = RequestOptions.none())[Legacy] Get per-user token usage across a date range.
BetaOrganizationAnalyticsCost Report
Get Cost Over Time
CostReportListPage beta().organization().analytics().costReport().list(params, requestOptions = RequestOptions.none())[Legacy] Get cost in USD over time across a date range.
BetaOrganizationAnalyticsUser Cost Report
Get Per-User Cost
UserCostReportListPage beta().organization().analytics().userCostReport().list(params, requestOptions = RequestOptions.none())[Legacy] Get per-user cost in USD across a date range.
BetaOrganizationSpend Limits
Set Spend Limit
BetaSpendLimit beta().organization().spendLimits().set(params, requestOptions = RequestOptions.none())Set a spend limit.
Get Spend Limit
BetaSpendLimit beta().organization().spendLimits().retrieve(params = SpendLimitRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve a spend limit by ID.
Delete Spend Limit
SpendLimitDeleteResponse beta().organization().spendLimits().delete(params = SpendLimitDeleteParams.none(), requestOptions = RequestOptions.none())Delete a spend limit.
List Spend Limits
SpendLimitListPage beta().organization().spendLimits().list(params = SpendLimitListParams.none(), requestOptions = RequestOptions.none())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
EffectiveListPage beta().organization().spendLimits().effective().list(params = EffectiveListParams.none(), requestOptions = RequestOptions.none())List each member's effective spend limit and period-to-date spend.
BetaOrganizationSpend LimitsIncrease Requests
List Spend Limit Increase Requests
IncreaseRequestListPage beta().organization().spendLimits().increaseRequests().list(params = IncreaseRequestListParams.none(), requestOptions = RequestOptions.none())List spend limit increase requests, most recent first.
Get Spend Limit Increase Request
BetaSpendLimitIncreaseRequest beta().organization().spendLimits().increaseRequests().retrieve(params = IncreaseRequestRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve a spend limit increase request.
Approve Spend Limit Increase Request
IncreaseRequestApproveResponse beta().organization().spendLimits().increaseRequests().approve(params, requestOptions = RequestOptions.none())Approve a pending spend limit increase request.
Deny Spend Limit Increase Request
BetaSpendLimitIncreaseRequest beta().organization().spendLimits().increaseRequests().deny(params = IncreaseRequestDenyParams.none(), requestOptions = RequestOptions.none())Deny a pending spend limit increase request.
BetaOrganizationRBAC Groups
Create RBAC Group
BetaRbacGroup beta().organization().rbacGroups().create(params, requestOptions = RequestOptions.none())Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type "direct".
List RBAC Groups
RbacGroupListPage beta().organization().rbacGroups().list(params = RbacGroupListParams.none(), requestOptions = RequestOptions.none())List RBAC Groups in the Claude Enterprise tenant.
Get RBAC Group
BetaRbacGroup beta().organization().rbacGroups().retrieve(params = RbacGroupRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve an RBAC Group by ID.
Update RBAC Group
BetaRbacGroup beta().organization().rbacGroups().update(params = RbacGroupUpdateParams.none(), requestOptions = RequestOptions.none())Update 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
BetaDeletedRbacGroup beta().organization().rbacGroups().delete(params = RbacGroupDeleteParams.none(), requestOptions = RequestOptions.none())Delete 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
MemberListPage beta().organization().rbacGroups().members().list(params = MemberListParams.none(), requestOptions = RequestOptions.none())List members of an RBAC Group.
Add RBAC Group Member
BetaRbacGroupMember beta().organization().rbacGroups().members().add(params, requestOptions = RequestOptions.none())Add 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
BetaDeletedRbacGroupMember beta().organization().rbacGroups().members().remove(params, requestOptions = RequestOptions.none())Remove 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
RbacRoleListPage beta().organization().rbacRoles().list(params = RbacRoleListParams.none(), requestOptions = RequestOptions.none())List RBAC Roles in the organization.
Get RBAC Role
BetaRbacRole beta().organization().rbacRoles().retrieve(params = RbacRoleRetrieveParams.none(), requestOptions = RequestOptions.none())Retrieve an RBAC Role by ID.
BetaOrganizationRBAC RolesPermissions
List RBAC Role Permissions
PermissionListPage beta().organization().rbacRoles().permissions().list(params = PermissionListParams.none(), requestOptions = RequestOptions.none())List the permissions an RBAC Role grants.
BetaOrganizationPlugins
Create Plugin
BetaPlugin beta().organization().plugins().create(params, requestOptions = RequestOptions.none())anthropic-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
BetaPlugin beta().organization().plugins().retrieve(params = PluginRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a Plugin by ID.
Update Plugin
BetaPlugin beta().organization().plugins().update(params, requestOptions = RequestOptions.none())anthropic-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
PluginListPage beta().organization().plugins().list(params = PluginListParams.none(), requestOptions = RequestOptions.none())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
BetaDeletedPlugin beta().organization().plugins().delete(params = PluginDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaPluginVersion beta().organization().plugins().versions().create(params, requestOptions = RequestOptions.none())anthropic-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
VersionListPage beta().organization().plugins().versions().list(params = VersionListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.List a Plugin's versions, newest first.
Get Plugin Version
BetaPluginVersion beta().organization().plugins().versions().retrieve(params, requestOptions = RequestOptions.none())anthropic-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
HttpResponse beta().organization().plugins().versions().download(params, requestOptions = RequestOptions.none())anthropic-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
InstallationSettingListPage beta().organization().plugins().installationSettings().list(params = InstallationSettingListParams.none(), requestOptions = RequestOptions.none())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
BetaPluginInstallationSetting beta().organization().plugins().installationSettings().set(params, requestOptions = RequestOptions.none())anthropic-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
BetaDeletedPluginInstallationSetting beta().organization().plugins().installationSettings().remove(params, requestOptions = RequestOptions.none())anthropic-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
PluginMarketplaceListPage beta().organization().pluginMarketplaces().list(params = PluginMarketplaceListParams.none(), requestOptions = RequestOptions.none())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
BetaPluginMarketplace beta().organization().pluginMarketplaces().retrieve(params = PluginMarketplaceRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.Retrieve a plugin marketplace by ID.
Update Plugin Marketplace
BetaPluginMarketplace beta().organization().pluginMarketplaces().update(params, requestOptions = RequestOptions.none())anthropic-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
BetaPluginMarketplaceValidationReport beta().organization().pluginMarketplaces().validateRepository(params, requestOptions = RequestOptions.none())anthropic-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
BetaPluginMarketplaceValidationReport beta().organization().pluginMarketplaces().validateArchive(params, requestOptions = RequestOptions.none())anthropic-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
BetaTelemetryDestination beta().organization().telemetryDestinations().create(params, requestOptions = RequestOptions.none())anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Register an OpenTelemetry destination for the organization.
List Telemetry Destinations
TelemetryDestinationListPage beta().organization().telemetryDestinations().list(params = TelemetryDestinationListParams.none(), requestOptions = RequestOptions.none())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
BetaTelemetryDestination beta().organization().telemetryDestinations().retrieve(params = TelemetryDestinationRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaTelemetryDestination beta().organization().telemetryDestinations().update(params = TelemetryDestinationUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaDeletedTelemetryDestination beta().organization().telemetryDestinations().delete(params = TelemetryDestinationDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.Delete a destination and its workspace list.
Test a Telemetry Destination
BetaTelemetryDestinationTestResponse beta().organization().telemetryDestinations().test(params = TelemetryDestinationTestParams.none(), requestOptions = RequestOptions.none())anthropic-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
WorkspaceListPage beta().organization().telemetryDestinations().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())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
BetaTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().add(params, requestOptions = RequestOptions.none())anthropic-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
BetaDeletedTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().remove(params, requestOptions = RequestOptions.none())anthropic-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
BetaNewOrganizationWebhookEndpoint beta().organization().webhooks().create(params, requestOptions = RequestOptions.none())anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Create an organization webhook endpoint.
List Organization Webhook Endpoints
WebhookListPage beta().organization().webhooks().list(params = WebhookListParams.none(), requestOptions = RequestOptions.none())anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.List the organization's webhook endpoints.
Get Organization Webhook Endpoint
BetaOrganizationWebhookEndpoint beta().organization().webhooks().retrieve(params = WebhookRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Retrieve an organization webhook endpoint by ID.
Update Organization Webhook Endpoint
BetaOrganizationWebhookEndpoint beta().organization().webhooks().update(params = WebhookUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaDeletedOrganizationWebhookEndpoint beta().organization().webhooks().delete(params = WebhookDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Delete an organization webhook endpoint.
Regenerate Organization Webhook Endpoint Signing Secret
BetaOrganizationWebhookEndpointSigningSecret beta().organization().webhooks().regenerateSigningSecret(params = WebhookRegenerateSigningSecretParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeCodeManagedSettingsConfiguration beta().organization().claudeCode().managedSettings().configuration().retrieve(params = ConfigurationRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeCodeManagedSettingsConfiguration beta().organization().claudeCode().managedSettings().configuration().update(params = ConfigurationUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-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
RbacGroupListPage beta().organization().claudeCode().managedSettings().rbacGroups().list(params = RbacGroupListParams.none(), requestOptions = RequestOptions.none())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
BetaClaudeCodeRbacGroupManagedSettings beta().organization().claudeCode().managedSettings().rbacGroups().retrieve(params = RbacGroupRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeCodeRbacGroupManagedSettings beta().organization().claudeCode().managedSettings().rbacGroups().set(params, requestOptions = RequestOptions.none())anthropic-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
BetaDeletedClaudeCodeRbacGroupManagedSettings beta().organization().claudeCode().managedSettings().rbacGroups().delete(params = RbacGroupDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeCodeRbacGroupDefaultManagedSettings beta().organization().claudeCode().managedSettings().rbacGroupDefault().retrieve(params = RbacGroupDefaultRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeCodeRbacGroupDefaultManagedSettings beta().organization().claudeCode().managedSettings().rbacGroupDefault().update(params, requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagSlackChannel beta().organization().claudeTag().slackChannels().create(params, requestOptions = RequestOptions.none())anthropic-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
SlackChannelListPage beta().organization().claudeTag().slackChannels().list(params, requestOptions = RequestOptions.none())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
BetaClaudeTagSlackChannel beta().organization().claudeTag().slackChannels().retrieve(params = SlackChannelRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagSlackChannel beta().organization().claudeTag().slackChannels().update(params, requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagDeletedSlackChannel beta().organization().claudeTag().slackChannels().delete(params = SlackChannelDeleteParams.none(), requestOptions = RequestOptions.none())anthropic-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
SlackWorkspaceListPage beta().organization().claudeTag().slackWorkspaces().list(params = SlackWorkspaceListParams.none(), requestOptions = RequestOptions.none())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
BetaClaudeTagSlackWorkspace beta().organization().claudeTag().slackWorkspaces().retrieve(params = SlackWorkspaceRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagSlackWorkspace beta().organization().claudeTag().slackWorkspaces().update(params, requestOptions = RequestOptions.none())anthropic-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
BundleListPage beta().organization().claudeTag().bundles().list(params = BundleListParams.none(), requestOptions = RequestOptions.none())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
BetaClaudeTagBundle beta().organization().claudeTag().bundles().retrieve(params = BundleRetrieveParams.none(), requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagBundle beta().organization().claudeTag().bundles().update(params = BundleUpdateParams.none(), requestOptions = RequestOptions.none())anthropic-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
TargetListPage beta().organization().claudeTag().bundles().targets().list(params = TargetListParams.none(), requestOptions = RequestOptions.none())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
BetaClaudeTagBundleTarget beta().organization().claudeTag().bundles().targets().create(params, requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagBundleTarget beta().organization().claudeTag().bundles().targets().retrieve(params, requestOptions = RequestOptions.none())anthropic-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
BetaClaudeTagDeletedBundleTarget beta().organization().claudeTag().bundles().targets().delete(params, requestOptions = RequestOptions.none())anthropic-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.