The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get a Model
3url: https://platform.claude.com/docs/en/api/beta/models/retrieve
4---
5
16# Get a Model
27
38**GET** `/v1/models/{model_id}`
from line 25
2025
2126 - `string`
2227
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2429
2530 - `"message-batches-2024-09-24"`
2631
from line 73
6873
6974 - `"user-profiles-2026-08-18"`
7075
76 - `"user-profiles-2026-09-04"`
77
7178 - `"advisor-tool-2026-03-01"`
7279
7380 - `"managed-agents-2026-04-01"`
from line 117
110117
111118 - `"mid-conversation-system-clear-at-2026-08-21"`
112119
120- `"anthropic-workspace-id": optional string`
121
113122## Returns
114123
115124- `BetaModelInfo object`
116125
126 - `type: "model"`
127
128 Object type.
129
130 For Models, this is always `"model"`.
131
132 default: model
133
117134 - `id: string`
118135
119136 Unique model identifier.
from line 256
239256 - `max_tokens: number or null`
240257
241258 Maximum value for the `max_tokens` parameter when using this model.
242
243 - `type: "model"`
244
245 Object type.
246
247 For Models, this is always `"model"`.
248
249 default: model
250259
251260## Example
252261