--- url: "https://platform.claude.com/docs/en/api/beta/organization" titulek: "Organization - Claude API Reference" h1: "Organization" popis: "API reference for Organization endpoints" jazyk: "en" kanonicka: "https://platform.claude.com/docs/en/api/beta/organization" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 03:20:23" znaku: 31906 slov: 2788 kodovani: "iso-8859-2" sha256: "a0833be5d24f8ebac9b563eec91f5ef1f1bcee43700da30f8704a0337a46e40d" --- # Organization ##### [Get Current Organization](/docs/en/api/http/beta/organization/retrieve) GET /v1/organizations/me Retrieve information about the organization associated with the authenticated API key. ##### Models BetaOrganization object{ type, id, name }type: "organization"Object type.For Organizations, this is always `"organization"`.defaultorganizationid: stringID of the Organization.formatuuidname: stringName of the Organization. BetaOrganizationRole = "admin" or "billing" or "claude_code_user" or 6 moreOne of the following:"admin""billing""claude_code_user""developer""managed""membership_admin""owner""primary_owner""user" #### Organization[API Keys](/docs/en/api/http/beta/organization/api_keys) ##### [List API Keys](/docs/en/api/http/beta/organization/api_keys/list) GET /v1/organizations/api_keys ##### [Retrieve API Key (Admin API)](/docs/en/api/http/beta/organization/api_keys/retrieve) GET /v1/organizations/api_keys/{api_key_id} 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](https://platform.claude.com/settings/keys) in the Claude Console. ##### [Update API Key](/docs/en/api/http/beta/organization/api_keys/update) POST /v1/organizations/api_keys/{api_key_id} #### Organization[External Keys](/docs/en/api/http/beta/organization/external_keys) ##### [Create External Key](/docs/en/api/http/beta/organization/external_keys/create) POST /v1/organizations/external_keys Create an external key config owned by the caller's organization. ##### [List External Keys](/docs/en/api/http/beta/organization/external_keys/list) GET /v1/organizations/external_keys List external key configs in the caller's organization. ##### [Get External Key](/docs/en/api/http/beta/organization/external_keys/retrieve) GET /v1/organizations/external_keys/{external_key_id} Retrieve a single external key config in the caller's organization by ID. ##### [Update External Key](/docs/en/api/http/beta/organization/external_keys/update) POST /v1/organizations/external_keys/{external_key_id} Partially update an external key config. Omitted fields are left unchanged. ##### [Delete External Key](/docs/en/api/http/beta/organization/external_keys/delete) DELETE /v1/organizations/external_keys/{external_key_id} Delete an external key config. ##### [Validate External Key](/docs/en/api/http/beta/organization/external_keys/validate) POST /v1/organizations/external_keys/{external_key_id}/validate Validate an external key config against the customer's KMS. #### OrganizationFederation[Issuers](/docs/en/api/http/beta/organization/federation/issuers) ##### [Create Federation Issuer](/docs/en/api/http/beta/organization/federation/issuers/create) POST /v1/organizations/federation_issuers **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](/docs/en/manage-claude/wif-admin-api). ##### [List Federation Issuers](/docs/en/api/http/beta/organization/federation/issuers/list) GET /v1/organizations/federation_issuers **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](/docs/en/manage-claude/wif-admin-api). ##### [Get Federation Issuer](/docs/en/api/http/beta/organization/federation/issuers/retrieve) GET /v1/organizations/federation_issuers/{federation_issuer_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Update Federation Issuer](/docs/en/api/http/beta/organization/federation/issuers/update) POST /v1/organizations/federation_issuers/{federation_issuer_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Archive Federation Issuer](/docs/en/api/http/beta/organization/federation/issuers/archive) POST /v1/organizations/federation_issuers/{federation_issuer_id}/archive **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](/docs/en/manage-claude/wif-admin-api). #### OrganizationFederation[Rules](/docs/en/api/http/beta/organization/federation/rules) ##### [Create Federation Rule](/docs/en/api/http/beta/organization/federation/rules/create) POST /v1/organizations/federation_rules **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](/docs/en/manage-claude/wif-admin-api). ##### [List Federation Rules](/docs/en/api/http/beta/organization/federation/rules/list) GET /v1/organizations/federation_rules **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](/docs/en/manage-claude/wif-admin-api). ##### [Get Federation Rule](/docs/en/api/http/beta/organization/federation/rules/retrieve) GET /v1/organizations/federation_rules/{federation_rule_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Update Federation Rule](/docs/en/api/http/beta/organization/federation/rules/update) POST /v1/organizations/federation_rules/{federation_rule_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Archive Federation Rule](/docs/en/api/http/beta/organization/federation/rules/archive) POST /v1/organizations/federation_rules/{federation_rule_id}/archive **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](/docs/en/manage-claude/wif-admin-api). #### OrganizationFederationRules[Workspaces](/docs/en/api/http/beta/organization/federation/rules/workspaces) ##### [Add Federation Rule Workspace](/docs/en/api/http/beta/organization/federation/rules/workspaces/add) POST /v1/organizations/federation_rules/{federation_rule_id}/workspaces **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](/docs/en/manage-claude/wif-admin-api). ##### [List Federation Rule Workspaces](/docs/en/api/http/beta/organization/federation/rules/workspaces/list) GET /v1/organizations/federation_rules/{federation_rule_id}/workspaces **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](/docs/en/manage-claude/wif-admin-api). ##### [Remove Federation Rule Workspace](/docs/en/api/http/beta/organization/federation/rules/workspaces/remove) DELETE /v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id} **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](/docs/en/manage-claude/wif-admin-api). #### Organization[Invites](/docs/en/api/http/beta/organization/invites) ##### [Create Invite](/docs/en/api/http/beta/organization/invites/create) POST /v1/organizations/invites Invite a user to join the organization by email. ##### [List Invites](/docs/en/api/http/beta/organization/invites/list) GET /v1/organizations/invites List the organization's invites. ##### [Get Invite](/docs/en/api/http/beta/organization/invites/retrieve) GET /v1/organizations/invites/{invite_id} Retrieve an invite by ID. ##### [Delete Invite](/docs/en/api/http/beta/organization/invites/delete) DELETE /v1/organizations/invites/{invite_id} Delete a pending invite. #### Organization[Service Accounts](/docs/en/api/http/beta/organization/service_accounts) ##### [Create Service Account](/docs/en/api/http/beta/organization/service_accounts/create) POST /v1/organizations/service_accounts **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](/docs/en/manage-claude/wif-admin-api). ##### [List Service Accounts](/docs/en/api/http/beta/organization/service_accounts/list) GET /v1/organizations/service_accounts **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](/docs/en/manage-claude/wif-admin-api). ##### [Get Service Account](/docs/en/api/http/beta/organization/service_accounts/retrieve) GET /v1/organizations/service_accounts/{service_account_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Update Service Account](/docs/en/api/http/beta/organization/service_accounts/update) POST /v1/organizations/service_accounts/{service_account_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Archive Service Account](/docs/en/api/http/beta/organization/service_accounts/archive) POST /v1/organizations/service_accounts/{service_account_id}/archive **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](/docs/en/manage-claude/wif-admin-api). #### OrganizationService Accounts[Workspaces](/docs/en/api/http/beta/organization/service_accounts/workspaces) ##### [Add Workspace To Service Account](/docs/en/api/http/beta/organization/service_accounts/workspaces/add) POST /v1/organizations/service_accounts/{service_account_id}/workspaces **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](/docs/en/manage-claude/wif-admin-api). ##### [List Workspaces For Service Account](/docs/en/api/http/beta/organization/service_accounts/workspaces/list) GET /v1/organizations/service_accounts/{service_account_id}/workspaces **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](/docs/en/manage-claude/wif-admin-api). ##### [Remove Workspace From Service Account](/docs/en/api/http/beta/organization/service_accounts/workspaces/remove) DELETE /v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id} **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](/docs/en/manage-claude/wif-admin-api). #### Organization[Users](/docs/en/api/http/beta/organization/users) ##### [List Users](/docs/en/api/http/beta/organization/users/list) GET /v1/organizations/users List the organization's members. ##### [Get User](/docs/en/api/http/beta/organization/users/retrieve) GET /v1/organizations/users/{user_id} Retrieve a member of the organization by user ID. ##### [Update User](/docs/en/api/http/beta/organization/users/update) POST /v1/organizations/users/{user_id} Update a member's organization role. ##### [Remove User](/docs/en/api/http/beta/organization/users/remove) DELETE /v1/organizations/users/{user_id} Remove a member from the organization. #### Organization[Workspaces](/docs/en/api/http/beta/organization/workspaces) ##### [List Workspaces](/docs/en/api/http/beta/organization/workspaces/list) GET /v1/organizations/workspaces ##### [Create Workspace](/docs/en/api/http/beta/organization/workspaces/create) POST /v1/organizations/workspaces ##### [Get Workspace](/docs/en/api/http/beta/organization/workspaces/retrieve) GET /v1/organizations/workspaces/{workspace_id} ##### [Update Workspace](/docs/en/api/http/beta/organization/workspaces/update) POST /v1/organizations/workspaces/{workspace_id} ##### [Archive Workspace](/docs/en/api/http/beta/organization/workspaces/archive) POST /v1/organizations/workspaces/{workspace_id}/archive #### OrganizationWorkspaces[Rate Limits](/docs/en/api/http/beta/organization/workspaces/rate_limits) ##### [List Workspace Rate Limits](/docs/en/api/http/beta/organization/workspaces/rate_limits/list) GET /v1/organizations/workspaces/{workspace_id}/rate_limits List rate-limit overrides configured for a workspace. #### OrganizationWorkspaces[Members](/docs/en/api/http/beta/organization/workspaces/members) ##### [List Workspace Members](/docs/en/api/http/beta/organization/workspaces/members/list) GET /v1/organizations/workspaces/{workspace_id}/members ##### [Create Workspace Member](/docs/en/api/http/beta/organization/workspaces/members/add) POST /v1/organizations/workspaces/{workspace_id}/members ##### [Get Workspace Member](/docs/en/api/http/beta/organization/workspaces/members/retrieve) GET /v1/organizations/workspaces/{workspace_id}/members/{user_id} ##### [Update Workspace Member](/docs/en/api/http/beta/organization/workspaces/members/update) POST /v1/organizations/workspaces/{workspace_id}/members/{user_id} ##### [Delete Workspace Member](/docs/en/api/http/beta/organization/workspaces/members/remove) DELETE /v1/organizations/workspaces/{workspace_id}/members/{user_id} #### OrganizationWorkspaces[Service Accounts](/docs/en/api/http/beta/organization/workspaces/service_accounts) ##### [List Service Account Workspace Members](/docs/en/api/http/beta/organization/workspaces/service_accounts/list) GET /v1/organizations/workspaces/{workspace_id}/service_accounts **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](/docs/en/manage-claude/wif-admin-api). ##### [Create Service Account Workspace Member](/docs/en/api/http/beta/organization/workspaces/service_accounts/add) POST /v1/organizations/workspaces/{workspace_id}/service_accounts **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](/docs/en/manage-claude/wif-admin-api). ##### [Get Service Account Workspace Member](/docs/en/api/http/beta/organization/workspaces/service_accounts/retrieve) GET /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Update Service Account Workspace Member](/docs/en/api/http/beta/organization/workspaces/service_accounts/update) POST /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id} **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](/docs/en/manage-claude/wif-admin-api). ##### [Delete Service Account Workspace Member](/docs/en/api/http/beta/organization/workspaces/service_accounts/remove) DELETE /v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id} **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](/docs/en/manage-claude/wif-admin-api). #### Organization[Rate Limits](/docs/en/api/http/beta/organization/rate_limits) ##### [List Organization Rate Limits](/docs/en/api/http/beta/organization/rate_limits/list) GET /v1/organizations/rate_limits List Messages API rate limits for your organization. #### Organization[Compliance Settings](/docs/en/api/http/beta/organization/compliance_settings) ##### [Get Compliance Settings](/docs/en/api/http/beta/organization/compliance_settings/retrieve) GET /v1/organizations/compliance_settings Retrieve your organization's Compliance Settings. ##### [Update Compliance Settings](/docs/en/api/http/beta/organization/compliance_settings/update) POST /v1/organizations/compliance_settings Update your organization's Compliance Settings. #### Organization[Usage Report](/docs/en/api/http/beta/organization/usage_report) ##### [Get Messages Usage Report](/docs/en/api/http/beta/organization/usage_report/retrieve_messages) GET /v1/organizations/usage_report/messages ##### [Get Claude Code Usage Report](/docs/en/api/http/beta/organization/usage_report/retrieve_claude_code) GET /v1/organizations/usage_report/claude_code Retrieve daily aggregated usage metrics for Claude Code users. Enables organizations to analyze developer productivity and build custom dashboards. #### Organization[Cost Report](/docs/en/api/http/beta/organization/cost_report) ##### [Get Cost Report](/docs/en/api/http/beta/organization/cost_report/retrieve) GET /v1/organizations/cost_report #### Organization[MCP Tunnels](/docs/en/api/http/beta/organization/mcp_tunnels) ##### [List Tunnels](/docs/en/api/http/beta/organization/mcp_tunnels/list) Deprecated GET /v1/organizations/tunnels **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Get Tunnel](/docs/en/api/http/beta/organization/mcp_tunnels/retrieve) Deprecated GET /v1/organizations/tunnels/{tunnel_id} **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Archive Tunnel](/docs/en/api/http/beta/organization/mcp_tunnels/archive) Deprecated POST /v1/organizations/tunnels/{tunnel_id}/archive **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Reveal Tunnel Token](/docs/en/api/http/beta/organization/mcp_tunnels/reveal_token) Deprecated POST /v1/organizations/tunnels/{tunnel_id}/reveal_token **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Rotate Tunnel Token](/docs/en/api/http/beta/organization/mcp_tunnels/rotate_token) Deprecated POST /v1/organizations/tunnels/{tunnel_id}/rotate_token **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. #### OrganizationMCP Tunnels[Tunnel Certificates](/docs/en/api/http/beta/organization/mcp_tunnels/tunnel_certificates) ##### [Create Tunnel Certificate](/docs/en/api/http/beta/organization/mcp_tunnels/tunnel_certificates/create) Deprecated POST /v1/organizations/tunnels/{tunnel_id}/certificates **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [List Tunnel Certificates](/docs/en/api/http/beta/organization/mcp_tunnels/tunnel_certificates/list) Deprecated GET /v1/organizations/tunnels/{tunnel_id}/certificates **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Get Tunnel Certificate](/docs/en/api/http/beta/organization/mcp_tunnels/tunnel_certificates/retrieve) Deprecated GET /v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id} **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. ##### [Archive Tunnel Certificate](/docs/en/api/http/beta/organization/mcp_tunnels/tunnel_certificates/archive) Deprecated POST /v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}/archive **Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window. #### Organization[Analytics](/docs/en/api/http/beta/organization/analytics) ##### [Get Activity Summaries](/docs/en/api/http/beta/organization/analytics/retrieve_summaries) GET /v1/organizations/analytics/summaries Get organization-wide activity summaries for a date range. #### OrganizationAnalytics[Usage](/docs/en/api/http/beta/organization/analytics/usage) ##### [Get Token Usage Over Time](/docs/en/api/http/beta/organization/analytics/usage/list) GET /v1/organizations/analytics/usage_report Get token usage over time across a date range. ##### [Get Per-User Token Usage](/docs/en/api/http/beta/organization/analytics/usage/list_by_user) GET /v1/organizations/analytics/user_usage_report Get per-user token usage across a date range. #### OrganizationAnalytics[Cost](/docs/en/api/http/beta/organization/analytics/cost) ##### [Get Cost Over Time](/docs/en/api/http/beta/organization/analytics/cost/list) GET /v1/organizations/analytics/cost_report Get cost in USD over time across a date range. ##### [Get Per-User Cost](/docs/en/api/http/beta/organization/analytics/cost/list_by_user) GET /v1/organizations/analytics/user_cost_report Get per-user cost in USD across a date range. #### OrganizationAnalytics[Users](/docs/en/api/http/beta/organization/analytics/users) ##### [List User Activity](/docs/en/api/http/beta/organization/analytics/users/list) GET /v1/organizations/analytics/users Get per-user activity for a given day, with cursor-based pagination. #### OrganizationAnalytics[Skills](/docs/en/api/http/beta/organization/analytics/skills) ##### [Get Skill Usage](/docs/en/api/http/beta/organization/analytics/skills/list) GET /v1/organizations/analytics/skills Get per-skill usage for a given day, with cursor-based pagination. #### OrganizationAnalytics[Connectors](/docs/en/api/http/beta/organization/analytics/connectors) ##### [Get Connector Usage](/docs/en/api/http/beta/organization/analytics/connectors/list) GET /v1/organizations/analytics/connectors Get per-connector usage for a given day, with cursor-based pagination. #### OrganizationAnalytics[Chat Projects](/docs/en/api/http/beta/organization/analytics/chat_projects) ##### [Get Chat Project Usage](/docs/en/api/http/beta/organization/analytics/chat_projects/list) GET /v1/organizations/analytics/apps/chat/projects Get per-project activity for a given day, with cursor-based pagination. #### OrganizationAnalytics[Plugins](/docs/en/api/http/beta/organization/analytics/plugins) ##### [Get Plugin Usage](/docs/en/api/http/beta/organization/analytics/plugins/list) GET /v1/organizations/analytics/plugins Get per-plugin install + invocation usage for a given day, with pagination. #### OrganizationAnalytics[Artifacts](/docs/en/api/http/beta/organization/analytics/artifacts) ##### [Get Artifact Activity](/docs/en/api/http/beta/organization/analytics/artifacts/list) GET /v1/organizations/analytics/artifacts Get artifact-creation activity for a given day, broken out by MIME type. #### Organization[Spend Limits](/docs/en/api/http/beta/organization/spend_limits) ##### [Set Spend Limit](/docs/en/api/http/beta/organization/spend_limits/create) POST /v1/organizations/spend_limits Set a per-user spend limit override. ##### [Get Spend Limit](/docs/en/api/http/beta/organization/spend_limits/retrieve) GET /v1/organizations/spend_limits/{spend_limit_id} Retrieve a spend limit by ID. ##### [Delete Spend Limit](/docs/en/api/http/beta/organization/spend_limits/delete) DELETE /v1/organizations/spend_limits/{spend_limit_id} Delete a per-user spend limit override. ##### [List Effective Spend Limits](/docs/en/api/http/beta/organization/spend_limits/list_effective) GET /v1/organizations/spend_limits/effective List each member's effective spend limit and period-to-date spend. #### OrganizationSpend Limits[Increase Requests](/docs/en/api/http/beta/organization/spend_limits/increase_requests) ##### [List Spend Limit Increase Requests](/docs/en/api/http/beta/organization/spend_limits/increase_requests/list) GET /v1/organizations/spend_limit_increase_requests List spend limit increase requests, most recent first. ##### [Get Spend Limit Increase Request](/docs/en/api/http/beta/organization/spend_limits/increase_requests/retrieve) GET /v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id} Retrieve a spend limit increase request. ##### [Approve Spend Limit Increase Request](/docs/en/api/http/beta/organization/spend_limits/increase_requests/approve) POST /v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve Approve a pending spend limit increase request. ##### [Deny Spend Limit Increase Request](/docs/en/api/http/beta/organization/spend_limits/increase_requests/deny) POST /v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny Deny a pending spend limit increase request. #### Organization[RBAC Groups](/docs/en/api/http/beta/organization/rbac_groups) ##### [List RBAC Groups](/docs/en/api/http/beta/organization/rbac_groups/list) GET /v1/organizations/rbac_groups List RBAC Groups in the Claude Enterprise tenant. ##### [Get RBAC Group](/docs/en/api/http/beta/organization/rbac_groups/retrieve) GET /v1/organizations/rbac_groups/{group_id} Retrieve an RBAC Group by ID. ##### [Create RBAC Group](/docs/en/api/http/beta/organization/rbac_groups/create) POST /v1/organizations/rbac_groups Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. ##### [Update RBAC Group](/docs/en/api/http/beta/organization/rbac_groups/update) POST /v1/organizations/rbac_groups/{group_id} 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](/docs/en/api/http/beta/organization/rbac_groups/delete) DELETE /v1/organizations/rbac_groups/{group_id} 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. #### OrganizationRBAC Groups[Members](/docs/en/api/http/beta/organization/rbac_groups/members) ##### [List RBAC Group Members](/docs/en/api/http/beta/organization/rbac_groups/members/list) GET /v1/organizations/rbac_groups/{group_id}/members List members of an RBAC Group. ##### [Add RBAC Group Member](/docs/en/api/http/beta/organization/rbac_groups/members/create) POST /v1/organizations/rbac_groups/{group_id}/members 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](/docs/en/api/http/beta/organization/rbac_groups/members/delete) DELETE /v1/organizations/rbac_groups/{group_id}/members/{user_id} 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. #### Organization[RBAC Roles](/docs/en/api/http/beta/organization/rbac_roles) ##### [List RBAC Roles](/docs/en/api/http/beta/organization/rbac_roles/list) GET /v1/organizations/rbac_roles List RBAC Roles in the organization. ##### [Get RBAC Role](/docs/en/api/http/beta/organization/rbac_roles/retrieve) GET /v1/organizations/rbac_roles/{role_id} Retrieve an RBAC Role by ID. #### OrganizationRBAC Roles[Permissions](/docs/en/api/http/beta/organization/rbac_roles/permissions) ##### [List RBAC Role Permissions](/docs/en/api/http/beta/organization/rbac_roles/permissions/list) GET /v1/organizations/rbac_roles/{role_id}/permissions List the permissions an RBAC Role grants.