List Models changedapi/models/list
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+15added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits23to this page, all time
# List Models ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Models ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: List Models
3url: https://platform.claude.com/docs/en/api/models/list
4---
1# List Models
52
6## List Models
3**GET** `/v1/models`
74
8**get** `/v1/models`
9
105List available models.
116
127The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
138
14### Query Parameters
9## Query parameters
1510
1611- `after_id: optional string`
1712
from line 22
2722
2823 Defaults to `20`. Ranges from `1` to `1000`.
2924
30### Header Parameters
25 default: 20, maximum: 1000, minimum: 1
3126
27## Headers
28
3229- `"anthropic-beta": optional array of AnthropicBeta`
3330
3431 Optional header to specify the beta version(s) you want to use.
from line 102
105102
106103 - `"mid-conversation-tool-changes-2026-07-01"`
107104
108### Returns
105## Returns
109106
110107- `data: array of ModelInfo`
111108
from line 214
217214
218215 RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.
219216
217 format: date-time
218
220219 - `display_name: string`
221220
222221 A human-readable name for the model.
from line 234
235234
236235 For Models, this is always `"model"`.
237236
238 - `"model"`
237 default: model
239238
240239- `first_id: string or null`
241240
from line 248
249248
250249 Last ID in the `data` list. Can be used as the `after_id` for the next page.
251250
252### Example
251## Example
253252
254```http
253```bash
255254curl https://api.anthropic.com/v1/models \
256255 -H 'anthropic-version: 2023-06-01' \
257256 -H "X-Api-Key: $ANTHROPIC_API_KEY"
258257```
259258
260#### Response
259### Response (200)
261260
262261```json
263262{
No line in this hunk matches that.