Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,431 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,431
◇
Types & classes
4,007
↳
Endpoints
47
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:44
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:581
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1140
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1168
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1196
Method
action_urls
(self)
src/anthropic/resources/beta/user_profiles/user_profiles.py:1224
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: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:305
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: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:1752
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:210
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:335
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:467
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:552
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:637
Method
analytics
(self)
src/anthropic/resources/beta/organization/organization.py:722
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:174
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:299
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:431
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:516
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:601
Method
api_keys
(self)
src/anthropic/resources/beta/organization/organization.py:686
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
← previous
next →
2,901–3,000 of 12,431, ranked by callers