Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,434 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,434
◇
Types & classes
4,005
↳
Endpoints
47
Method
credentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:1043
Method
current_message_snapshot
(self)
src/anthropic/lib/streaming/_beta_messages.py:135
Method
current_message_snapshot
(self)
src/anthropic/lib/streaming/_beta_messages.py:307
Method
current_message_snapshot
(self)
src/anthropic/lib/streaming/_messages.py:130
Method
current_message_snapshot
(self)
src/anthropic/lib/streaming/_messages.py:295
Function
current_time
Return the host's current local time as an ISO-8601 string.
examples/managed-agents-worker-dispatch.py:43
Function
current_time
Return the host's current local time as an ISO-8601 string.
examples/managed-agents-self-hosted-sandbox-worker.py:42
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
src/anthropic/lib/tools/_toolsets/_computer.py:215
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
src/anthropic/lib/tools/_toolsets/_computer.py:333
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/test_computer_interface.py:43
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/test_computer_interface.py:171
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/_computer_fakes.py:95
Method
cursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/_computer_fakes.py:150
Method
custom_auth
(self)
src/anthropic/_base_client.py:791
Method
custom_auth
(self)
src/anthropic/_client.py:428
Method
custom_auth
(self)
src/anthropic/_client.py:830
Method
data
(self)
src/anthropic/_streaming.py:315
Method
decorated
()
tests/lib/test_credentials.py:3712
Method
default_headers
(self)
src/anthropic/_base_client.py:799
Method
default_headers
(self)
src/anthropic/_client.py:389
Method
default_headers
(self)
src/anthropic/_client.py:797
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:191
Method
default_headers
(self)
src/anthropic/lib/bedrock/_client.py:372
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:1732
Method
delete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2510
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 User Profile Args: user_profile_id: The ID of the user profile to delete (`uprof_...`). workspace_id: Op
src/anthropic/resources/user_profiles/user_profiles.py:349
Method
delete
Delete User Profile Args: user_profile_id: The ID of the user profile to delete (`uprof_...`). workspace_id: Op
src/anthropic/resources/user_profiles/user_profiles.py:705
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 User Profile Args: user_profile_id: The ID of the user profile to delete (`uprof_...`). betas: Optional
src/anthropic/resources/beta/user_profiles/user_profiles.py:448
Method
delete
Delete User Profile Args: user_profile_id: The ID of the user profile to delete (`uprof_...`). betas: Optional
src/anthropic/resources/beta/user_profiles/user_profiles.py:985
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:297
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:801
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:396
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:902
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:267
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:706
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
← previous
next →
3,401–3,500 of 12,434, ranked by callers