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
retrieve
**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/service_accounts.py:123
Method
retrieve
**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/service_accounts.py:444
Method
retrieve
Get Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may change
src/anthropic/resources/skills/versions.py:134
Method
retrieve
Get Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may change
src/anthropic/resources/skills/versions.py:434
Method
retrieve
Get Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over tim
src/anthropic/resources/skills/skills.py:149
Method
retrieve
Get Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over tim
src/anthropic/resources/skills/skills.py:443
Method
retrieve
(self, session_id: str, *, betas: Any = None)
tests/lib/environments/test_worker.py:148
Method
retrieve
(self, memory_id: str, *, memory_store_id: str, view: str = "basic")
tests/lib/tools/memory_sync/_fake_anthropic.py:127
Method
retrieve_metadata
Get File Metadata Args: file_id: ID of the File. workspace_id: Optional header to select the Workspace for this
src/anthropic/resources/files.py:616
Method
retrieve_metadata
Get File Metadata Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want
src/anthropic/resources/beta/files.py:309
Method
retrieve_metadata
Get File Metadata Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want
src/anthropic/resources/beta/files.py:733
Method
retry
(self)
src/anthropic/_streaming.py:311
Method
retry_handler
(_request: httpx2.Request)
tests/test_client.py:1417
Method
retry_handler
(_request: httpx2.Request)
tests/test_client.py:2885
Method
reveal_token
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:841
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:19
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:44
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:72
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:81
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:90
Method
review
(self)
src/anthropic/resources/beta/compliance/compliance.py:99
Function
rewrite
(params: dict[str, Any])
tests/lib/threads/helpers.py:600
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:235
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:357
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:348
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:594
Method
roots
Every attached store's folder on disk. The worker adds these to the file tools' allowed roots, so a store mounted outside the working
src/anthropic/lib/tools/_memories.py:246
Method
rotate_token
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:916
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:31
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:60
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:92
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:105
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:118
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:131
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:31
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:60
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:92
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:105
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:118
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:131
Method
run
Run Deployment Now Args: deployment_id: Unique identifier of the deployment to run. betas: This endpoint is in
src/anthropic/resources/beta/deployments.py:1265
Function
run_async
()
tests/lib/tools/test_runners.py:1620
Function
run_async
()
tests/lib/tools/toolsets/test_browser_runner.py:397
Method
run_leader
()
tests/lib/test_credentials.py:4145
Method
run_waiter
()
tests/lib/test_credentials.py:4158
Method
scope
(self)
src/anthropic/lib/credentials/_workload.py:194
Function
scoped_calls
Record every `_scoped_client(client, environment_key)` call; still returns the parent client (the autouse fixture's behaviour) so the runner k
tests/lib/tools/test_session_runner.py:51
Function
screenshot
Custom tool sharing a computer member's name.
tests/lib/tools/toolsets/test_runner.py:274
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
src/anthropic/lib/tools/_toolsets/_computer.py:253
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
src/anthropic/lib/tools/_toolsets/_computer.py:375
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
src/anthropic/lib/tools/_toolsets/_browser.py:339
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
src/anthropic/lib/tools/_toolsets/_browser.py:583
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/_fakes.py:172
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/_fakes.py:244
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/test_interface.py:54
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/test_interface.py:66
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/test_computer_interface.py:39
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/test_computer_interface.py:221
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/_computer_fakes.py:87
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/_computer_fakes.py:140
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:247
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:369
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:375
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:625
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:180
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:254
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:125
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:180
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:378
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:628
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:184
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:258
Function
search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:444
Function
search_available_tools
Search for useful tools using a query string
examples/tools_runner_search_tool.py:51
Method
send
Send Events Args: events: Events to send to the `session`. betas: This endpoint is in beta: requests must send
src/anthropic/resources/beta/sessions/events.py:440
Method
send
Send the staged messages and `messages` as one turn and return the reply. Keyword arguments apply to this turn only. Raises `AnthropicError` w
src/anthropic/lib/threads/_beta_threads.py:393
Method
send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3548
Method
send_x_api_key
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:275
Method
sends
The spans of the requests that send the result of a tool call of the primary thread, and then of one of the thread `sthr_1`. The client se
tests/lib/tools/test_open_telemetry.py:2365
Function
sent_twice
(memory_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:115
Function
serve
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:244
Function
serve_async
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:247
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:206
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:339
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:479
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:572
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:665
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:758
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:67
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:568
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1088
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1121
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1154
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1187
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:142
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:242
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:349
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:410
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:471
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:532
← previous
next →
4,901–5,000 of 12,795, ranked by callers