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
sessions
(self)
src/anthropic/resources/beta/bedrock/bedrock.py:159
Function
sessions_create_request_attributes
What the span of a `sessions.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:123
Method
set
Create or replace an RBAC Group's Claude Code managed settings. New settings join the end of `rbac_group_order`, and existing settin
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:300
Method
set
Create or replace an RBAC Group's Claude Code managed settings. New settings join the end of `rbac_group_order`, and existing settin
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:676
Method
set
Set a spend limit. Upsert keyed on (scope, period): setting a limit that already exists overwrites it in place. A Claude Ent
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:556
Method
set
Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group. Writing
src/anthropic/resources/beta/organization/plugins/installation_settings.py:253
Method
set
Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group. Writing
src/anthropic/resources/beta/organization/plugins/installation_settings.py:579
Method
set_attribute
(self, key: str, value: Any)
tests/test_tracing.py:45
Method
set_multiagent
(self, multiagent: object)
tests/lib/environments/_fake_work_api.py:272
Method
set_retrieved_status
(self, status: str | None)
tests/lib/tools/_fake_sessions_api.py:438
Method
set_secret
(self, secret: object)
tests/lib/environments/_fake_work_api.py:302
Method
set_ttl
(self, seconds: int)
tests/lib/environments/_fake_work_api.py:295
Function
setup_logging
()
src/anthropic/_utils/_logs.py:16
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:74
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:640
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1225
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1258
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1291
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1324
Function
shell
(tmp_path: Path)
tests/lib/tools/test_session_runner.py:309
Function
shielded
(runner: SessionToolRunner)
tests/lib/tools/test_session_runner.py:1936
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/test_open_telemetry.py:200
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:1023
Method
sign_out
Sign a member out of Claude everywhere, without removing them from the organization. This ends their sign-in sessions and removes the
src/anthropic/resources/beta/organization/users.py:601
Method
simple_add
Add two numbers together.
tests/lib/tools/test_functions.py:421
Method
simple_func
A simple function.
tests/lib/tools/test_functions.py:172
Method
simple_function
A simple function with basic parameter types.
tests/lib/tools/test_functions.py:46
Method
size
(parts: list[Part])
tests/test_open_telemetry.py:6346
Method
skills
(self)
src/anthropic/_client.py:332
Method
skills
(self)
src/anthropic/_client.py:740
Method
skills
(self)
src/anthropic/_client.py:993
Method
skills
(self)
src/anthropic/_client.py:1045
Method
skills
(self)
src/anthropic/_client.py:1097
Method
skills
(self)
src/anthropic/_client.py:1149
Method
skills
(self)
src/anthropic/resources/beta/beta.py:180
Method
skills
(self)
src/anthropic/resources/beta/beta.py:272
Method
skills
(self)
src/anthropic/resources/beta/beta.py:367
Method
skills
(self)
src/anthropic/resources/beta/beta.py:439
Method
skills
(self)
src/anthropic/resources/beta/beta.py:511
Method
skills
(self)
src/anthropic/resources/beta/beta.py:583
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:135
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:208
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:284
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:341
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:398
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:455
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:87
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:136
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:188
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:221
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:254
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:287
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:35
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:68
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:104
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:121
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:138
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:155
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:39
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:72
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:108
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:125
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:142
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:159
Function
sleep
(seconds: float)
tests/lib/environments/_schedules.py:191
Function
slow
(_input: object)
tests/lib/tools/test_session_runner.py:1543
Function
slow_close
(stream: AsyncStream[Any])
tests/lib/tools/test_open_telemetry.py:239
Function
slow_load
()
tests/lib/test_google_cloud.py:615
Method
slow_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:1790
Function
snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:98
Method
some_function
Original description.
tests/lib/tools/test_functions.py:123
Method
some_of
(parts: list[Part])
tests/test_open_telemetry.py:6554
Function
spans
()
tests/test_open_telemetry.py:164
Function
spans
()
tests/lib/tools/test_open_telemetry.py:149
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:238
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:371
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:511
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:604
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:697
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:790
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:166
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:266
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:373
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:434
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:495
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:556
Function
spy
(fn: Any)
tests/lib/test_google_cloud.py:462
Function
spy
(path: str)
tests/lib/tools/toolsets/test_security.py:141
Function
stainless_helper_header_from_file
Build x-stainless-helper header dict from a file object.
src/anthropic/lib/_stainless_helpers.py:162
Method
started
(self)
tests/lib/environments/_fake_work_api.py:165
Method
started
(self)
tests/lib/tools/_fake_sessions_api.py:153
Method
started_at
(self)
tests/lib/tools/_fake_sessions_api.py:157
Method
stats
Get statistics about the work queue for an environment. Args: betas: Optional header to specify the beta version(s) you wa
src/anthropic/resources/beta/environments/work.py:1152
Method
status_code
(self)
src/anthropic/_response.py:93
Method
step
(number: int)
tests/lib/tools/test_open_telemetry.py:1343
Function
stop
Returns its error instead of raising it, because it runs in `finally` blocks.
src/anthropic/lib/environments/_poller.py:216
Method
stop
Stop a work item, initiating graceful or forced shutdown. Args: force: If true, immediately stop work without graceful shu
src/anthropic/resources/beta/environments/work.py:590
Method
stop
Stop a work item, initiating graceful or forced shutdown. Args: force: If true, immediately stop work without graceful shu
src/anthropic/resources/beta/environments/work.py:1220
Function
stop_at_the_first_call
(runner: SessionToolRunner)
tests/lib/tools/test_session_runner.py:132
Method
stop_from_outside
(self, force: bool = False)
tests/lib/environments/_fake_work_api.py:254
← previous
next →
5,401–5,500 of 13,873, ranked by callers