MCPcopy Create free account

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

Functions9,455 in github.com/anthropics/anthropic-sdk-python

Functionrecording_finish
(self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:532
Functionrecording_heartbeat_loop
(*args: Any, **kwargs: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:560
Methodredact
Redact a memory version Args: memory_store_id: The ID of the memory store that holds the version (`memstore_...`).
src/anthropic/resources/beta/memory_stores/memory_versions.py:530
Functionrefresh_credentials
Refresh `credentials` in place via `google.auth.transport.requests`. Blocking — async callers wrap with `anthropic._utils.asyncify`.
src/anthropic/lib/_extras/_google_auth.py:66
Functionrefuse
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_refusals.py:139
Functionrefuse
(_path: str)
tests/lib/tools/memory_sync/test_memory_sync.py:283
Functionrefusing
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:357
Functionrefusing
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:193
Methodregion
(self)
src/anthropic/lib/vertex/_client.py:41
Methodreload
Drop the cached config so the next call re-reads it from disk. `CredentialsFile` caches the parsed config across calls to keep the ho
src/anthropic/lib/credentials/_providers.py:446
Methodreload
(self)
src/anthropic/lib/credentials/_providers.py:877
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/beta/organization/users.py:196
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/beta/organization/users.py:406
Methodremove
**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/workspaces.py:181
Methodremove
**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/workspaces.py:400
Methodremove
**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:321
Methodremove
**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:680
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/beta/organization/workspaces/members.py:249
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/beta/organization/workspaces/members.py:520
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/beta/organization/rbac_groups/members.py:149
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/beta/organization/rbac_groups/members.py:326
Methodremove
Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group. Removing th
src/anthropic/resources/beta/organization/plugins/installation_settings.py:147
Methodremove
Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group. Removing th
src/anthropic/resources/beta/organization/plugins/installation_settings.py:448
Methodremove
**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:193
Methodremove
**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:426
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:196
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:406
Methodremove
**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:166
Methodremove
**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:364
Methodremove
**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:288
Methodremove
**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:608
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/organization/workspaces/members.py:249
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/organization/workspaces/members.py:520
Methodremove
**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:178
Methodremove
**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:390
Functionremove_then_add
(runner: Any)
tests/lib/tools/test_runners.py:1861
Functionremove_weather
(runner: Any)
tests/lib/tools/test_runners.py:1812
Functionremove_weather_and_compact
(runner: Any)
tests/lib/tools/test_runners.py:2137
Functionremoveprefix
Remove a prefix from a string. Backport of `str.removeprefix` for Python < 3.9
src/anthropic/_utils/_utils.py:381
Functionremovesuffix
Remove a suffix from a string. Backport of `str.removesuffix` for Python < 3.9
src/anthropic/_utils/_utils.py:391
Methodrename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:594
Methodrename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:896
Methodrequest_id
(self)
src/anthropic/_response.py:300
Methodrequest_id
(self)
src/anthropic/_response.py:413
Methodrequest_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:64
Methodrequest_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:218
Methodrequest_id
(self)
src/anthropic/lib/streaming/_messages.py:61
Methodrequest_id
(self)
src/anthropic/lib/streaming/_messages.py:214
Functionrequired_args
Decorator to enforce a given set of arguments or variants of arguments are passed to the decorated function. Useful for enforcing runtime validat
src/anthropic/_utils/_utils.py:226
Methodresolve_upload_documents
Vet each document id (a file staged with the Files API) the model asked to upload, or raise `ToolError` to refuse. The driver receives the ret
src/anthropic/lib/tools/_toolsets/_hooks.py:65
Methodresolve_upload_documents
(self, context: object, document_ids: object)
tests/lib/tools/toolsets/test_pipeline.py:245
Methodresolve_upload_paths
Resolve each path the model asked to upload, or raise `ToolError` to refuse. The driver receives the returned paths in `input.paths`.
src/anthropic/lib/tools/_toolsets/_hooks.py:60
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_refusals.py:179
Methodresolve_upload_paths
(self, context: object, paths: object)
tests/lib/tools/toolsets/test_pipeline.py:242
Methodresolve_upload_paths
(self, context: BetaURLContext, paths: Sequence[str])
tests/lib/tools/toolsets/test_pipeline.py:428
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:344
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:357
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:516
Methodresolved_base_url
The `base_url` declared in the profile config file, if any. Returns `None` when the config has no top-level `base_url` key — callers
src/anthropic/lib/credentials/_providers.py:216
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:64
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:578
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1114
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1150
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1186
Methodresources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1222
Methodrespond
(request: httpx2.Request)
tests/lib/tools/test_runner_eager_tools.py:1118
Methodresponse
(self)
src/anthropic/lib/streaming/_beta_messages.py:60
Methodresponse
(self)
src/anthropic/lib/streaming/_beta_messages.py:214
Methodresponse
(self)
src/anthropic/lib/streaming/_messages.py:57
Methodresponse
(self)
src/anthropic/lib/streaming/_messages.py:210
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:415
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:877
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:731
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:210
Methodretrieve
Get Deployment Run Args: deployment_run_id: Unique identifier of the deployment run. betas: Optional header to
src/anthropic/resources/beta/deployment_runs.py:49
Methodretrieve
Get Deployment Run Args: deployment_run_id: Unique identifier of the deployment run. betas: Optional header to
src/anthropic/resources/beta/deployment_runs.py:230
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:210
Methodretrieve
Get User Profile Args: user_profile_id: The ID of the user profile to get (`uprof_...`). betas: Optional header
src/anthropic/resources/beta/user_profiles.py:159
Methodretrieve
Get User Profile Args: user_profile_id: The ID of the user profile to get (`uprof_...`). betas: Optional header
src/anthropic/resources/beta/user_profiles.py:607
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:149
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:570
Methodretrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: Optional header to specify the
src/anthropic/resources/beta/deployments.py:171
Methodretrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: Optional header to specify the
src/anthropic/resources/beta/deployments.py:811
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:142
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:585
Methodretrieve
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:58
Methodretrieve
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:637
Methodretrieve
Get Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id:
src/anthropic/resources/beta/sessions/resources.py:51
Methodretrieve
Get Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id:
src/anthropic/resources/beta/sessions/resources.py:429
Methodretrieve
Get Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optional
src/anthropic/resources/beta/sessions/sessions.py:187
Methodretrieve
Get Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optional
src/anthropic/resources/beta/sessions/sessions.py:701
Methodretrieve
Get Session Thread Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: O
src/anthropic/resources/beta/sessions/threads/threads.py:59
Methodretrieve
Get Session Thread Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: O
src/anthropic/resources/beta/sessions/threads/threads.py:292
Methodretrieve
Get Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique identif
src/anthropic/resources/beta/vaults/credentials.py:125
Methodretrieve
Get Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique identif
src/anthropic/resources/beta/vaults/credentials.py:664
Methodretrieve
Get Vault Args: vault_id: Unique identifier of the vault to retrieve. betas: Optional header to specify the bet
src/anthropic/resources/beta/vaults/vaults.py:127
Methodretrieve
Get Vault Args: vault_id: Unique identifier of the vault to retrieve. betas: Optional header to specify the bet
src/anthropic/resources/beta/vaults/vaults.py:546
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:508
← previousnext →3,501–3,600 of 9,455, ranked by callers