MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Methodresponse
(self)
src/anthropic/lib/streaming/_messages.py:63
Methodresponse
(self)
src/anthropic/lib/streaming/_messages.py:230
Functionresponse_hook
(response: httpx2.Response)
tests/lib/test_credentials.py:3657
Methodrestore_missing
Have the files that are missing now pulled again instead of deleted. Never raises. A call that was stopped can have moved files away and not
src/anthropic/lib/tools/_memories.py:380
Methodresults
Streams the results of a Message Batch as a `.jsonl` file. Each line in the file is a JSON object containing the result of a single
src/anthropic/resources/beta/messages/batches.py:451
Methodresults
Streams the results of a Message Batch as a `.jsonl` file. Each line in the file is a JSON object containing the result of a single
src/anthropic/resources/beta/messages/batches.py:957
Methodresults
Streams the results of a Message Batch as a `.jsonl` file. Each line in the file is a JSON object containing the result of a single
src/anthropic/resources/messages/batches.py:838
Methodresume
The thread runs again, even though it may still need results from clients.
tests/lib/tools/_fake_sessions_api.py:356
Methodresume_terminated_thread
(self)
tests/lib/tools/_fake_sessions_api.py:497
Methodretrieve
Get a specific model. The Models API response can be used to determine information about a specific model or resolve a model
src/anthropic/resources/models.py:202
Methodretrieve
Get a user profile by ID to check the details stored for it. See the [User profiles guide](https://platform.claude.com/docs/
src/anthropic/resources/user_profiles/user_profiles.py:152
Methodretrieve
Get a user profile by ID to check the details stored for it. See the [User profiles guide](https://platform.claude.com/docs/
src/anthropic/resources/user_profiles/user_profiles.py:534
Methodretrieve
Get Deployment Run Args: deployment_run_id: Unique identifier of the deployment run. betas: This endpoint is in
src/anthropic/resources/beta/deployment_runs.py:49
Methodretrieve
Get Deployment Run Args: deployment_run_id: Unique identifier of the deployment run. betas: This endpoint is in
src/anthropic/resources/beta/deployment_runs.py:239
Methodretrieve
Get a specific model. The Models API response can be used to determine information about a specific model or resolve a model
src/anthropic/resources/beta/models.py:46
Methodretrieve
Get a specific model. The Models API response can be used to determine information about a specific model or resolve a model
src/anthropic/resources/beta/models.py:227
Methodretrieve
Get a dream by ID to check its status, output memory store, and token usage. Archived dreams are returned too. See the
src/anthropic/resources/beta/dreams.py:154
Methodretrieve
Get a dream by ID to check its status, output memory store, and token usage. Archived dreams are returned too. See the
src/anthropic/resources/beta/dreams.py:599
Methodretrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/deployments.py:176
Methodretrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/deployments.py:855
Methodretrieve
Retrieve a specific environment by ID. Args: betas: Optional header to specify the beta version(s) you want to use.
src/anthropic/resources/beta/environments/environments.py:153
Methodretrieve
Retrieve a specific environment by ID. Args: betas: Optional header to specify the beta version(s) you want to use.
src/anthropic/resources/beta/environments/environments.py:657
Methodretrieve
Retrieve detailed information about a specific work item. This endpoint accepts a Claude API key. It rejects the environment key and
src/anthropic/resources/beta/environments/work.py:58
Methodretrieve
Retrieve detailed information about a specific work item. This endpoint accepts a Claude API key. It rejects the environment key and
src/anthropic/resources/beta/environments/work.py:688
Methodretrieve
Get Session Resource Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/resources.py:51
Methodretrieve
Get Session Resource Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/resources.py:449
Methodretrieve
Get Session Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this he
src/anthropic/resources/beta/sessions/sessions.py:194
Methodretrieve
Get Session Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this he
src/anthropic/resources/beta/sessions/sessions.py:738
Methodretrieve
Get Session Thread Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/threads/threads.py:59
Methodretrieve
Get Session Thread Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/threads/threads.py:303
Methodretrieve
Get Session Args: session_id: Unique identifier of the session to retrieve. betas: This endpoint is in beta: re
src/anthropic/resources/beta/bedrock/sessions/sessions.py:237
Methodretrieve
Get Session Args: session_id: Unique identifier of the session to retrieve. betas: This endpoint is in beta: re
src/anthropic/resources/beta/bedrock/sessions/sessions.py:801
Methodretrieve
Get Session Thread Args: session_id: Unique identifier of the session the thread belongs to. thread_id: Unique
src/anthropic/resources/beta/bedrock/sessions/threads/threads.py:60
Methodretrieve
Get Session Thread Args: session_id: Unique identifier of the session the thread belongs to. thread_id: Unique
src/anthropic/resources/beta/bedrock/sessions/threads/threads.py:289
Methodretrieve
Retrieve a Memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). mem
src/anthropic/resources/beta/bedrock/memory_stores/memories.py:138
Methodretrieve
Retrieve a Memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). mem
src/anthropic/resources/beta/bedrock/memory_stores/memories.py:603
Methodretrieve
Retrieve a Memory Version Args: memory_store_id: The ID of the memory store that holds the version (`memstore_...`).
src/anthropic/resources/beta/bedrock/memory_stores/memory_versions.py:54
Methodretrieve
Retrieve a Memory Version Args: memory_store_id: The ID of the memory store that holds the version (`memstore_...`).
src/anthropic/resources/beta/bedrock/memory_stores/memory_versions.py:343
Methodretrieve
Retrieve a Memory Store Args: memory_store_id: The ID of the memory store to retrieve (`memstore_...`). betas:
src/anthropic/resources/beta/bedrock/memory_stores/memory_stores.py:157
Methodretrieve
Retrieve a Memory Store Args: memory_store_id: The ID of the memory store to retrieve (`memstore_...`). betas:
src/anthropic/resources/beta/bedrock/memory_stores/memory_stores.py:615
Methodretrieve
Get Agent Args: agent_id: Unique identifier of the agent to retrieve. version: Agent version. Omit for the most
src/anthropic/resources/beta/bedrock/agents/agents.py:197
Methodretrieve
Get Agent Args: agent_id: Unique identifier of the agent to retrieve. version: Agent version. Omit for the most
src/anthropic/resources/beta/bedrock/agents/agents.py:667
Methodretrieve
Retrieve a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique
src/anthropic/resources/beta/vaults/credentials.py:131
Methodretrieve
Retrieve a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique
src/anthropic/resources/beta/vaults/credentials.py:702
Methodretrieve
Retrieve a Vault Args: vault_id: Unique identifier of the vault to retrieve. betas: This endpoint is in beta: r
src/anthropic/resources/beta/vaults/vaults.py:132
Methodretrieve
Retrieve a Vault Args: vault_id: Unique identifier of the vault to retrieve. betas: This endpoint is in beta: r
src/anthropic/resources/beta/vaults/vaults.py:582
Methodretrieve
Get a user profile by ID to check the details stored for it. See the [User profiles guide](https://platform.claude.com/docs/
src/anthropic/resources/beta/user_profiles/user_profiles.py:199
Methodretrieve
Get a user profile by ID to check the details stored for it. See the [User profiles guide](https://platform.claude.com/docs/
src/anthropic/resources/beta/user_profiles/user_profiles.py:771
Methodretrieve
Get the profile's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's status.
src/anthropic/resources/beta/user_profiles/providers/google/data_controls.py:57
Methodretrieve
Get the profile's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's status.
src/anthropic/resources/beta/user_profiles/providers/google/data_controls.py:247
Methodretrieve
Retrieve a plugin marketplace by ID. **Accepted credentials:** an Admin API key with the `read:plugins` or `read:org_audit`
src/anthropic/resources/beta/organization/plugin_marketplaces.py:49
Methodretrieve
Retrieve a plugin marketplace by ID. **Accepted credentials:** an Admin API key with the `read:plugins` or `read:org_audit`
src/anthropic/resources/beta/organization/plugin_marketplaces.py:539
Methodretrieve
Get one External Storage in the organization. Args: external_storage_id: The External Storage ID, which starts with `estrg
src/anthropic/resources/beta/organization/external_storage.py:134
Methodretrieve
Get one External Storage in the organization. Args: external_storage_id: The External Storage ID, which starts with `estrg
src/anthropic/resources/beta/organization/external_storage.py:605
Methodretrieve
Retrieve your organization's Compliance Settings. Compliance Settings is a singleton resource: there is exactly one per orga
src/anthropic/resources/beta/organization/compliance_settings.py:46
Methodretrieve
Retrieve your organization's Compliance Settings. Compliance Settings is a singleton resource: there is exactly one per orga
src/anthropic/resources/beta/organization/compliance_settings.py:183
Methodretrieve
Retrieve a single external key config in the caller's organization by ID. Args: external_key_id: ID of the External Key.
src/anthropic/resources/beta/organization/external_keys.py:114
Methodretrieve
Retrieve a single external key config in the caller's organization by ID. Args: external_key_id: ID of the External Key.
src/anthropic/resources/beta/organization/external_keys.py:460
Methodretrieve
Retrieve information about the organization associated with the authenticated API key.
src/anthropic/resources/beta/organization/organization.py:292
Methodretrieve
Retrieve information about the organization associated with the authenticated API key.
src/anthropic/resources/beta/organization/organization.py:425
Methodretrieve
Get API Key Args: api_key_id: ID of the API key. extra_headers: Send extra headers extra_query: Add
src/anthropic/resources/beta/organization/api_keys.py:45
Methodretrieve
Get API Key Args: api_key_id: ID of the API key. extra_headers: Send extra headers extra_query: Add
src/anthropic/resources/beta/organization/api_keys.py:236
Methodretrieve
Retrieve an invite by ID. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra
src/anthropic/resources/beta/organization/invites.py:127
Methodretrieve
Retrieve an invite by ID. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra
src/anthropic/resources/beta/organization/invites.py:391
Methodretrieve
Retrieve an organization webhook endpoint by ID. Every request must include the beta header `anthropic-beta: webhooks-2026-1
src/anthropic/resources/beta/organization/webhooks.py:148
Methodretrieve
Retrieve an organization webhook endpoint by ID. Every request must include the beta header `anthropic-beta: webhooks-2026-1
src/anthropic/resources/beta/organization/webhooks.py:658
Methodretrieve
Retrieve a member of the organization by user ID. Args: user_id: ID of the User. extra_headers: Send extra head
src/anthropic/resources/beta/organization/users.py:48
Methodretrieve
Retrieve a member of the organization by user ID. Args: user_id: ID of the User. extra_headers: Send extra head
src/anthropic/resources/beta/organization/users.py:384
Methodretrieve
**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/federation/issuers.py:135
Methodretrieve
**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/federation/issuers.py:538
Methodretrieve
**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/federation/rules/rules.py:179
Methodretrieve
**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/federation/rules/rules.py:641
Methodretrieve
Retrieve the default Claude Code managed settings, which members who belong to no RBAC Group in `rbac_group_order` receive in `rbac_g
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.py:47
Methodretrieve
Retrieve the default Claude Code managed settings, which members who belong to no RBAC Group in `rbac_group_order` receive in `rbac_g
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.py:220
Methodretrieve
Retrieve an RBAC Group's Claude Code managed settings. **Accepted credentials:** an organization-level Admin API key with the
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:54
Methodretrieve
Retrieve an RBAC Group's Claude Code managed settings. **Accepted credentials:** an organization-level Admin API key with the
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:428
Methodretrieve
Retrieve the organization's Claude Code managed settings mode and RBAC Group order. **Accepted credentials:** an organizatio
src/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.py:53
Methodretrieve
Retrieve the organization's Claude Code managed settings mode and RBAC Group order. **Accepted credentials:** an organizatio
src/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.py:246
Methodretrieve
Get a Google Cloud project's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's stat
src/anthropic/resources/beta/organization/providers/google/projects/data_controls.py:57
Methodretrieve
Get a Google Cloud project's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's stat
src/anthropic/resources/beta/organization/providers/google/projects/data_controls.py:253
Methodretrieve
Retrieve an RBAC Role by ID. The RBAC Roles API is available to Claude Enterprise organizations only. Args: rbac_
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:56
Methodretrieve
Retrieve an RBAC Role by ID. The RBAC Roles API is available to Claude Enterprise organizations only. Args: rbac_
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:188
Methodretrieve
Get one Slack workspace and its settings. By default `settings` holds what the workspace itself stores: a setting that is null there
src/anthropic/resources/beta/organization/claude_tag/slack_workspaces.py:47
Methodretrieve
Get one Slack workspace and its settings. By default `settings` holds what the workspace itself stores: a setting that is null there
src/anthropic/resources/beta/organization/claude_tag/slack_workspaces.py:318
Methodretrieve
Get one Slack channel and its settings. By default `settings` holds what the channel itself stores: a setting that is null there is n
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:144
Methodretrieve
Get one Slack channel and its settings. By default `settings` holds what the channel itself stores: a setting that is null there is n
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:596
Methodretrieve
Get one Bundle Target. Returns 404 when `target_id` is the identifier of another Bundle's Bundle Target, or the Bundle Target was det
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:130
Methodretrieve
Get one Bundle Target. Returns 404 when `target_id` is the identifier of another Bundle's Bundle Target, or the Bundle Target was det
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:479
Methodretrieve
Get one Bundle. What the Bundle grants (connectors, repositories and credentials) is never returned. Args: bundle_
src/anthropic/resources/beta/organization/claude_tag/bundles/bundles.py:58
Methodretrieve
Get one Bundle. What the Bundle grants (connectors, repositories and credentials) is never returned. Args: bundle_
src/anthropic/resources/beta/organization/claude_tag/bundles/bundles.py:306
Methodretrieve
**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/workspaces/service_accounts.py:48
Methodretrieve
**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/workspaces/service_accounts.py:442
Methodretrieve
Get Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_headers
src/anthropic/resources/beta/organization/workspaces/members.py:46
Methodretrieve
Get Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_headers
src/anthropic/resources/beta/organization/workspaces/members.py:360
Methodretrieve
Get Workspace Args: workspace_id: ID of the Workspace. betas: Optional. Send `efs-2026-10-01` in this header to
src/anthropic/resources/beta/organization/workspaces/workspaces.py:226
Methodretrieve
Get Workspace Args: workspace_id: ID of the Workspace. betas: Optional. Send `efs-2026-10-01` in this header to
src/anthropic/resources/beta/organization/workspaces/workspaces.py:729
Methodretrieve
Retrieve an RBAC Group by ID. The RBAC Groups API is available to Claude Enterprise organizations only. Args: rba
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:105
Methodretrieve
Retrieve an RBAC Group by ID. The RBAC Groups API is available to Claude Enterprise organizations only. Args: rba
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:379
Methodretrieve
Read a destination's configuration, state, and most recent delivery results. See the [OpenTelemetry export guide](https://pl
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:172
Methodretrieve
Read a destination's configuration, state, and most recent delivery results. See the [OpenTelemetry export guide](https://pl
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:696
← previousnext →5,201–5,300 of 14,068, ranked by callers