Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
13,873 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
13,873
◇
Types & classes
4,472
↳
Endpoints
93
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:2465
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4840
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4859
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4875
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4891
Method
batches
(self)
src/anthropic/resources/messages/messages.py:74
Method
batches
(self)
src/anthropic/resources/messages/messages.py:1886
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3707
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3723
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3739
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3755
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:48
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:56
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:72
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:80
Method
before_step
(self, session: FakeSession)
tests/lib/tools/test_session_runner_properties.py:398
Method
begin
Called when a `Stream` or an `AsyncStream` starts to parse the body. Never called when the application reads the bytes itself.
src/anthropic/_tracing.py:477
Method
begin
(self)
src/anthropic/_tracing.py:496
Method
begin
(self)
src/anthropic/lib/_tracing/_streaming.py:69
Method
beta
(self)
src/anthropic/_client.py:353
Method
beta
(self)
src/anthropic/_client.py:761
Method
beta
(self)
src/anthropic/_client.py:1014
Method
beta
(self)
src/anthropic/_client.py:1066
Method
beta
(self)
src/anthropic/_client.py:1118
Method
beta
(self)
src/anthropic/_client.py:1170
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:208
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:420
Function
beta_count_tokens
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:600
Function
beta_create
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:478
Function
beta_create_batch
(client: AnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:635
Function
beta_parse
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:499
Function
beta_stream
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:488
Function
beta_tool_runner
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:509
Method
block
(self)
tests/lib/environments/test_fake_work_api.py:124
Method
block_event_loop
It breaks the requests in flight and delays the steps that follow.
tests/lib/environments/_fake_work_api.py:318
Function
blocking
(_: object)
tests/lib/environments/test_worker.py:434
Function
blocking
(_input: object)
tests/lib/tools/test_session_runner.py:1076
Method
blocks
(city: str)
tests/lib/tools/test_open_telemetry.py:414
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_memory_sync.py:550
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_final_flush.py:245
Function
boom
(_path: str)
tests/lib/tools/memory_sync/test_two_pass.py:114
Function
borrowed_threads
(_input: object)
tests/lib/tools/test_session_runner.py:280
Function
bounded_result
`result` as the record keeps it: the line a pure action returned is folded to one line and cut. Anything else is kept as returned.
src/anthropic/lib/tools/_toolsets/_pipeline.py:288
Function
broken
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:102
Function
broken
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:188
Function
broken_tools
(_env: AgentToolContext)
tests/lib/environments/test_worker.py:89
Method
build_request
(options: FinalRequestOptions)
tests/test_client.py:1768
Function
build_then_rotate
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2129
Function
build_then_set
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2066
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:43
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:76
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:112
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:129
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:146
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:163
Function
by_method
(client: AsyncAnthropic, **options: Any)
tests/lib/environments/test_worker.py:949
Function
by_name
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:102
Function
by_tab
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:122
Method
calculate
Original description that should be overridden.
tests/lib/tools/test_functions.py:410
Function
call
(input: dict[str, Any])
tests/lib/tools/_fake_sessions_api.py:824
Function
call
()
tests/lib/tools/test_session_runner.py:1985
Function
call
(*args: Any, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:44
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:103
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:216
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:78
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:96
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:273
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:287
Method
call
The entry point the tool runner and `tool_result` use: runs one member call through the pipeline and returns its `tool_result` content.
src/anthropic/lib/tools/_toolsets/_base.py:266
Method
call
The entry point the tool runner and `tool_result` use. See the synchronous class's `call`. A cancelled task raises out of here at the member's
src/anthropic/lib/tools/_toolsets/_base.py:360
Method
call
(_: int)
tests/test_open_telemetry.py:2374
Method
call
(self)
tests/lib/environments/test_worker_properties.py:324
Method
call
(self, id: str, seconds: float = 0, cancel_after: float = math.inf)
tests/lib/tools/test_session_runner_properties.py:585
Method
call
(self, context: Any, name: str, input: object)
tests/lib/tools/test_open_telemetry.py:1757
Method
call
(self, input: object)
tests/lib/tools/_fake_sessions_api.py:816
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:56
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:80
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:123
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:128
Method
call
(self, context: object, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:176
Function
call_mcp
(**kwargs: Any)
src/anthropic/lib/tools/mcp.py:360
Method
call_next
(req: APIRequest)
tests/lib/test_refusal_fallback_streaming.py:926
Method
call_tool
(self, name: str, arguments: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:1910
Method
callback
(old_params: Any)
tests/lib/threads/test_tool_runner_threading.py:651
Method
calls
(self)
tests/lib/tools/_fake_sessions_api.py:161
Method
cancel
Stop a `pending` or `running` dream. The response shows `status` as `canceled`, unless the dream reached `completed` or `fai
src/anthropic/resources/beta/dreams.py:845
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/beta/messages/batches.py:372
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/beta/messages/batches.py:878
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/messages/batches.py:330
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/messages/batches.py:771
Function
candidates
(api: FakeApi)
tests/lib/environments/test_worker_properties.py:92
Function
candidates
(session: FakeSession)
tests/lib/tools/test_session_runner_properties.py:145
Function
candidates
(_session: FakeSession)
tests/lib/tools/test_fake_sessions_api.py:341
Function
cases
(names: str, **rows: Any)
tests/lib/tools/_fake_sessions_api.py:867
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:35
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:68
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:104
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:121
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:138
Method
cases
(self)
src/anthropic/resources/beta/compliance/review/review.py:155
← previous
next →
3,401–3,500 of 13,873, ranked by callers