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
members
(self)
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:646
Method
members
(self)
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:671
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:46
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:548
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1072
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1104
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1136
Method
memories
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1168
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:164
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:252
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:343
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:411
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:479
Method
memory_stores
(self)
src/anthropic/resources/beta/beta.py:547
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:50
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:552
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1076
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1108
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1140
Method
memory_versions
(self)
src/anthropic/resources/beta/memory_stores/memory_stores.py:1172
Method
messages
(self)
src/anthropic/_client.py:314
Method
messages
(self)
src/anthropic/_client.py:725
Method
messages
(self)
src/anthropic/_client.py:981
Method
messages
(self)
src/anthropic/_client.py:1033
Method
messages
(self)
src/anthropic/_client.py:1085
Method
messages
(self)
src/anthropic/_client.py:1137
Method
messages
(self)
src/anthropic/resources/beta/beta.py:136
Method
messages
(self)
src/anthropic/resources/beta/beta.py:224
Method
messages
(self)
src/anthropic/resources/beta/beta.py:315
Method
messages
(self)
src/anthropic/resources/beta/beta.py:383
Method
messages
(self)
src/anthropic/resources/beta/beta.py:451
Method
messages
(self)
src/anthropic/resources/beta/beta.py:519
Method
messages
Return beta messages resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:64
Method
messages
Return beta messages resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:88
Method
messages
Return messages resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:202
Method
messages
Return messages resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:414
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:19
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:44
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:72
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:81
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:90
Method
messages
(self)
src/anthropic/lib/bedrock/_beta.py:99
Method
messages
(self)
src/anthropic/lib/bedrock/_mantle.py:62
Method
messages
(self)
src/anthropic/lib/bedrock/_mantle.py:68
Method
messages
The full conversation: every message the server holds plus those staged for the next turn.
src/anthropic/lib/threads/_beta_threads.py:88
Method
messages
Every message the server holds plus those staged for the next turn, with any edits deferred by a turn in flight already applied.
src/anthropic/lib/threads/_thread_state.py:96
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:19
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:44
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:72
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:81
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:90
Method
messages
(self)
src/anthropic/lib/vertex/_beta.py:99
Function
messages_create_request_attributes
What the span of a `messages.create` call starts with that is not a field of the request's `body` as it is. Read when the span starts, and never
src/anthropic/lib/_tracing/_api_call.py:112
Method
method
(self)
src/anthropic/_response.py:102
Method
method
(self)
src/anthropic/_request.py:41
Method
method
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3560
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaComputerMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:238
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaComputerMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:360
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaBrowserMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:351
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaBrowserMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:597
Method
middleware
The client-level middleware, outermost first. To run extra middleware for specific calls, derive a client with `client.with_options(m
src/anthropic/_base_client.py:850
Function
mirror_request_content
(request: httpx2.Request)
tests/test_client.py:58
Function
misuse
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:120
Function
mock_aws_config
( profiles: t.List[AwsConfigProfile], monkeypatch: t.Any, )
tests/lib/test_bedrock.py:108
Method
mock_handler
(request: httpx2.Request)
tests/test_client.py:1035
Method
mock_handler
(request: httpx2.Request)
tests/test_client.py:2490
Method
model_fields_set
(self)
src/anthropic/_models.py:156
Method
model_id
(self)
tests/test_models.py:510
Function
model_parse_json
(model: type[_ModelT], data: str | bytes)
src/anthropic/_compat.py:129
Method
models
(self)
src/anthropic/_client.py:320
Method
models
(self)
src/anthropic/_client.py:731
Method
models
(self)
src/anthropic/_client.py:987
Method
models
(self)
src/anthropic/_client.py:1039
Method
models
(self)
src/anthropic/_client.py:1091
Method
models
(self)
src/anthropic/_client.py:1143
Method
models
(self)
src/anthropic/resources/beta/beta.py:132
Method
models
(self)
src/anthropic/resources/beta/beta.py:220
Method
models
(self)
src/anthropic/resources/beta/beta.py:311
Method
models
(self)
src/anthropic/resources/beta/beta.py:379
Method
models
(self)
src/anthropic/resources/beta/beta.py:447
Method
models
(self)
src/anthropic/resources/beta/beta.py:515
Method
models
Models endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:196
Method
models
Models endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:408
Method
monotonic
(self)
tests/lib/environments/test_poller_method.py:349
Function
most_utf8_size
The most that `utf8_size` can be, without reading `text`: no character is more than four bytes.
src/anthropic/lib/_tracing/_content.py:155
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_computer.py:220
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_computer.py:338
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaBrowserMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_browser.py:372
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaBrowserMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_browser.py:622
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
tests/lib/tools/toolsets/_computer_fakes.py:101
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
tests/lib/tools/toolsets/_computer_fakes.py:156
Method
multiply
Multiply two numbers.
tests/lib/tools/test_functions.py:375
Function
my_async_provider
(*, force_refresh: bool = False)
examples/workload_identity.py:172
Function
my_provider
(*, force_refresh: bool = False)
examples/workload_identity.py:147
Method
name
(self)
src/anthropic/lib/tools/_tool_dispatch.py:125
Method
name
(self)
src/anthropic/lib/tools/_beta_functions.py:81
Method
name
(self)
src/anthropic/lib/tools/_beta_functions.py:99
Function
navigate
()
tests/lib/tools/toolsets/test_runnable.py:38
Function
navigate
()
tests/lib/tools/toolsets/test_runner.py:152
Method
navigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
src/anthropic/lib/tools/_toolsets/_browser.py:336
← previous
next →
4,201–4,300 of 12,522, ranked by callers