Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
14,068 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
14,068
◇
Types & classes
4,501
↳
Endpoints
96
Method
records_content
(self)
src/anthropic/lib/_tracing/_config.py:25
Method
redact
Redact 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:250
Method
redact
Redact 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:539
Method
redact
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:566
Function
refresh_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
Function
refuse
(_path: str)
tests/lib/tools/memory_sync/test_memory_sync.py:283
Method
refuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3574
Method
refuse
(name: str)
tests/test_open_telemetry.py:8173
Function
refusing
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:357
Function
refusing
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:193
Method
regenerate_signing_secret
Replace an organization webhook endpoint's signing secret. The old secret stops working immediately. The new secret is returned only
src/anthropic/resources/beta/organization/webhooks.py:979
Method
region
(self)
src/anthropic/lib/vertex/_client.py:42
Function
registered
`spans`, with its provider registered with the OpenTelemetry API for this test, which a client that is given none uses. A client that is given a
tests/test_open_telemetry.py:169
Method
reload
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:448
Method
reload
(self)
src/anthropic/lib/credentials/_providers.py:882
Method
remove
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:214
Method
remove
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:550
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/federation/rules/workspaces.py:193
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/federation/rules/workspaces.py:434
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/workspaces/service_accounts.py:346
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/workspaces/service_accounts.py:740
Method
remove
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:282
Method
remove
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:596
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:160
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:361
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:478
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:442
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:158
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:356
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
Method
remove_memory_file
(self, name: str)
tests/lib/environments/_fake_work_api.py:284
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
removed
(api: FakeApi)
tests/lib/tools/memory_sync/test_e2e_memory.py:327
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
Function
rename_or_fail
(source: Path, target: Path)
tests/lib/tools/test_skills.py:558
Method
renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3489
Method
reorder
Streams get the next append after the one that follows it, unless that would put a result before its call.
tests/lib/tools/_fake_sessions_api.py:524
Method
replace_extensions
(request: httpx2.Request)
tests/test_client.py:1870
Method
replace_extensions
(request: httpx2.Request)
tests/test_client.py:3683
Method
replace_headers
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:881
Method
replace_headers
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1732
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:1423
Function
request_hook
(request: httpx2.Request)
tests/lib/test_credentials.py:3654
Method
request_id
(self)
src/anthropic/_response.py:307
Method
request_id
(self)
src/anthropic/_response.py:420
Method
request_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:72
Method
request_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:246
Method
request_id
(self)
src/anthropic/lib/streaming/_messages.py:67
Method
request_id
(self)
src/anthropic/lib/streaming/_messages.py:234
Method
require_action
`other_ids` are ids of no tool call.
tests/lib/tools/_fake_sessions_api.py:346
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
reschedule
(self, thread: str = PRIMARY)
tests/lib/tools/_fake_sessions_api.py:397
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:218
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
Send your conclusion on a review case. A response closes the case, and a closed case can't be reopened. Only the first respo
src/anthropic/resources/beta/compliance/review/cases.py:240
Method
respond
Send your conclusion on a review case. A response closes the case, and a closed case can't be reopened. Only the first respo
src/anthropic/resources/beta/compliance/review/cases.py:525
Method
respond
(_request: httpx2.Request)
tests/test_open_telemetry.py:4206
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:68
Method
response
(self)
src/anthropic/lib/streaming/_beta_messages.py:242
← previous
next →
5,101–5,200 of 14,068, ranked by callers