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
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:385
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:795
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:382
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:757
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:618
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:139
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:212
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:288
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:345
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:402
Method
artifacts
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:459
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:102
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:1339
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1881
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2164
Function
async_get_weather
The weather in a city. Args: city: The city.
tests/lib/tools/test_open_telemetry.py:169
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
Function
async_lookup
Look up a key.
tests/lib/tools/test_runner_eager_tools.py:1022
Function
async_lookup
Lookup the population of a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:153
Function
async_navigate
()
tests/lib/tools/toolsets/test_runnable.py:49
Function
async_navigate
()
tests/lib/tools/toolsets/test_runner.py:163
Method
async_only
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1257
Function
async_parse
(response: AsyncAPIResponse[AsyncStream[object]])
tests/utils.py:348
Function
async_parsed_raw_response
(request: AsyncRequest)
tests/utils.py:344
Function
async_policy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:134
Method
async_refuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3576
Method
async_renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3491
Function
async_search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:448
Method
async_send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3552
Function
async_snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:111
Function
async_stream
(request: AsyncRequest)
tests/utils.py:336
Function
async_stream
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:530
Method
async_stream_parse
(client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:21
Method
async_token_provider
()
tests/lib/test_azure.py:141
Method
auth_headers
(self)
src/anthropic/_base_client.py:790
Method
auth_headers
(self)
src/anthropic/_client.py:370
Method
auth_headers
(self)
src/anthropic/_client.py:778
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:288
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:499
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:226
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:416
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:360
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:579
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:1356
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:2138
Method
base_url
(self)
src/anthropic/_base_client.py:837
Method
base_url
(self)
src/anthropic/lib/google_cloud/_client.py:114
Function
bash
( command: Optional[str] = None, restart: Optional[bool] = None, timeout_ms: Optional[int] = None
src/anthropic/lib/tools/agent_toolset.py:621
Method
bash
(self)
src/anthropic/lib/tools/agent_toolset.py:296
Function
bash_tool
Run a command in a persistent bash shell.
src/anthropic/lib/tools/agent_toolset.py:603
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:103
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:2435
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4780
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4799
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4815
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4831
Method
batches
(self)
src/anthropic/resources/messages/messages.py:99
Method
batches
(self)
src/anthropic/resources/messages/messages.py:1899
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3708
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3724
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3740
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3756
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:48
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:56
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:72
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:80
Method
begin
Called when a `Stream` or an `AsyncStream` starts to parse the body. Never called when the application reads the bytes itself.
src/anthropic/_tracing.py:477
Method
begin
(self)
src/anthropic/_tracing.py:496
Method
begin
(self)
src/anthropic/lib/_tracing/_streaming.py:69
Method
beta
(self)
src/anthropic/_client.py:350
Method
beta
(self)
src/anthropic/_client.py:758
Method
beta
(self)
src/anthropic/_client.py:1011
Method
beta
(self)
src/anthropic/_client.py:1060
Method
beta
(self)
src/anthropic/_client.py:1109
← previous
next →
3,001–3,100 of 12,274, ranked by callers