MCPcopy Create free account

hub / github.com/anthropics/anthropic-sdk-python / functions

Functions12,274 in github.com/anthropics/anthropic-sdk-python

Methodlist
[Legacy] Get cost in USD over time across a date range. Returns cost bucketed by minute, hour, or day, optionally broken down by one
src/anthropic/resources/beta/organization/analytics/cost_report.py:223
Methodlist
[Legacy] Get per-user token usage across a date range. Returns usage per user, ranked by the chosen token metric; `group_by[]` or
src/anthropic/resources/beta/organization/analytics/user_usage_report.py:49
Methodlist
[Legacy] Get per-user token usage across a date range. Returns usage per user, ranked by the chosen token metric; `group_by[]` or
src/anthropic/resources/beta/organization/analytics/user_usage_report.py:244
Methodlist
Get token usage across a date range, broken out by dimension. Returns one row per combination of the requested `group_by[]` dimensio
src/anthropic/resources/beta/organization/analytics/usage.py:60
Methodlist
Get token usage across a date range, broken out by dimension. Returns one row per combination of the requested `group_by[]` dimensio
src/anthropic/resources/beta/organization/analytics/usage.py:321
Methodlist
[Legacy] Get per-user cost in USD across a date range. Returns cost per user, ranked by spend; `group_by[]` or `bucket_width` splits
src/anthropic/resources/beta/organization/analytics/user_cost_report.py:49
Methodlist
[Legacy] Get per-user cost in USD across a date range. Returns cost per user, ranked by spend; `group_by[]` or `bucket_width` splits
src/anthropic/resources/beta/organization/analytics/user_cost_report.py:251
Methodlist
[Legacy] Get token usage over time across a date range. Returns token usage bucketed by minute, hour, or day, optionally broken down
src/anthropic/resources/beta/organization/analytics/usage_report.py:49
Methodlist
[Legacy] Get token usage over time across a date range. Returns token usage bucketed by minute, hour, or day, optionally broken down
src/anthropic/resources/beta/organization/analytics/usage_report.py:221
Methodlist
Get artifact-creation activity for a given day, broken out by MIME type. Returns the full (`artifact_type`, `is_shared`) cube for th
src/anthropic/resources/beta/organization/analytics/artifacts.py:45
Methodlist
Get artifact-creation activity for a given day, broken out by MIME type. Returns the full (`artifact_type`, `is_shared`) cube for th
src/anthropic/resources/beta/organization/analytics/artifacts.py:154
Methodlist
Get per-plugin install + invocation usage for a given day, with pagination. Returns plugin usage metrics for the organization across
src/anthropic/resources/beta/organization/analytics/plugins.py:47
Methodlist
Get per-plugin install + invocation usage for a given day, with pagination. Returns plugin usage metrics for the organization across
src/anthropic/resources/beta/organization/analytics/plugins.py:197
Methodlist
Get per-user activity for a given day, with cursor-based pagination. Returns activity metrics for each user in the organization, sor
src/anthropic/resources/beta/organization/analytics/users.py:47
Methodlist
Get per-user activity for a given day, with cursor-based pagination. Returns activity metrics for each user in the organization, sor
src/anthropic/resources/beta/organization/analytics/users.py:194
Methodlist
Get per-project activity for a given day, with cursor-based pagination. Returns activity metrics for each project in the organizatio
src/anthropic/resources/beta/organization/analytics/apps/chat/projects.py:47
Methodlist
Get per-project activity for a given day, with cursor-based pagination. Returns activity metrics for each project in the organizatio
src/anthropic/resources/beta/organization/analytics/apps/chat/projects.py:186
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/service_accounts/service_accounts.py:263
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/service_accounts/service_accounts.py:624
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/service_accounts/workspaces.py:48
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/service_accounts/workspaces.py:303
Methodlist
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/certificates.py:207
Methodlist
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/certificates.py:561
Methodlist
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/tunnels.py:204
Methodlist
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/tunnels.py:684
Methodlist
List Skill Versions Args: skill_id: Unique identifier for the skill. The format and length of IDs may chang
src/anthropic/resources/beta/skills/versions.py:233
Methodlist
List Skill Versions Args: skill_id: Unique identifier for the skill. The format and length of IDs may chang
src/anthropic/resources/beta/skills/versions.py:654
Methodlist
List Skills Args: limit: Number of results to return per page. Ranges from `1` to `1000`. Defaults to `20`.
src/anthropic/resources/beta/skills/skills.py:231
Methodlist
List Skills Args: limit: Number of results to return per page. Ranges from `1` to `1000`. Defaults to `20`.
src/anthropic/resources/beta/skills/skills.py:573
Methodlist
List Memories Args: memory_store_id: The ID of the memory store to list memories from (`memstore_...`). depth:
src/anthropic/resources/beta/memory_stores/memories.py:336
Methodlist
List Memories Args: memory_store_id: The ID of the memory store to list memories from (`memstore_...`). depth:
src/anthropic/resources/beta/memory_stores/memories.py:832
Methodlist
List Memory Versions Args: memory_store_id: The ID of the memory store whose version history to list (`memstore_...`).
src/anthropic/resources/beta/memory_stores/memory_versions.py:141
Methodlist
List Memory Versions Args: memory_store_id: The ID of the memory store whose version history to list (`memstore_...`).
src/anthropic/resources/beta/memory_stores/memory_versions.py:446
Methodlist
List Memory Stores Args: created_at_gte: Return only memory stores created at or after this time (inclusive). c
src/anthropic/resources/beta/memory_stores/memory_stores.py:321
Methodlist
List Memory Stores Args: created_at_gte: Return only memory stores created at or after this time (inclusive). c
src/anthropic/resources/beta/memory_stores/memory_stores.py:823
Methodlist
List Agents Args: created_at_gte: Return agents created at or after this time (inclusive). created_at_lte: Retu
src/anthropic/resources/beta/agents/agents.py:381
Methodlist
List Agents Args: created_at_gte: Return agents created at or after this time (inclusive). created_at_lte: Retu
src/anthropic/resources/beta/agents/agents.py:867
Methodlist
List Agent Versions Args: agent_id: Agent ID to list versions for. limit: Maximum results per page. Default 20,
src/anthropic/resources/beta/agents/versions.py:46
Methodlist
List Agent Versions Args: agent_id: Agent ID to list versions for. limit: Maximum results per page. Default 20,
src/anthropic/resources/beta/agents/versions.py:144
Methodlist
List all Message Batches within a Workspace. Most recently created batches are returned first. Learn more about the Message
src/anthropic/resources/messages/batches.py:194
Methodlist
List all Message Batches within a Workspace. Most recently created batches are returned first. Learn more about the Message
src/anthropic/resources/messages/batches.py:633
Methodlist
List Messages API rate limits for your organization. Each entry corresponds to one rate-limit group (either a model family or an
src/anthropic/resources/organization/rate_limits.py:44
Methodlist
List Messages API rate limits for your organization. Each entry corresponds to one rate-limit group (either a model family or an
src/anthropic/resources/organization/rate_limits.py:132
Methodlist
List external key configs in the caller's organization. Results are ordered by creation time (newest first). Use the `next_page` cur
src/anthropic/resources/organization/external_keys.py:219
Methodlist
List external key configs in the caller's organization. Results are ordered by creation time (newest first). Use the `next_page` cur
src/anthropic/resources/organization/external_keys.py:559
Methodlist
List API Keys Args: after_id: ID of the object to use as a cursor for pagination. When provided, returns the
src/anthropic/resources/organization/api_keys.py:144
Methodlist
List API Keys Args: after_id: ID of the object to use as a cursor for pagination. When provided, returns the
src/anthropic/resources/organization/api_keys.py:330
Methodlist
List the organization's invites. Args: after_id: ID of the object to use as a cursor for pagination. When provided, return
src/anthropic/resources/organization/invites.py:167
Methodlist
List the organization's invites. Args: after_id: ID of the object to use as a cursor for pagination. When provided, return
src/anthropic/resources/organization/invites.py:427
Methodlist
List the organization's members. Args: after_id: ID of the object to use as a cursor for pagination. When provided, return
src/anthropic/resources/organization/users.py:140
Methodlist
List the organization's members. Args: after_id: ID of the object to use as a cursor for pagination. When provided, return
src/anthropic/resources/organization/users.py:372
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/issuers.py:271
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/issuers.py:634
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/rules/rules.py:323
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/rules/rules.py:733
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/rules/workspaces.py:45
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/federation/rules/workspaces.py:262
Methodlist
List the permissions an RBAC Role grants. The RBAC Roles API is available to Claude Enterprise organizations only. Args:
src/anthropic/resources/organization/rbac_roles/permissions.py:44
Methodlist
List the permissions an RBAC Role grants. The RBAC Roles API is available to Claude Enterprise organizations only. Args:
src/anthropic/resources/organization/rbac_roles/permissions.py:128
Methodlist
List RBAC Roles in the organization. The RBAC Roles API is available to Claude Enterprise organizations only. Args:
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:106
Methodlist
List RBAC Roles in the organization. The RBAC Roles API is available to Claude Enterprise organizations only. Args:
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:236
Methodlist
List a workspace's rate limits. By default, returns only the groups and limiter types that have a workspace-level override.
src/anthropic/resources/organization/workspaces/rate_limits.py:115
Methodlist
List a workspace's rate limits. By default, returns only the groups and limiter types that have a workspace-level override.
src/anthropic/resources/organization/workspaces/rate_limits.py:279
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/workspaces/service_accounts.py:182
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/workspaces/service_accounts.py:536
Methodlist
List Workspace Members Args: workspace_id: ID of the Workspace. after_id: ID of the object to use as a cursor f
src/anthropic/resources/organization/workspaces/members.py:161
Methodlist
List Workspace Members Args: workspace_id: ID of the Workspace. after_id: ID of the object to use as a cursor f
src/anthropic/resources/organization/workspaces/members.py:470
Methodlist
List Workspaces Args: after_id: ID of the object to use as a cursor for pagination. When provided, returns the
src/anthropic/resources/organization/workspaces/workspaces.py:314
Methodlist
List Workspaces Args: after_id: ID of the object to use as a cursor for pagination. When provided, returns the
src/anthropic/resources/organization/workspaces/workspaces.py:689
Methodlist
List RBAC Groups in the Claude Enterprise tenant. The RBAC Groups API is available to Claude Enterprise organizations only.
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:200
Methodlist
List RBAC Groups in the Claude Enterprise tenant. The RBAC Groups API is available to Claude Enterprise organizations only.
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:471
Methodlist
List members of an RBAC Group. The RBAC Groups API is available to Claude Enterprise organizations only. Args: rb
src/anthropic/resources/organization/rbac_groups/members.py:45
Methodlist
List members of an RBAC Group. The RBAC Groups API is available to Claude Enterprise organizations only. Args: rb
src/anthropic/resources/organization/rbac_groups/members.py:245
Methodlist
List spend limit increase requests, most recent first. Pending requests include a live `spend_summary` for the requester. Requests
src/anthropic/resources/organization/spend_limits/increase_requests.py:99
Methodlist
List spend limit increase requests, most recent first. Pending requests include a live `spend_summary` for the requester. Requests
src/anthropic/resources/organization/spend_limits/increase_requests.py:347
Methodlist
List each member's effective spend limit and period-to-date spend. Returns one row per (member, period) the member resolves a spend
src/anthropic/resources/organization/spend_limits/effective.py:44
Methodlist
List each member's effective spend limit and period-to-date spend. Returns one row per (member, period) the member resolves a spend
src/anthropic/resources/organization/spend_limits/effective.py:130
Methodlist
Get per-connector usage for a given day, with cursor-based pagination. Returns connector usage metrics for the organization, sorted
src/anthropic/resources/organization/analytics/connectors.py:47
Methodlist
Get per-connector usage for a given day, with cursor-based pagination. Returns connector usage metrics for the organization, sorted
src/anthropic/resources/organization/analytics/connectors.py:193
Methodlist
Get organization-wide activity summaries for a date range. Returns one entry per day from `starting_date` (inclusive) to `ending_dat
src/anthropic/resources/organization/analytics/summaries.py:44
Methodlist
Get organization-wide activity summaries for a date range. Returns one entry per day from `starting_date` (inclusive) to `ending_dat
src/anthropic/resources/organization/analytics/summaries.py:150
Methodlist
Get per-skill usage for a given day, with cursor-based pagination. Returns skill usage metrics for the organization, sorted by skill
src/anthropic/resources/organization/analytics/skills.py:47
Methodlist
Get per-skill usage for a given day, with cursor-based pagination. Returns skill usage metrics for the organization, sorted by skill
src/anthropic/resources/organization/analytics/skills.py:190
Methodlist
Get artifact-creation activity for a given day, broken out by MIME type. Returns the full (`artifact_type`, `is_shared`) cube for th
src/anthropic/resources/organization/analytics/artifacts.py:45
Methodlist
Get artifact-creation activity for a given day, broken out by MIME type. Returns the full (`artifact_type`, `is_shared`) cube for th
src/anthropic/resources/organization/analytics/artifacts.py:153
Methodlist
Get per-plugin install + invocation usage for a given day, with pagination. Returns plugin usage metrics for the organization across
src/anthropic/resources/organization/analytics/plugins.py:47
Methodlist
Get per-plugin install + invocation usage for a given day, with pagination. Returns plugin usage metrics for the organization across
src/anthropic/resources/organization/analytics/plugins.py:196
Methodlist
Get per-user activity for a given day, with cursor-based pagination. Returns activity metrics for each user in the organization, sor
src/anthropic/resources/organization/analytics/users.py:47
Methodlist
Get per-user activity for a given day, with cursor-based pagination. Returns activity metrics for each user in the organization, sor
src/anthropic/resources/organization/analytics/users.py:193
Methodlist
Get per-project activity for a given day, with cursor-based pagination. Returns activity metrics for each project in the organizatio
src/anthropic/resources/organization/analytics/apps/chat/projects.py:47
Methodlist
Get per-project activity for a given day, with cursor-based pagination. Returns activity metrics for each project in the organizatio
src/anthropic/resources/organization/analytics/apps/chat/projects.py:185
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/service_accounts/service_accounts.py:238
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/service_accounts/service_accounts.py:559
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/service_accounts/workspaces.py:47
Methodlist
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/organization/service_accounts/workspaces.py:278
Methodlist
List Skill Versions Args: skill_id: Unique identifier for the skill. The format and length of IDs may chang
src/anthropic/resources/skills/versions.py:200
Methodlist
List Skill Versions Args: skill_id: Unique identifier for the skill. The format and length of IDs may chang
src/anthropic/resources/skills/versions.py:500
Methodlist
List Skills Args: limit: Number of results to return per page. Ranges from `1` to `1000`. Defaults to `20`.
src/anthropic/resources/skills/skills.py:206
Methodlist
List Skills Args: limit: Number of results to return per page. Ranges from `1` to `1000`. Defaults to `20`.
src/anthropic/resources/skills/skills.py:500
Methodlist
(self, _session_id: str, *, limit: int = 1000, extra_headers: Any = None)
tests/lib/tools/test_session_runner.py:229
← previousnext →4,001–4,100 of 12,274, ranked by callers