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
Function
apply_on_time
()
tests/lib/tools/_fake_sessions_api.py:954
Function
approve
(_context: BetaConfirmContext)
tests/lib/tools/toolsets/_fakes.py:311
Function
approve
(context: object)
tests/lib/tools/toolsets/_computer_fakes.py:74
Method
approve
Approve a pending spend limit increase request. Writes a per-user spend limit at `amount` for the requester and transitions the
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:158
Method
approve
Approve a pending spend limit increase request. Writes a per-user spend limit at `amount` for the requester and transitions the
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:410
Method
approve
Approve a pending spend limit increase request. Writes a per-user spend limit at `amount` for the requester and transitions the
src/anthropic/resources/organization/spend_limits/increase_requests.py:402
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:131
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:208
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:288
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:349
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:410
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:471
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:75
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:124
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:176
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:209
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:242
Method
apps
(self)
src/anthropic/resources/organization/analytics/analytics.py:275
Method
archive
Hide a `completed`, `failed`, or `canceled` dream from the default list of dreams. Archiving a `pending` or `running` dream
src/anthropic/resources/beta/dreams.py:325
Method
archive
Hide a `completed`, `failed`, or `canceled` dream from the default list of dreams. Archiving a `pending` or `running` dream
src/anthropic/resources/beta/dreams.py:770
Method
archive
Archive Deployment Args: deployment_id: Unique identifier of the deployment to archive. betas: This endpoint is
src/anthropic/resources/beta/deployments.py:454
Method
archive
Archive Deployment Args: deployment_id: Unique identifier of the deployment to archive. betas: This endpoint is
src/anthropic/resources/beta/deployments.py:1133
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:470
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:974
Method
archive
Archive Session Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/sessions.py:538
Method
archive
Archive Session Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/sessions.py:1082
Method
archive
Archive 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:209
Method
archive
Archive 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:453
Method
archive
Archive Session Args: session_id: Unique identifier of the session to archive. betas: This endpoint is in beta:
src/anthropic/resources/beta/bedrock/sessions/sessions.py:568
Method
archive
Archive Session Args: session_id: Unique identifier of the session to archive. betas: This endpoint is in beta:
src/anthropic/resources/beta/bedrock/sessions/sessions.py:1134
Method
archive
Archive Session Thread Args: session_id: Unique identifier of the session the thread belongs to. thread_id: Uni
src/anthropic/resources/beta/bedrock/sessions/threads/threads.py:197
Method
archive
Archive Session Thread Args: session_id: Unique identifier of the session the thread belongs to. thread_id: Uni
src/anthropic/resources/beta/bedrock/sessions/threads/threads.py:426
Method
archive
Archive a Memory Store Args: memory_store_id: The ID of the memory store to archive (`memstore_...`). Archiving can't be
src/anthropic/resources/beta/bedrock/memory_stores/memory_stores.py:446
Method
archive
Archive a Memory Store Args: memory_store_id: The ID of the memory store to archive (`memstore_...`). Archiving can't be
src/anthropic/resources/beta/bedrock/memory_stores/memory_stores.py:906
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/bedrock/agents/agents.py:464
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/bedrock/agents/agents.py:934
Method
archive
Archive a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique i
src/anthropic/resources/beta/vaults/credentials.py:449
Method
archive
Archive a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique i
src/anthropic/resources/beta/vaults/credentials.py:1020
Method
archive
Archive a Vault Args: vault_id: Unique identifier of the vault to archive. betas: This endpoint is in beta: req
src/anthropic/resources/beta/vaults/vaults.py:418
Method
archive
Archive a Vault Args: vault_id: Unique identifier of the vault to archive. betas: This endpoint is in beta: req
src/anthropic/resources/beta/vaults/vaults.py:868
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:361
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:764
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:430
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:892
Method
archive
Archive Workspace Args: betas: Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta fe
src/anthropic/resources/beta/organization/workspaces/workspaces.py:505
Method
archive
Archive Workspace Args: betas: Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta fe
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1008
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:330
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:693
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:295
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:649
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:286
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:766
Method
archive
Archive a Memory Store Args: memory_store_id: The ID of the memory store to archive (`memstore_...`). Archi
src/anthropic/resources/beta/memory_stores/memory_stores.py:476
Method
archive
Archive a Memory Store Args: memory_store_id: The ID of the memory store to archive (`memstore_...`). Archi
src/anthropic/resources/beta/memory_stores/memory_stores.py:978
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/agents/agents.py:464
Method
archive
Archive Agent Args: agent_id: Unique identifier of the agent to archive. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/agents/agents.py:950
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:328
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:691
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:386
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:797
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:390
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:775
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:297
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:620
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:151
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:228
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:308
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:369
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:430
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:491
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:91
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:140
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:192
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:225
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:258
Method
artifacts
(self)
src/anthropic/resources/organization/analytics/analytics.py:291
Method
async_auth_flow
(self, request: httpx2.Request)
src/anthropic/lib/credentials/_auth.py:108
Function
async_beta_count_tokens
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:620
Function
async_beta_create
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:541
Function
async_beta_create_batch
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:643
Function
async_beta_parse
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:566
Function
async_beta_stream
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:553
Function
async_beta_tool_runner
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:578
Function
async_client
(request: FixtureRequest)
tests/conftest.py:124
Function
async_client
()
tests/lib/test_google_cloud_live.py:46
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:32
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_runner.py:115
Method
async_client
(self)
tests/lib/test_bedrock_mantle.py:688
Function
async_count_tokens
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:609
Function
async_create
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:520
Function
async_create_batch
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:639
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:1482
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2141
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2520
Function
async_get_weather
The weather in a city. Args: city: The city.
tests/lib/tools/test_open_telemetry.py:179
Function
async_get_weather
Lookup the weather for a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:135
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:40
← previous
next →
3,301–3,400 of 14,068, ranked by callers