cURL
curl --request GET \ --url https://tokensmind.ai/v1/models \ --header 'Authorization: <authorization>' \ --header 'Content-Type: <content-type>'
{ "object": "list", "data": [ { "id": "gpt-4", "object": "model", "created": 123, "owned_by": "openai" } ] }
Must be application/json
application/json
Bearer authentication: Bearer {{API key}}
Anthropic API key (for Claude format)
Anthropic API version
"2023-06-01"
Google API key (for Gemini format)
Successfully retrieved the model list
"list"
Show child attributes