Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,274 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,274
◇
Types & classes
3,937
↳
Endpoints
46
Method
remove
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:161
Method
remove
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:364
Method
remove
Remove one workspace from a destination's workspace list. Under `include` the workspace's spans stop going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:211
Method
remove
Remove one workspace from a destination's workspace list. Under `include` the workspace's spans stop going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:471
Method
remove
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:152
Method
remove
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:472
Method
remove
**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:205
Method
remove
**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:460
Method
remove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:208
Method
remove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:440
Method
remove
**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:176
Method
remove
**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:393
Method
remove
**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:313
Method
remove
**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:667
Method
remove
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:278
Method
remove
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:587
Method
remove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/organization/rbac_groups/members.py:159
Method
remove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/organization/rbac_groups/members.py:359
Method
remove
**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:188
Method
remove
**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:419
Function
remove_then_add
(runner: Any)
tests/lib/tools/test_runners.py:1869
Function
remove_weather
(runner: Any)
tests/lib/tools/test_runners.py:1820
Function
remove_weather_and_compact
(runner: Any)
tests/lib/tools/test_runners.py:2145
Function
removeprefix
Remove a prefix from a string. Backport of `str.removeprefix` for Python < 3.9
src/anthropic/_utils/_utils.py:381
Function
removesuffix
Remove a suffix from a string. Backport of `str.removesuffix` for Python < 3.9
src/anthropic/_utils/_utils.py:391
Method
rename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:600
Method
rename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:901
Method
renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3488
Function
replace_then_open
(opened: Path, flags: int)
tests/lib/tools/memory_tools/test_filesystem.py:57
Method
replay
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:1422
Method
request_id
(self)
src/anthropic/_response.py:300
Method
request_id
(self)
src/anthropic/_response.py:413
Method
request_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:68
Method
request_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:240
Method
request_id
(self)
src/anthropic/lib/streaming/_messages.py:63
Method
request_id
(self)
src/anthropic/lib/streaming/_messages.py:228
Function
required_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
Method
resolve_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
Method
resolve_upload_documents
(self, context: object, document_ids: object)
tests/lib/tools/toolsets/test_pipeline.py:245
Method
resolve_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
Method
resolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_refusals.py:179
Method
resolve_upload_paths
(self, context: object, paths: object)
tests/lib/tools/toolsets/test_pipeline.py:242
Method
resolve_upload_paths
(self, context: BetaURLContext, paths: Sequence[str])
tests/lib/tools/toolsets/test_pipeline.py:428
Method
resolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:344
Method
resolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:357
Method
resolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:516
Method
resolved_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
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:65
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:609
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1175
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1211
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1247
Method
resources
(self)
src/anthropic/resources/beta/sessions/sessions.py:1283
Function
respond
(reader: asyncio.StreamReader, writer: asyncio.StreamWriter)
tests/test_open_telemetry.py:657
Function
respond
(request: httpx2.Request)
tests/lib/test_platform_resources.py:56
Function
respond
(request: httpx2.Request)
tests/lib/test_client_copy.py:284
Method
respond
(_request: httpx2.Request)
tests/test_open_telemetry.py:4205
Method
respond
(request: httpx2.Request)
tests/lib/tools/test_runner_eager_tools.py:1118
Method
respond_slowly
(_request: httpx2.Request)
tests/lib/threads/test_async_beta_threads.py:367
Function
respond_to_user_profiles
(request: httpx2.Request)
tests/lib/test_azure.py:346
Function
respond_to_user_profiles
(request: httpx2.Request)
tests/lib/test_aws.py:558
Function
respond_with_message
(_request: httpx2.Request)
tests/test_open_telemetry.py:254
Function
respond_with_message
(request: httpx2.Request)
tests/lib/test_bedrock_mantle.py:441
Method
response
(self)
src/anthropic/lib/streaming/_beta_messages.py:64
Method
response
(self)
src/anthropic/lib/streaming/_beta_messages.py:236
Method
response
(self)
src/anthropic/lib/streaming/_messages.py:59
Method
response
(self)
src/anthropic/lib/streaming/_messages.py:224
Method
results
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:449
Method
results
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:953
Method
results
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:834
Method
retrieve
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
Method
retrieve
Get User Profile Args: user_profile_id: The ID of the user profile to get (`uprof_...`). workspace_id: Optional
src/anthropic/resources/user_profiles/user_profiles.py:143
Method
retrieve
Get User Profile Args: user_profile_id: The ID of the user profile to get (`uprof_...`). workspace_id: Optional
src/anthropic/resources/user_profiles/user_profiles.py:499
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/deployments.py:176
Method
retrieve
Get Deployment Args: deployment_id: Unique identifier of the deployment. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/deployments.py:855
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve
Retrieve a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique
src/anthropic/resources/beta/vaults/credentials.py:131
Method
retrieve
Retrieve a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique
src/anthropic/resources/beta/vaults/credentials.py:702
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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/user_profiles.py:178
Method
retrieve
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/user_profiles.py:715
Method
retrieve
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
Method
retrieve
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:531
Method
retrieve
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:42
← previous
next →
4,501–4,600 of 12,274, ranked by callers