cURL
curl --request GET \ --url https://api.gately.ai/v1/models \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "name": "<string>", "type": "<string>" } ] }
Get a list of all available AI models
curl https://api.gately.ai/v1/models \ -H "Authorization: Bearer YOUR_API_KEY"
{ "object": "list", "data": [ { "id": "gpt-4o", "object": "model", "created": 1683758102, "owned_by": "openai" }, { "id": "gpt-4o-mini", "object": "model", "created": 1683758102, "owned_by": "openai" }, // Additional models... ] }
curl https://api.gately.ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o", "messages": [{"role": "user", "content": "Hello!"}] }'
Enter your API key prefixed with 'Bearer '
List of models
Show child attributes
Was this page helpful?