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
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:307
Method
add_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:1735
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:140
Method
agents
(self)
src/anthropic/resources/beta/beta.py:225
Method
agents
(self)
src/anthropic/resources/beta/beta.py:313
Method
agents
(self)
src/anthropic/resources/beta/beta.py:378
Method
agents
(self)
src/anthropic/resources/beta/beta.py:443
Method
agents
(self)
src/anthropic/resources/beta/beta.py:508
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:202
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:323
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:451
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:532
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:613
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:694
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:166
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:287
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:415
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:496
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:577
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:658
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
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: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 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:429
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:890
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:394
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:781
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:691
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
← previous
next →
2,901–3,000 of 12,274, ranked by callers