Organization
Get Current Organization
$ ant organization retrieveRetrieve information about the organization associated with the authenticated API key.
Models
OrganizationAPI Keys
Retrieve API Key (Admin API)
$ ant 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 organization:external-keys createCreate an external key config owned by the caller's organization.
List External Keys
$ ant organization:external-keys listList external key configs in the caller's organization.
Get External Key
$ ant organization:external-keys retrieveRetrieve a single external key config in the caller's organization by ID.
Update External Key
$ ant organization:external-keys updatePartially update an external key config. Omitted fields are left unchanged.
Delete External Key
$ ant organization:external-keys deleteDelete an external key config.
Validate External Key
$ ant organization:external-keys validateValidate an external key config against the customer's KMS.
OrganizationFederationIssuers
Create Federation Issuer
$ ant 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 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 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 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 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 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 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 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 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 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 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 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 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 organization:invites createInvite a user to join the organization by email.
List Invites
$ ant organization:invites listList the organization's invites.
Get Invite
$ ant organization:invites retrieveRetrieve an invite by ID.
Delete Invite
$ ant organization:invites deleteDelete a pending invite.
OrganizationService Accounts
Create Service Account
$ ant 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 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 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 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 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 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 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 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
Get User
$ ant organization:users retrieveRetrieve a member of the organization by user ID.
Update User
$ ant organization:users updateUpdate a member's organization role.
Remove User
$ ant organization:users removeRemove a member from the organization.
OrganizationWorkspaces
Archive Workspace
$ ant organization:workspaces archiveOrganizationWorkspacesRate Limits
List Workspace Rate Limits
$ ant organization:workspaces:rate-limits listList a workspace's rate limits.
OrganizationWorkspacesMembers
List Workspace Members
$ ant organization:workspaces:members listCreate Workspace Member
$ ant organization:workspaces:members addGet Workspace Member
$ ant organization:workspaces:members retrieveUpdate Workspace Member
$ ant organization:workspaces:members updateDelete Workspace Member
$ ant organization:workspaces:members removeOrganizationWorkspacesService Accounts
List Service Account Workspace Members
$ ant 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 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 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 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 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 organization:rate-limits listList Messages API rate limits for your organization.
OrganizationCompliance Settings
Get Compliance Settings
$ ant organization:compliance-settings retrieveRetrieve your organization's Compliance Settings.
Update Compliance Settings
$ ant organization:compliance-settings updateUpdate your organization's Compliance Settings.