Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
13,873 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
13,873
◇
Types & classes
4,472
↳
Endpoints
93
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:301
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:344
Method
add_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:1789
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:779
Method
add_trace_header
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1513
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:453
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
Function
apply_on_time
()
tests/lib/tools/_fake_sessions_api.py:946
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:123
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:196
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:272
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:329
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:386
Method
apps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:443
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
← previous
next →
3,201–3,300 of 13,873, ranked by callers