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
_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/bedrock/_mantle.py:244
Method
_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/bedrock/_mantle.py:434
Method
_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/aws/_client.py:372
Method
_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/google_cloud/_client.py:366
Method
_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/google_cloud/_client.py:583
Method
a_sync_cm
()
tests/lib/tools/test_functions.py:542
Function
accepting_8_bytes
(api: FakeApi)
tests/lib/tools/memory_sync/test_e2e_memory.py:53
Method
ack
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:927
Function
aclose
()
tests/lib/tools/test_session_runner.py:1995
Method
aclose
(self)
src/anthropic/_vendor/httpx_aiohttp/transport.py:77
Method
aclose
(self)
tests/lib/test_credentials.py:4415
Method
aclose
(self)
tests/lib/test_credentials.py:4440
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:50
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:432
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:829
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:854
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:879
Method
action_urls
(self)
src/anthropic/resources/user_profiles/user_profiles.py:904
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:56
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:628
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1218
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1250
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1282
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1314
Method
activate
Verify pending External Storage and make it available. Storage that is already available, active or draining comes back unchanged, wi
src/anthropic/resources/beta/organization/external_storage.py:888
Function
add
(params: dict[str, Any])
tests/lib/threads/helpers.py:590
Method
add
Add Session Resource Args: file_id: ID of a previously uploaded file. mount_path: Mount path in the container.
src/anthropic/resources/beta/sessions/resources.py:351
Method
add
Add Session Resource Args: file_id: ID of a previously uploaded file. mount_path: Mount path in the container.
src/anthropic/resources/beta/sessions/resources.py:749
Method
add
**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:120
Method
add
**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:361
Method
add
**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:270
Method
add
**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:664
Method
add
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/beta/organization/workspaces/members.py:224
Method
add
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/beta/organization/workspaces/members.py:538
Method
add
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/beta/organization/rbac_groups/members.py:102
Method
add
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/beta/organization/rbac_groups/members.py:303
Method
add
Add one workspace to a destination's workspace list. Under `include` the workspace's spans start going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:129
Method
add
Add one workspace to a destination's workspace list. Under `include` the workspace's spans start going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:389
Method
add
**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:128
Method
add
**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:383
Method
add
**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:111
Method
add
**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:328
Method
add
**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:245
Method
add
**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:599
Method
add
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/organization/workspaces/members.py:221
Method
add
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/organization/workspaces/members.py:530
Method
add
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/organization/rbac_groups/members.py:101
Method
add
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/organization/rbac_groups/members.py:299
Method
add
**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:119
Method
add
**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:350
Method
add_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:371
Method
add_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:2115
Method
add_numbers
Add two numbers together.
tests/lib/tools/test_functions.py:79
Function
add_raw_definitions
(runner: Any)
tests/lib/tools/test_runners.py:2027
Function
add_then_remove
(runner: Any)
tests/lib/tools/test_runners.py:1865
Method
add_trace_header
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:805
Method
add_trace_header
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1656
Function
add_weather_and_compact
(runner: Any)
tests/lib/tools/test_runners.py:2103
Method
adder_cm
()
tests/lib/tools/test_functions.py:467
Method
agents
(self)
src/anthropic/resources/beta/beta.py:148
Method
agents
(self)
src/anthropic/resources/beta/beta.py:240
Method
agents
(self)
src/anthropic/resources/beta/beta.py:335
Method
agents
(self)
src/anthropic/resources/beta/beta.py:407
Method
agents
(self)
src/anthropic/resources/beta/beta.py:479
Method
agents
(self)
src/anthropic/resources/beta/beta.py:551
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:35
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:68
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:104
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:121
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:138
Method
agents
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:155
Method
aiter_bytes
Given an async iterator that yields raw binary data, iterate over it & yield every event encountered
src/anthropic/_streaming.py:455
Method
aiter_bytes
Given an async iterator that yields lines, iterate over it & yield every event encountered
src/anthropic/lib/bedrock/_stream_decoder.py:43
Function
allow
A `confirm` that approves every call.
tests/lib/tools/test_runner_eager_toolsets.py:415
Method
an_async_cm
()
tests/lib/tools/test_functions.py:538
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:234
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:367
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:507
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:600
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:693
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:786
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:162
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:262
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:369
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:430
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:491
Method
analytics
(self)
src/anthropic/resources/organization/organization.py:552
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:190
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:323
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:463
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:556
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:649
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:742
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:126
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:226
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:333
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:394
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:455
Method
api_keys
(self)
src/anthropic/resources/organization/organization.py:516
Method
append
Stage messages for the next turn without sending anything.
src/anthropic/lib/threads/_beta_threads.py:102
← previous
next →
3,201–3,300 of 14,068, ranked by callers