Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
9,455 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
9,455
◇
Types & classes
3,151
↳
Endpoints
25
Method
archive
Archive an environment by ID. Archived environments cannot be used to create new sessions. Args: betas: Optional h
src/anthropic/resources/beta/environments/environments.py:861
Method
archive
Archive Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Opti
src/anthropic/resources/beta/sessions/sessions.py:512
Method
archive
Archive Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Opti
src/anthropic/resources/beta/sessions/sessions.py:1026
Method
archive
Archive Session Thread Args: betas: Optional header to specify the beta version(s) you want to use. workspace_i
src/anthropic/resources/beta/sessions/threads/threads.py:201
Method
archive
Archive Session Thread Args: betas: Optional header to specify the beta version(s) you want to use. workspace_i
src/anthropic/resources/beta/sessions/threads/threads.py:434
Method
archive
Archive Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique ide
src/anthropic/resources/beta/vaults/credentials.py:427
Method
archive
Archive Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique ide
src/anthropic/resources/beta/vaults/credentials.py:966
Method
archive
Archive Vault Args: vault_id: Unique identifier of the vault to archive. betas: Optional header to specify the
src/anthropic/resources/beta/vaults/vaults.py:392
Method
archive
Archive Vault Args: vault_id: Unique identifier of the vault to archive. betas: Optional header to specify the
src/anthropic/resources/beta/vaults/vaults.py:811
Method
archive
**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:342
Method
archive
**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:719
Method
archive
**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:410
Method
archive
**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:846
Method
archive
Archive Workspace Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the r
src/anthropic/resources/beta/organization/workspaces/workspaces.py:325
Method
archive
Archive Workspace Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the r
src/anthropic/resources/beta/organization/workspaces/workspaces.py:636
Method
archive
**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:311
Method
archive
**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:647
Method
archive
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:279
Method
archive
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:612
Method
archive
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:272
Method
archive
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:723
Method
archive
Archive a memory store Args: memory_store_id: ID of the memory store to archive (a `memstore_...` identifier). Required.
src/anthropic/resources/beta/memory_stores/memory_stores.py:441
Method
archive
Archive a memory store Args: memory_store_id: ID of the memory store to archive (a `memstore_...` identifier). Required.
src/anthropic/resources/beta/memory_stores/memory_stores.py:902
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: Optional header to specify the
src/anthropic/resources/beta/agents/agents.py:433
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: Optional header to specify the
src/anthropic/resources/beta/agents/agents.py:885
Method
archive
**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:311
Method
archive
**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:651
Method
archive
**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:368
Method
archive
**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:755
Method
archive
Archive Workspace Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the r
src/anthropic/resources/organization/workspaces/workspaces.py:317
Method
archive
Archive Workspace Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the r
src/anthropic/resources/organization/workspaces/workspaces.py:621
Method
archive
**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:280
Method
archive
**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:578
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:123
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:188
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:256
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:305
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:354
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:403
Method
async_auth_flow
(self, request: httpx2.Request)
src/anthropic/lib/credentials/_auth.py:113
Function
async_client
(request: FixtureRequest)
tests/conftest.py:110
Function
async_client
()
tests/lib/test_google_cloud_live.py:45
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_computer_runner.py:36
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_browser_runner.py:31
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_runner.py:110
Function
async_files_from_dir
(directory: str | os.PathLike[str])
src/anthropic/lib/_files.py:28
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1340
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1884
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2167
Function
async_key
A function tool named like the computer toolset's `key` tool.
tests/lib/tools/test_runner_eager_toolsets.py:62
Function
async_local_filesystem_tool
(temp_directory: str)
tests/lib/tools/memory_tools/test_filesystem.py:38
Function
async_lookup
Look up a key.
tests/lib/tools/test_runner_eager_tools.py:1022
Function
async_navigate
()
tests/lib/tools/toolsets/test_runnable.py:49
Function
async_navigate
()
tests/lib/tools/toolsets/test_runner.py:158
Method
async_only
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1258
Function
async_policy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:134
Function
async_search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:419
Function
async_snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:97
Method
async_stream_parse
(client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:21
Method
async_token_provider
()
tests/lib/test_azure.py:132
Method
auth_headers
(self)
src/anthropic/_base_client.py:719
Method
auth_headers
(self)
src/anthropic/_client.py:367
Method
auth_headers
(self)
src/anthropic/_client.py:801
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:293
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:510
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:228
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:421
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:305
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:539
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:1236
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:1961
Method
base_url
(self)
src/anthropic/_base_client.py:766
Method
base_url
(self)
src/anthropic/lib/google_cloud/_client.py:92
Function
bash
( command: Optional[str] = None, restart: Optional[bool] = None, timeout_ms: Optional[int] = None
src/anthropic/lib/tools/agent_toolset.py:600
Method
bash
(self)
src/anthropic/lib/tools/agent_toolset.py:292
Function
bash_tool
Run a command in a persistent bash shell.
src/anthropic/lib/tools/agent_toolset.py:582
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:98
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:2061
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4028
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4047
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4063
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4079
Method
batches
(self)
src/anthropic/resources/messages/messages.py:98
Method
batches
(self)
src/anthropic/resources/messages/messages.py:1580
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3071
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3087
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3103
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3119
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:47
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:55
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:71
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:79
Method
beta
(self)
src/anthropic/_client.py:347
Method
beta
(self)
src/anthropic/_client.py:781
Method
beta
(self)
src/anthropic/_client.py:1055
Method
beta
(self)
src/anthropic/_client.py:1098
Method
beta
(self)
src/anthropic/_client.py:1141
Method
beta
(self)
src/anthropic/_client.py:1184
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:200
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:418
← previous
next →
2,301–2,400 of 9,455, ranked by callers