Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,522 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,522
◇
Types & classes
4,093
↳
Endpoints
47
Method
headers
(self)
src/anthropic/_request.py:49
Function
heartbeat
(work_id: str, env_id: str, stop: anyio.Event)
examples/managed-agents-observe-tool-calls.py:145
Method
heartbeat
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:992
Method
heartbeat
( self, work_id: str, *, environment_id: str, expected_last_heartbeat:
tests/lib/environments/test_worker.py:105
Method
heartbeat
( self, work_id: str, # noqa: ARG002 *, environment_id: str,
tests/lib/environments/test_worker.py:1022
Method
heartbeat
(self, work_id: str, **_kwargs: Any)
tests/lib/environments/test_worker.py:1110
Method
heartbeat
(self, *_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:60
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:209
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:327
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:387
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:637
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:192
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:266
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:121
Method
hold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:176
Function
hook
(_path: str)
tests/lib/tools/memory_sync/test_final_flush.py:105
Function
hook
(path: str)
tests/lib/tools/memory_sync/test_e2e_memory.py:425
Method
hover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:360
Method
hover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:606
Method
http_request
Returns the httpx Request instance associated with the current response.
src/anthropic/_response.py:88
Function
http_snapshot_serializer_options
()
tests/conftest.py:89
Method
http_version
(self)
src/anthropic/_response.py:106
Method
id
(self)
src/anthropic/_streaming.py:307
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:52
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:345
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:654
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:680
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:706
Method
increase_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:732
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:31
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:60
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:92
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:105
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:118
Method
increase_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:131
Function
increment
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:432
Method
inject
(self, carrier: Any, context: Context | None = None, setter: Any = None)
tests/test_open_telemetry.py:4099
Method
inject
(self, carrier: Any, context: Any = None, setter: Any = None)
tests/test_tracing.py:89
Function
inner
(func: CallableT)
src/anthropic/_utils/_utils.py:248
Method
insert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:555
Method
insert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:854
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:70
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:636
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1221
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1254
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1287
Method
installation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1320
Method
instrumentation_scope
The scope of the client's tracer: the SDK's name, and for a platform client the platform after it.
src/anthropic/lib/_tracing/_config.py:29
Function
instrumented
(*args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:215
Function
interrupted
(_request: httpx2.Request)
tests/lib/environments/test_poller_method.py:748
Function
interrupted
(memory_store_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/conftest.py:52
Method
invalidate_then_let_s_finish
(cache: TokenCache)
tests/lib/test_credentials.py:2841
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:194
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:323
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:459
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:548
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:637
Method
invites
(self)
src/anthropic/resources/beta/organization/organization.py:726
Method
invites
(self)
src/anthropic/resources/organization/organization.py:138
Method
invites
(self)
src/anthropic/resources/organization/organization.py:238
Method
invites
(self)
src/anthropic/resources/organization/organization.py:345
Method
invites
(self)
src/anthropic/resources/organization/organization.py:406
Method
invites
(self)
src/anthropic/resources/organization/organization.py:467
Method
invites
(self)
src/anthropic/resources/organization/organization.py:528
Method
is_closed
(self)
src/anthropic/_base_client.py:1145
Method
is_closed
(self)
src/anthropic/_base_client.py:1925
Function
is_iterable_type
If the given type is `typing.Iterable[T]`
src/anthropic/_utils/_typing.py:34
Function
is_literal_type
(tp: Type[Any])
src/anthropic/_utils/_compat.py:32
Method
is_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_pipeline.py:248
Method
is_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_pipeline.py:299
Method
is_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_enforcement.py:307
Function
is_tuple
(obj: object)
src/anthropic/_utils/_utils.py:170
Function
is_union
(tp: Optional[Type[Any]])
src/anthropic/_utils/_compat.py:23
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:27
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:56
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:88
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:101
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:114
Method
issuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:127
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:27
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:56
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:88
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:101
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:114
Method
issuers
(self)
src/anthropic/resources/organization/federation/federation.py:127
Method
item
(self, item: object, /)
src/anthropic/_tracing.py:484
Method
item
(self, item: object)
src/anthropic/_tracing.py:499
Method
item
(self, event: object)
src/anthropic/lib/_tracing/_streaming.py:72
Method
iter_bytes
A byte-iterator over the decoded response content. This automatically handles gzip, deflate and brotli encoded responses.
src/anthropic/_response.py:501
Method
iter_bytes
Given an iterator that yields raw binary data, iterate over it & yield every event encountered
src/anthropic/_streaming.py:449
Method
iter_bytes
Given an iterator that yields lines, iterate over it & yield every event encountered
src/anthropic/lib/bedrock/_stream_decoder.py:31
Method
iter_lines
Like `iter_text()` but will only yield chunks for each line
src/anthropic/_response.py:518
Method
iter_text
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding.
src/anthropic/_response.py:397
Method
iter_text
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding.
src/anthropic/_response.py:510
Method
iterator
()
src/anthropic/lib/tools/_beta_session_runner.py:573
Function
itself
(held: _T)
tests/utils.py:269
Method
javascript_exec
Default-disabled. Page content can steer what the model asks to run, so enabling it takes a `confirm` callable, which sees every call first. T
src/anthropic/lib/tools/_toolsets/_browser.py:417
Method
javascript_exec
Default-disabled. Page content can steer what the model asks to run, so enabling it takes a `confirm` callable, which sees every call first. T
src/anthropic/lib/tools/_toolsets/_browser.py:667
Method
javascript_exec
(self, context: BetaToolsetCallContext, input: BetaBrowserJavascriptExecInput)
tests/lib/tools/test_runner_eager_tools.py:1059
Method
javascript_exec
(self, context: BetaToolsetCallContext, input: BetaBrowserJavascriptExecInput)
tests/lib/tools/test_runner_eager_tools.py:1066
← previous
next →
3,801–3,900 of 12,522, ranked by callers