Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
14,068 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
14,068
◇
Types & classes
4,501
↳
Endpoints
96
Method
handle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:307
Method
handle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:345
Method
handle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:369
Method
handle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:2439
Method
handle
(self, request: APIRequest, call_next: CallNext)
tests/lib/test_client_copy.py:174
Method
handle
(self, request: httpx2.Request)
tests/lib/tools/_fake_sessions_api.py:552
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/_middleware.py:57
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/lib/_retry.py:86
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/lib/middleware/_fallbacks.py:272
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:108
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:131
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:146
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:156
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:177
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:201
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:219
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:244
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:277
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:294
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:313
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:353
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:379
Method
handle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/lib/test_client_copy.py:178
Method
handle_async
(self, request: APIRequest, call_next: Any)
tests/lib/environments/_schedules.py:245
Method
handle_async_request
( self, request: httpx.Request, )
src/anthropic/_vendor/httpx_aiohttp/transport.py:150
Method
handle_async_request
( self, request: httpx2.Request, )
tests/test_client.py:92
Method
handle_async_request
(self, request: httpx2.Request)
tests/lib/test_credentials.py:2528
Method
handle_request
( self, request: httpx2.Request, )
tests/test_client.py:83
Method
handle_request
(self, request: httpx2.Request)
tests/lib/test_credentials.py:2523
Function
handler
(_: httpx2.Request)
tests/test_exceptions.py:71
Function
handler
(req: httpx2.Request)
tests/lib/test_scoped_client.py:128
Function
handler
(_signum: int, _frame: object)
tests/lib/tools/test_agent_toolset.py:887
Method
handler
(_request: httpx2.Request)
tests/test_open_telemetry.py:2581
Method
handler
(request: httpx2.Request)
tests/test_client.py:3478
Method
handler
(req: APIRequest)
tests/test_middleware.py:529
Method
handler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:81
Method
handler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:271
Method
handler
(self, request: httpx2.Request)
tests/lib/test_credentials.py:2504
Method
handler
(request: httpx2.Request)
tests/lib/test_credentials.py:3016
Method
handler
(request: httpx2.Request)
tests/lib/test_credentials.py:3872
Function
hang
(_request: httpx2.Request)
tests/lib/tools/test_skills.py:604
Method
has_next_page
(self)
src/anthropic/pagination.py:74
Method
has_next_page
(self)
src/anthropic/pagination.py:110
Method
has_next_page
(self)
src/anthropic/pagination.py:139
Method
has_next_page
(self)
src/anthropic/pagination.py:167
Method
has_next_page
(self)
src/anthropic/pagination.py:191
Method
has_next_page
(self)
src/anthropic/pagination.py:216
Method
has_next_page
(self)
src/anthropic/pagination.py:241
Method
has_next_page
(self)
src/anthropic/pagination.py:267
Method
has_next_page
(self)
src/anthropic/pagination.py:297
Method
has_staged_messages
(self)
src/anthropic/lib/threads/_thread_state.py:245
Method
hash_all
()
src/anthropic/lib/tools/_file_store.py:192
Method
headers
(self)
src/anthropic/_response.py:91
Method
headers
The client's default headers merged with this call's headers, including credentials such as the API key. The client's header names are lowerc
src/anthropic/_request.py:51
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_unconditionally
(self)
tests/lib/environments/test_worker_properties.py:312
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
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
Function
http
(session: FakeSession)
tests/lib/tools/test_fake_sessions_api.py:63
Method
http_request
Returns the httpx Request instance associated with the current response.
src/anthropic/_response.py:95
Function
http_snapshot_serializer_options
()
tests/conftest.py:89
Method
http_version
(self)
src/anthropic/_response.py:113
Method
id
(self)
src/anthropic/_streaming.py:309
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
Method
inject
(self, carrier: Any, context: Context | None = None, setter: Any = None)
tests/test_open_telemetry.py:4100
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
inner
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:904
Method
inner
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1755
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:225
← previous
next →
4,201–4,300 of 14,068, ranked by callers