Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,795 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,795
◇
Types & classes
4,264
↳
Endpoints
47
Method
default_headers
(self)
src/anthropic/_base_client.py:799
Method
default_headers
(self)
src/anthropic/_client.py:392
Method
default_headers
(self)
src/anthropic/_client.py:803
Method
default_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:236
Method
default_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:426
Method
default_headers
(self)
src/anthropic/lib/bedrock/_client.py:200
Method
default_headers
(self)
src/anthropic/lib/bedrock/_client.py:381
Method
default_headers
(self)
src/anthropic/lib/aws/_client.py:133
Method
default_headers
(self)
src/anthropic/lib/aws/_client.py:358
Method
default_headers
(self)
src/anthropic/lib/vertex/_client.py:127
Method
default_headers
(self)
src/anthropic/lib/vertex/_client.py:293
Method
default_query
(self)
src/anthropic/_base_client.py:810
Method
defer_tool_call
Hold a tool call of the current reply until you are done with the reply, which is when it runs without `run_tools_eagerly`: at the end of the
src/anthropic/lib/tools/_beta_runner.py:1557
Method
deferred_tool_calls
The tool calls of the current reply that `defer_tool_call()` is holding, in the model's order, as their `tool_use` blocks. A call is
src/anthropic/lib/tools/_beta_runner.py:1039
Method
deferred_tool_calls
The tool calls of the current reply that `defer_tool_call()` is holding, in the model's order, as their `tool_use` blocks. A call is
src/anthropic/lib/tools/_beta_runner.py:1584
Method
delete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:1736
Method
delete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2518
Method
delete
Delete File Args: file_id: ID of the File. workspace_id: Optional header to select the Workspace for this reque
src/anthropic/resources/files.py:493
Method
delete
Delete a user profile, for example when the end customer closes their account. Stop sending the profile's ID first. See the
src/anthropic/resources/user_profiles/user_profiles.py:371
Method
delete
Delete a user profile, for example when the end customer closes their account. Stop sending the profile's ID first. See the
src/anthropic/resources/user_profiles/user_profiles.py:753
Method
delete
Delete File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to us
src/anthropic/resources/beta/files.py:162
Method
delete
Delete File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to us
src/anthropic/resources/beta/files.py:586
Method
delete
Delete an environment by ID. Returns a confirmation of the deletion. Args: betas: Optional header to specify the beta vers
src/anthropic/resources/beta/environments/environments.py:401
Method
delete
Delete an environment by ID. Returns a confirmation of the deletion. Args: betas: Optional header to specify the beta vers
src/anthropic/resources/beta/environments/environments.py:905
Method
delete
Delete Session Resource Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/resources.py:282
Method
delete
Delete Session Resource Args: betas: This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
src/anthropic/resources/beta/sessions/resources.py:680
Method
delete
Delete 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:474
Method
delete
Delete 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:1018
Method
delete
Delete a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique id
src/anthropic/resources/beta/vaults/credentials.py:376
Method
delete
Delete a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique id
src/anthropic/resources/beta/vaults/credentials.py:947
Method
delete
Delete a Vault Args: vault_id: Unique identifier of the vault to delete. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/vaults/vaults.py:352
Method
delete
Delete a Vault Args: vault_id: Unique identifier of the vault to delete. betas: This endpoint is in beta: reque
src/anthropic/resources/beta/vaults/vaults.py:802
Method
delete
Delete a user profile, for example when the end customer closes their account. Stop sending the profile's ID first. See the
src/anthropic/resources/beta/user_profiles/user_profiles.py:482
Method
delete
Delete a user profile, for example when the end customer closes their account. Stop sending the profile's ID first. See the
src/anthropic/resources/beta/user_profiles/user_profiles.py:1054
Method
delete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/beta/messages/batches.py:299
Method
delete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/beta/messages/batches.py:805
Method
delete
Delete External Storage. Storage that is pending configuration, available, or active but never attached is deleted at once, unless an
src/anthropic/resources/beta/organization/external_storage.py:339
Method
delete
Delete External Storage. Storage that is pending configuration, available, or active but never attached is deleted at once, unless an
src/anthropic/resources/beta/organization/external_storage.py:810
Method
delete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/beta/organization/external_keys.py:272
Method
delete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/beta/organization/external_keys.py:618
Method
delete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/beta/organization/invites.py:244
Method
delete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/beta/organization/invites.py:508
Method
delete
Delete an organization webhook endpoint. Every request must include the beta header `anthropic-beta: webhooks-2026-10-07`. A
src/anthropic/resources/beta/organization/webhooks.py:400
Method
delete
Delete an organization webhook endpoint. Every request must include the beta header `anthropic-beta: webhooks-2026-10-07`. A
src/anthropic/resources/beta/organization/webhooks.py:910
Method
delete
Delete an RBAC Group's Claude Code managed settings and remove the group from `rbac_group_order`. A group with no settings r
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:213
Method
delete
Delete an RBAC Group's Claude Code managed settings and remove the group from `rbac_group_order`. A group with no settings r
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:589
Method
delete
Remove a Slack channel from Claude Tag. This deletes the channel's stored settings and its Bundle Targets at once, and then, in the b
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:403
Method
delete
Remove a Slack channel from Claude Tag. This deletes the channel's stored settings and its Bundle Targets at once, and then, in the b
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:855
Method
delete
Detach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404. Args: bundle_id: The Bun
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:298
Method
delete
Detach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404. Args: bundle_id: The Bun
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:647
Method
delete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:254
Method
delete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:530
Method
delete
Delete a destination and its workspace list. The API stops sending spans to the destination. The spans of the workspaces it
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:438
Method
delete
Delete a destination and its workspace list. The API stops sending spans to the destination. The spans of the workspaces it
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:962
Method
delete
Delete a spend limit. For a Claude Enterprise organization, this deletes a per-user override, and the member falls back to a
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:209
Method
delete
Delete a spend limit. For a Claude Enterprise organization, this deletes a per-user override, and the member falls back to a
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:502
Method
delete
Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belo
src/anthropic/resources/beta/organization/plugins/plugins.py:545
Method
delete
Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belo
src/anthropic/resources/beta/organization/plugins/plugins.py:1111
Method
delete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/beta/skills/versions.py:315
Method
delete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/beta/skills/versions.py:736
Method
delete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/beta/skills/skills.py:317
Method
delete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/beta/skills/skills.py:659
Method
delete
Delete a Memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). memor
src/anthropic/resources/beta/memory_stores/memories.py:445
Method
delete
Delete a Memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). memor
src/anthropic/resources/beta/memory_stores/memories.py:941
Method
delete
Delete a Memory Store Args: memory_store_id: The ID of the memory store to delete (`memstore_...`). Deletin
src/anthropic/resources/beta/memory_stores/memory_stores.py:407
Method
delete
Delete a Memory Store Args: memory_store_id: The ID of the memory store to delete (`memstore_...`). Deletin
src/anthropic/resources/beta/memory_stores/memory_stores.py:909
Method
delete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/messages/batches.py:269
Method
delete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/messages/batches.py:710
Method
delete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/organization/external_keys.py:268
Method
delete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/organization/external_keys.py:608
Method
delete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/organization/invites.py:241
Method
delete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/organization/invites.py:501
Method
delete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:250
Method
delete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:521
Method
delete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:270
Method
delete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:570
Method
delete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/skills/skills.py:280
Method
delete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/skills/skills.py:574
Method
delete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:581
Method
delete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:881
Method
delete
(self, path: str)
tests/lib/tools/memory_sync/_fake_anthropic.py:64
Method
delete
( self, memory_id: str, *, memory_store_id: str, # noqa: ARG002 expec
tests/lib/tools/memory_sync/_fake_anthropic.py:170
Function
delete_file
Delete a file. Args: path: The file to delete.
examples/tools_runner_deferred_streaming.py:17
Function
deleted_meanwhile
(path: str)
tests/lib/tools/memory_sync/test_keep_only_copy.py:112
Function
deny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_refusals.py:115
Function
deny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:251
Method
deny
Deny a pending spend limit increase request. Idempotent on `denied`; denying an already-`approved` request returns 400. Anth
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:224
Method
deny
Deny a pending spend limit increase request. Idempotent on `denied`; denying an already-`approved` request returns 400. Anth
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:476
Method
deny
Deny a pending spend limit increase request. Idempotent on `denied`; denying an already-`approved` request returns 400. Anth
src/anthropic/resources/organization/spend_limits/increase_requests.py:467
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:164
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:256
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:351
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:423
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:495
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:567
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:160
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:252
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:347
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:419
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:491
← previous
next →
3,501–3,600 of 12,795, ranked by callers