Organization
Get Current Organization
$ ant beta:organization retrieveRetrieve information about the organization associated with the authenticated API key.
Models
OrganizationAPI Keys
Retrieve API Key (Admin API)
$ ant beta:organization:api-keys retrieveRetrieve information about a single API key in your organization, looked up by its ID. This Admin API endpoint requires an Admin API key, is intended for programmatic key management, and never returns the key's secret value. To view or create your own API keys, go to API keys in the Claude Console.
OrganizationExternal Keys
Create External Key
$ ant beta:organization:external-keys createCreate an external key config owned by the caller's organization.
List External Keys
$ ant beta:organization:external-keys listList external key configs in the caller's organization.
Get External Key
$ ant beta:organization:external-keys retrieveRetrieve a single external key config in the caller's organization by ID.
Update External Key
$ ant beta:organization:external-keys updatePartially update an external key config. Omitted fields are left unchanged.
Delete External Key
$ ant beta:organization:external-keys deleteDelete an external key config.
Validate External Key
$ ant beta:organization:external-keys validateValidate an external key config against the customer's KMS.
OrganizationFederationIssuers
Create Federation Issuer
$ ant beta:organization:federation:issuers createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Issuers
$ ant beta:organization:federation:issuers listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Federation Issuer
$ ant beta:organization:federation:issuers retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Federation Issuer
$ ant beta:organization:federation:issuers updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Federation Issuer
$ ant beta:organization:federation:issuers archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationFederationRules
Create Federation Rule
$ ant beta:organization:federation:rules createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Rules
$ ant beta:organization:federation:rules listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Federation Rule
$ ant beta:organization:federation:rules retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Federation Rule
$ ant beta:organization:federation:rules updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Federation Rule
$ ant beta:organization:federation:rules archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationFederationRulesWorkspaces
Add Federation Rule Workspace
$ ant beta:organization:federation:rules:workspaces addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Federation Rule Workspaces
$ ant beta:organization:federation:rules:workspaces listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Remove Federation Rule Workspace
$ ant beta:organization:federation:rules:workspaces removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationInvites
Create Invite
$ ant beta:organization:invites createInvite a user to join the organization by email.
List Invites
$ ant beta:organization:invites listList the organization's invites.
Get Invite
$ ant beta:organization:invites retrieveRetrieve an invite by ID.
Delete Invite
$ ant beta:organization:invites deleteDelete a pending invite.
OrganizationService Accounts
Create Service Account
$ ant beta:organization:service-accounts createRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Service Accounts
$ ant beta:organization:service-accounts listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Service Account
$ ant beta:organization:service-accounts retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Service Account
$ ant beta:organization:service-accounts updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Archive Service Account
$ ant beta:organization:service-accounts archiveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationService AccountsWorkspaces
Add Workspace To Service Account
$ ant beta:organization:service-accounts:workspaces addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
List Workspaces For Service Account
$ ant beta:organization:service-accounts:workspaces listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Remove Workspace From Service Account
$ ant beta:organization:service-accounts:workspaces removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationUsers
List Users
$ ant beta:organization:users listList the organization's members.
Get User
$ ant beta:organization:users retrieveRetrieve a member of the organization by user ID.
Update User
$ ant beta:organization:users updateUpdate a member's organization role.
Remove User
$ ant beta:organization:users removeRemove a member from the organization.
OrganizationWorkspaces
Get Workspace
$ ant beta:organization:workspaces retrieveUpdate Workspace
$ ant beta:organization:workspaces updateArchive Workspace
$ ant beta:organization:workspaces archiveOrganizationWorkspacesRate Limits
List Workspace Rate Limits
$ ant beta:organization:workspaces:rate-limits listList a workspace's rate limits.
OrganizationWorkspacesMembers
List Workspace Members
$ ant beta:organization:workspaces:members listCreate Workspace Member
$ ant beta:organization:workspaces:members addGet Workspace Member
$ ant beta:organization:workspaces:members retrieveUpdate Workspace Member
$ ant beta:organization:workspaces:members updateDelete Workspace Member
$ ant beta:organization:workspaces:members removeOrganizationWorkspacesService Accounts
List Service Account Workspace Members
$ ant beta:organization:workspaces:service-accounts listRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Create Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts addRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Get Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts retrieveRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Update Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts updateRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
Delete Service Account Workspace Member
$ ant beta:organization:workspaces:service-accounts removeRequires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See Manage WIF with the Admin API.
OrganizationRate Limits
List Organization Rate Limits
$ ant beta:organization:rate-limits listList Messages API rate limits for your organization.
OrganizationCompliance Settings
Get Compliance Settings
$ ant beta:organization:compliance-settings retrieveRetrieve your organization's Compliance Settings.
Update Compliance Settings
$ ant beta:organization:compliance-settings updateUpdate your organization's Compliance Settings.
OrganizationAnalyticsSummaries
Get Activity Summaries
$ ant beta:organization:analytics:summaries listGet organization-wide activity summaries for a date range.
OrganizationAnalyticsUsers
List User Activity
$ ant beta:organization:analytics:users listGet per-user activity for a given day, with cursor-based pagination.
OrganizationAnalyticsAppsChatProjects
Get Chat Project Usage
$ ant beta:organization:analytics:apps:chat:projects listGet per-project activity for a given day, with cursor-based pagination.
OrganizationAnalyticsConnectors
Get Connector Usage
$ ant beta:organization:analytics:connectors listGet per-connector usage for a given day, with cursor-based pagination.
OrganizationAnalyticsPlugins
Get Plugin Usage
$ ant beta:organization:analytics:plugins listGet per-plugin install + invocation usage for a given day, with pagination.
OrganizationAnalyticsSkills
Get Skill Usage
$ ant beta:organization:analytics:skills listGet per-skill usage for a given day, with cursor-based pagination.
OrganizationAnalyticsArtifacts
Get Artifact Activity
$ ant beta:organization:analytics:artifacts listGet artifact-creation activity for a given day, broken out by MIME type.
OrganizationAnalyticsUsage Report
Get Token Usage Over Time
$ ant beta:organization:analytics:usage-report listGet token usage over time across a date range.
OrganizationAnalyticsUser Usage Report
Get Per-User Token Usage
$ ant beta:organization:analytics:user-usage-report listGet per-user token usage across a date range.
OrganizationAnalyticsCost Report
Get Cost Over Time
$ ant beta:organization:analytics:cost-report listGet cost in USD over time across a date range.
OrganizationAnalyticsUser Cost Report
Get Per-User Cost
$ ant beta:organization:analytics:user-cost-report listGet per-user cost in USD across a date range.
OrganizationSpend Limits
Set Spend Limit
$ ant beta:organization:spend-limits setSet a spend limit.
Get Spend Limit
$ ant beta:organization:spend-limits retrieveRetrieve a spend limit by ID.
Delete Spend Limit
$ ant beta:organization:spend-limits deleteDelete a spend limit.
List Spend Limits
$ ant beta:organization:spend-limits listList the organization's spend limits.
OrganizationSpend LimitsEffective
List Effective Spend Limits
$ ant beta:organization:spend-limits:effective listList each member's effective spend limit and period-to-date spend.
OrganizationSpend LimitsIncrease Requests
List Spend Limit Increase Requests
$ ant beta:organization:spend-limits:increase-requests listList spend limit increase requests, most recent first.
Get Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests retrieveRetrieve a spend limit increase request.
Approve Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests approveApprove a pending spend limit increase request.
Deny Spend Limit Increase Request
$ ant beta:organization:spend-limits:increase-requests denyDeny a pending spend limit increase request.
OrganizationRBAC Groups
Create RBAC Group
$ ant beta:organization:rbac-groups createCreate an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type "direct".
List RBAC Groups
$ ant beta:organization:rbac-groups listList RBAC Groups in the Claude Enterprise tenant.
Get RBAC Group
$ ant beta:organization:rbac-groups retrieveRetrieve an RBAC Group by ID.
Update RBAC Group
$ ant beta:organization:rbac-groups updateUpdate an RBAC Group's name. Groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
Delete RBAC Group
$ ant beta:organization:rbac-groups deleteDelete an RBAC Group. Groups provisioned by an identity provider (source type "scim") cannot be deleted via the API while an organization in the tenant uses SCIM provisioning.
OrganizationRBAC GroupsMembers
List RBAC Group Members
$ ant beta:organization:rbac-groups:members listList members of an RBAC Group.
Add RBAC Group Member
$ ant beta:organization:rbac-groups:members addAdd a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
Remove RBAC Group Member
$ ant beta:organization:rbac-groups:members removeRemove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
OrganizationRBAC Roles
List RBAC Roles
$ ant beta:organization:rbac-roles listList RBAC Roles in the organization.
Get RBAC Role
$ ant beta:organization:rbac-roles retrieveRetrieve an RBAC Role by ID.
OrganizationRBAC RolesPermissions
List RBAC Role Permissions
$ ant beta:organization:rbac-roles:permissions listList the permissions an RBAC Role grants.
OrganizationPlugins
Create Plugin
$ ant beta:organization:plugins createCreate an organization-owned Plugin and its first version by uploading the version's files.
Get Plugin
$ ant beta:organization:plugins retrieveRetrieve a Plugin by ID.
Update Plugin
$ ant beta:organization:plugins updateChange which stored version of an organization-owned Plugin is served to members, for example to roll back to an earlier one. This pins the served version: later uploads are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.
List Plugins
$ ant beta:organization:plugins listList the Plugins created under the organization, newest first: those in the organization's own plugin marketplaces and those in members' personal plugin marketplaces.
Delete Plugin
$ ant beta:organization:plugins deletePermanently 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.
OrganizationPluginsVersions
Create Plugin Version
$ ant beta:organization:plugins:versions createAdd a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless the Plugin's served version has been pinned.
List Plugin Versions
$ ant beta:organization:plugins:versions listList a Plugin's versions, newest first.
Get Plugin Version
$ ant beta:organization:plugins:versions retrieveRetrieve one version of a Plugin by its ID, or the Plugin's newest version.
Download Plugin Version Archive
$ ant beta:organization:plugins:versions downloadDownload 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.
OrganizationPluginsInstallation Settings
List Plugin Installation Settings
$ ant beta:organization:plugins:installation-settings listList an organization-owned Plugin's installation settings, which say which members it is for, most recently created first.
Set Plugin Installation Setting
$ ant beta:organization:plugins:installation-settings setSet or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group.
Remove Plugin Installation Setting
$ ant beta:organization:plugins:installation-settings removeRemove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group.
OrganizationPlugin Marketplaces
List Plugin Marketplaces
$ ant beta:organization:plugin-marketplaces listList the plugin marketplaces Plugins live in, newest first: the organization's own and its members' personal ones.
Get Plugin Marketplace
$ ant beta:organization:plugin-marketplaces retrieveRetrieve a plugin marketplace by ID.
Update Plugin Marketplace
$ ant beta:organization:plugin-marketplaces updateSet the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of its own gets this default as its organization-wide setting, including Plugins added later.
Validate Plugin Marketplace Repository
$ ant beta:organization:plugin-marketplaces validate-repositoryCheck whether a plugin marketplace held in a public GitHub repository would synchronize into claude.ai, without connecting or storing it.
Validate Plugin Marketplace Archive
$ ant beta:organization:plugin-marketplaces validate-archiveCheck whether a plugin marketplace, uploaded as a .zip of the marketplace
directory, would synchronize into claude.ai, without connecting or storing it.