anthropics / anthropic-sdk-ruby
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 371 files with 16,296 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 19 files changed 21-50 times (1,599 lines of code)
    • 120 files changed 6-20 times (2,513 lines of code)
    • 232 files changed 1-5 times (12,184 lines of code)
0% | 0% | 9% | 15% | 74%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 371 files with 16,296 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 0 files changed by 11-25 contributors (0 lines of code)
    • 3 files changed by 6-10 contributors (1,148 lines of code)
    • 197 files changed by 2-5 contributors (6,132 lines of code)
    • 171 files changed by 1 contributor (9,016 lines of code)
0% | 0% | 7% | 37% | 55%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
rb, rbi, yaml, md, gitignore, json, txt, sh, gemspec
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
rb0% | 0% | 18% | 29% | 51%
rbi0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
lib0% | 0% | 18% | 29% | 51%
rbi0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
991 - 2024-10-04 2026-05-13 36 9 107565488+stainless-bot@use... 246350779+cameron-mcateer@u...
messages.rb
in lib/anthropic/resources
106 7 2024-10-04 2026-05-13 32 6 107565488+stainless-bot@use... git@bigly.dog
batches.rb
in lib/anthropic/resources/beta/messages
86 7 2024-10-08 2025-05-22 28 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_delta_event.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message.rb
in lib/anthropic/models
24 1 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_result_block_param.rb
in lib/anthropic/models
27 - 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_start_event.rb
in lib/anthropic/models
25 - 2024-10-04 2025-05-22 24 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_delta_event.rb
in lib/anthropic/models
9 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
image_block_param.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_message.rb
in lib/anthropic/models/beta
29 1 2024-11-25 2025-11-14 23 5 107565488+stainless-bot@use... git@bigly.dog
tool.rb
in lib/anthropic/models
34 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
completions.rb
in lib/anthropic/resources
49 3 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_result_block_param.rb
in lib/anthropic/models/beta
32 - 2024-11-25 2025-05-22 22 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_create_params.rb
in lib/anthropic/models
36 - 2024-12-12 2025-05-22 22 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_base64_pdf_block.rb
in lib/anthropic/models/beta
8 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_delta_event.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_param.rb
in lib/anthropic/models
22 - 2024-10-04 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_start_event.rb
in lib/anthropic/models/beta
34 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool.rb
in lib/anthropic/models/beta
38 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_tool.rb
in lib/anthropic/models
9 - 2024-10-07 2025-05-22 20 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion.rb
in lib/anthropic/models
11 - 2024-10-04 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_delta_event.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
text_block_param.rb
in lib/anthropic/models
12 - 2024-10-04 2025-05-22 20 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block_param.rb
in lib/anthropic/models
19 - 2024-10-04 2025-05-22 20 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_image_block_param.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block.rb
in lib/anthropic/models
22 - 2024-10-04 2025-11-07 20 4 107565488+stainless-bot@use... git@bigly.dog
beta_message_batch.rb
in lib/anthropic/models/beta/messages
26 - 2024-11-25 2025-05-22 19 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_any.rb
in lib/anthropic/models
8 - 2024-10-07 2025-05-22 18 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_auto.rb
in lib/anthropic/models
8 - 2024-10-07 2025-05-22 18 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_text_block_param.rb
in lib/anthropic/models/beta
15 - 2024-11-25 2025-05-22 18 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
text_block.rb
in lib/anthropic/models
16 - 2024-10-04 2025-05-22 18 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion_create_params.rb
in lib/anthropic/models
17 - 2024-12-12 2025-05-22 18 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
request_options.rb
in lib/anthropic
25 1 2024-10-04 2025-03-16 18 3 107565488+stainless-bot@use... dev@stainless.com
batch_create_params.rb
in lib/anthropic/models/messages
49 - 2024-12-17 2025-05-22 18 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_start_event.rb
in lib/anthropic/models
8 - 2024-10-04 2025-05-22 17 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_error_response.rb
in lib/anthropic/models
9 - 2024-10-08 2025-05-22 17 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
document_block_param.rb
in lib/anthropic/models
20 - 2024-12-17 2025-05-22 17 4 dev@stainlessapi.com michaelcohen@anthropic.com
message_count_tokens_params.rb
in lib/anthropic/models
22 - 2024-12-17 2025-05-22 17 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
model.rb
in lib/anthropic/models
51 - 2024-10-04 2025-10-29 17 6 107565488+stainless-bot@use... dmeadows@stainless.com
beta_text_block.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-11-14 16 4 107565488+stainless-bot@use... git@bigly.dog
beta_tool_use_block_param.rb
in lib/anthropic/models/beta
22 - 2024-11-25 2025-05-22 16 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_text_editor_20241022.rb
in lib/anthropic/models/beta
24 - 2024-11-25 2025-05-22 16 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_bash_20241022.rb
in lib/anthropic/models/beta
24 - 2024-11-25 2025-05-22 16 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_computer_use_20241022.rb
in lib/anthropic/models/beta
27 - 2024-11-25 2025-05-22 16 3 107565488+stainless-bot@use... michaelcohen@anthropic.com
batches.rb
in lib/anthropic/resources/messages
67 7 2024-12-17 2025-05-22 16 4 dev@stainlessapi.com michaelcohen@anthropic.com
client.rb
in lib/anthropic
178 7 2024-10-04 2025-07-28 16 5 107565488+stainless-bot@use... dmeadows@stainless.com
raw_message_stop_event.rb
in lib/anthropic/models
7 - 2024-10-04 2025-02-20 15 2 107565488+stainless-bot@use... dev@stainlessapi.com
raw_content_block_stop_event.rb
in lib/anthropic/models
8 - 2024-10-04 2025-02-20 15 2 107565488+stainless-bot@use... dev@stainlessapi.com
beta_invalid_request_error.rb
in lib/anthropic/models
8 - 2024-10-08 2025-02-20 15 2 107565488+stainless-bot@use... dev@stainlessapi.com
input_json_delta.rb
in lib/anthropic/models
8 - 2024-10-04 2025-02-20 15 2 107565488+stainless-bot@use... dev@stainlessapi.com
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
991 - 2024-10-04 2026-05-13 36 9 107565488+stainless-bot@use... 246350779+cameron-mcateer@u...
messages.rb
in lib/anthropic/resources
106 7 2024-10-04 2026-05-13 32 6 107565488+stainless-bot@use... git@bigly.dog
model.rb
in lib/anthropic/models
51 - 2024-10-04 2025-10-29 17 6 107565488+stainless-bot@use... dmeadows@stainless.com
beta_message.rb
in lib/anthropic/models/beta
29 1 2024-11-25 2025-11-14 23 5 107565488+stainless-bot@use... git@bigly.dog
client.rb
in lib/anthropic
178 7 2024-10-04 2025-07-28 16 5 107565488+stainless-bot@use... dmeadows@stainless.com
batches.rb
in lib/anthropic/resources/beta/messages
86 7 2024-10-08 2025-05-22 28 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_delta_event.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message.rb
in lib/anthropic/models
24 1 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_result_block_param.rb
in lib/anthropic/models
27 - 2024-10-04 2025-05-22 25 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_start_event.rb
in lib/anthropic/models
25 - 2024-10-04 2025-05-22 24 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_delta_event.rb
in lib/anthropic/models
9 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool.rb
in lib/anthropic/models
34 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
image_block_param.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
completions.rb
in lib/anthropic/resources
49 3 2024-10-04 2025-05-22 23 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_create_params.rb
in lib/anthropic/models
36 - 2024-12-12 2025-05-22 22 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_result_block_param.rb
in lib/anthropic/models/beta
32 - 2024-11-25 2025-05-22 22 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_param.rb
in lib/anthropic/models
22 - 2024-10-04 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_base64_pdf_block.rb
in lib/anthropic/models/beta
8 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_delta_event.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool.rb
in lib/anthropic/models/beta
38 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_start_event.rb
in lib/anthropic/models/beta
34 - 2024-11-25 2025-05-22 21 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block.rb
in lib/anthropic/models
22 - 2024-10-04 2025-11-07 20 4 107565488+stainless-bot@use... git@bigly.dog
beta_raw_content_block_delta_event.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_image_block_param.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion.rb
in lib/anthropic/models
11 - 2024-10-04 2025-05-22 20 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_message_batch.rb
in lib/anthropic/models/beta/messages
26 - 2024-11-25 2025-05-22 19 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion_create_params.rb
in lib/anthropic/models
17 - 2024-12-12 2025-05-22 18 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_create_params.rb
in lib/anthropic/models/messages
49 - 2024-12-17 2025-05-22 18 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
document_block_param.rb
in lib/anthropic/models
20 - 2024-12-17 2025-05-22 17 4 dev@stainlessapi.com michaelcohen@anthropic.com
message_count_tokens_params.rb
in lib/anthropic/models
22 - 2024-12-17 2025-05-22 17 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_text_block.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-11-14 16 4 107565488+stainless-bot@use... git@bigly.dog
batches.rb
in lib/anthropic/resources/messages
67 7 2024-12-17 2025-05-22 16 4 dev@stainlessapi.com michaelcohen@anthropic.com
message_batch.rb
in lib/anthropic/models/messages
25 - 2024-12-17 2025-05-22 15 4 dev@stainlessapi.com michaelcohen@anthropic.com
batch_results_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_list_params.rb
in lib/anthropic/models/beta/messages
16 - 2024-12-12 2025-05-22 14 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_cancel_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_retrieve_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
content_block.rb
in lib/anthropic/models
20 - 2024-10-04 2025-05-22 13 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
anthropic_beta.rb
in lib/anthropic/models
67 - 2024-10-08 2025-05-22 13 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
content_block_param.rb
in lib/anthropic/models
26 - 2024-11-13 2025-05-22 13 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_content_block.rb
in lib/anthropic/models/beta
29 - 2024-11-25 2025-05-22 13 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
models.rb
in lib/anthropic/resources/beta
35 3 2024-12-17 2025-05-22 11 4 dev@stainlessapi.com michaelcohen@anthropic.com
models.rb
in lib/anthropic/resources
33 3 2024-12-17 2025-05-22 11 4 dev@stainlessapi.com michaelcohen@anthropic.com
raw_message_stream_event.rb
in lib/anthropic/models
14 - 2024-10-04 2025-05-22 10 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice.rb
in lib/anthropic/models
12 - 2024-10-07 2025-05-22 10 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_stream_event.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-05-22 10 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_choice.rb
in lib/anthropic/models/beta
15 - 2024-11-25 2025-05-22 10 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_delete_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-19 2025-05-22 10 4 dev@stainlessapi.com michaelcohen@anthropic.com
beta_error.rb
in lib/anthropic/models
17 - 2024-10-08 2025-05-22 9 4 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_batch_result.rb
in lib/anthropic/models/messages
15 - 2024-12-17 2025-05-22 9 4 dev@stainlessapi.com michaelcohen@anthropic.com
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
config_provider.rb
in lib/anthropic/credentials
275 21
rbi
base_client.rbi
in rbi/anthropic/internal/transport
274 9
rbi
message_count_tokens_params.rbi
in rbi/anthropic/models
265 3
rbi
agent_update_params.rbi
in rbi/anthropic/models/beta
262 4
rbi
agent_create_params.rbi
in rbi/anthropic/models/beta
261 4
rbi
deployment_update_params.rbi
in rbi/anthropic/models/beta
246 4
rbi
models.rbi
in rbi/anthropic
242 -
models.rb
in lib/anthropic
241 -
rbi
base_model.rbi
in rbi/anthropic/internal/type
229 24
rbi
beta_managed_agents_session_agent.rbi
in rbi/anthropic/models/beta
224 5
rbi
beta_managed_agents_session.rbi
in rbi/anthropic/models/beta
224 4
rbi
session_list_params.rbi
in rbi/anthropic/models/beta
222 4
rbi
deployment_create_params.rbi
in rbi/anthropic/models/beta
221 4
rbi
beta_managed_agents_agent.rbi
in rbi/anthropic/models/beta
217 5
rbi
credentials.rbi
in rbi/anthropic
215 33
rbi
deployments.rbi
in rbi/anthropic/resources/beta
210 9
rbi
beta_managed_agents_deployment.rbi
in rbi/anthropic/models/beta
205 3
rbi
199 5
rbi
beta_tool.rbi
in rbi/anthropic/models/beta
197 6
rbi
agents.rbi
in rbi/anthropic/resources/beta
182 6
rbi
beta_managed_agents_memory_version.rbi
in rbi/anthropic/models/beta/memory_stores
180 3
rbi
beta_managed_agents_deployment_run.rbi
in rbi/anthropic/models/beta
177 4
rbi
beta_managed_agents_session_thread.rbi
in rbi/anthropic/models/beta/sessions
174 3
rbi
beta_web_fetch_tool_20260309.rbi
in rbi/anthropic/models/beta
172 3
converter.rb
in lib/anthropic/internal/type
172 8
rbi
beta_tool_search_tool_regex_20251119.rbi
in rbi/anthropic/models/beta
168 4
rbi
beta_tool_search_tool_bm25_20251119.rbi
in rbi/anthropic/models/beta
168 4
rbi
converter.rbi
in rbi/anthropic/internal/type
166 9
rbi
memory_list_params.rbi
in rbi/anthropic/models/beta/memory_stores
166 3
rbi
session_create_params.rbi
in rbi/anthropic/models/beta
165 4
rbi
beta_web_fetch_tool_20250910.rbi
in rbi/anthropic/models/beta
165 3
rbi
beta_web_fetch_tool_20260209.rbi
in rbi/anthropic/models/beta
165 3
rbi
server_tool_use_block_param.rbi
in rbi/anthropic/models
163 4
rbi
beta_tool_computer_use_20251124.rbi
in rbi/anthropic/models/beta
163 3
rbi
work.rbi
in rbi/anthropic/resources/beta/environments
163 9
rbi
tool.rbi
in rbi/anthropic/models
162 6
rbi
environment_update_params.rbi
in rbi/anthropic/models/beta
162 4
rbi
beta_advisor_tool_20260301.rbi
in rbi/anthropic/models/beta
160 3
rbi
beta_web_search_tool_20250305.rbi
in rbi/anthropic/models/beta
158 3
rbi
beta_web_search_tool_20260209.rbi
in rbi/anthropic/models/beta
158 3
rbi
environment_create_params.rbi
in rbi/anthropic/models/beta
157 4
rbi
credentials.rbi
in rbi/anthropic/resources/beta/vaults
157 8
rbi
beta_tool_computer_use_20250124.rbi
in rbi/anthropic/models/beta
156 3
rbi
beta_tool_computer_use_20241022.rbi
in rbi/anthropic/models/beta
156 3
rbi
event_list_params.rbi
in rbi/anthropic/models/beta/sessions
156 3
153 4
rbi
beta_managed_agents_agent_mcp_tool_use_event.rbi
in rbi/anthropic/models/beta/sessions
153 4
rbi
sessions.rbi
in rbi/anthropic/resources/beta
153 7
rbi
web_fetch_tool_20260309.rbi
in rbi/anthropic/models
152 3
rbi
152 4