Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
9,455 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
9,455
◇
Types & classes
3,151
↳
Endpoints
25
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:715
Method
custom_auth
(self)
src/anthropic/_client.py:433
Method
custom_auth
(self)
src/anthropic/_client.py:861
Method
data
(self)
src/anthropic/_streaming.py:372
Method
decorated
()
tests/lib/test_credentials.py:3590
Method
default_headers
(self)
src/anthropic/_base_client.py:723
Method
default_headers
(self)
src/anthropic/_client.py:392
Method
default_headers
(self)
src/anthropic/_client.py:826
Method
default_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:238
Method
default_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:431
Method
default_headers
(self)
src/anthropic/lib/aws/_client.py:129
Method
default_headers
(self)
src/anthropic/lib/aws/_client.py:343
Method
default_query
(self)
src/anthropic/_base_client.py:734
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:1069
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:718
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:1096
Method
delete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:1597
Method
delete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2320
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:417
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:150
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:504
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:358
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:801
Method
delete
Delete Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_
src/anthropic/resources/beta/sessions/resources.py:271
Method
delete
Delete Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_
src/anthropic/resources/beta/sessions/resources.py:649
Method
delete
Delete Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optio
src/anthropic/resources/beta/sessions/sessions.py:453
Method
delete
Delete Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optio
src/anthropic/resources/beta/sessions/sessions.py:967
Method
delete
Delete Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique iden
src/anthropic/resources/beta/vaults/credentials.py:357
Method
delete
Delete Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique iden
src/anthropic/resources/beta/vaults/credentials.py:896
Method
delete
Delete Vault Args: vault_id: Unique identifier of the vault to delete. betas: Optional header to specify the be
src/anthropic/resources/beta/vaults/vaults.py:331
Method
delete
Delete Vault Args: vault_id: Unique identifier of the vault to delete. betas: Optional header to specify the be
src/anthropic/resources/beta/vaults/vaults.py:750
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:273
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:735
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:241
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:542
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:215
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:443
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:233
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:477
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:188
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:441
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:494
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:998
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:281
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:657
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:285
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:586
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:411
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:868
Method
delete
Delete a memory store Args: memory_store_id: ID of the memory store to permanently delete (a `memstore_...` identifier).
src/anthropic/resources/beta/memory_stores/memory_stores.py:378
Method
delete
Delete a memory store Args: memory_store_id: ID of the memory store to permanently delete (a `memstore_...` identifier).
src/anthropic/resources/beta/memory_stores/memory_stores.py:839
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:236
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:619
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:237
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:532
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:215
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:443
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:239
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:500
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:251
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:508
Method
delete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:575
Method
delete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:876
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:431
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:156
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:241
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:329
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:394
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:459
Method
deployment_runs
(self)
src/anthropic/resources/beta/beta.py:524
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:152
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:237
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:325
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:390
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:455
Method
deployments
(self)
src/anthropic/resources/beta/beta.py:520
Method
divide
Divide two numbers.
tests/lib/tools/test_functions.py:398
Method
do
(self, name: str, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/test_runner_eager_tools.py:1037
Method
double_click
(self, context: BetaToolsetCallContext, input: BetaComputerDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:241
Method
double_click
(self, context: BetaToolsetCallContext, input: BetaComputerDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:363
Method
double_click
(self, context: BetaToolsetCallContext, input: BetaBrowserDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:354
Method
double_click
(self, context: BetaToolsetCallContext, input: BetaBrowserDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:600
Method
download
Download File Args: file_id: ID of the File. workspace_id: Optional header to select the Workspace for this req
src/anthropic/resources/files.py:464
Method
download
Download File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to
src/anthropic/resources/beta/files.py:208
Method
download
Download File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to
src/anthropic/resources/beta/files.py:562
Method
download
Download one version's `.zip` archive, exactly as stored. Each download of a Plugin from a member's personal plugin marketplace is re
src/anthropic/resources/beta/organization/plugins/versions.py:347
← previous
next →
2,601–2,700 of 9,455, ranked by callers