curl --location --request GET 'https://api.anthropic.com/v1/models' \
--header 'x-api-key: ' \
--header 'anthropic-version: 2023-06-01'
{
"data": [
{
"type": "model",
"id": "claude-3-5-sonnet-20241022",
"display_name": "Claude 3.5 Sonnet (New)",
"created_at": "2024-10-22T00:00:00Z"
}
],
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}