cURL
curl --request GET \ --url https://tokens.flex.ai/v1/models \ --header 'Authorization: Bearer <token>'
{ "object": "list", "data": [ { "id": "<string>", "object": "model", "created": 123, "owned_by": "<string>" } ] }
Returns text/chat models deployed via LiteLLM. Media models (images, video, audio) are not in this list — see the model catalog for the complete set.
Virtual API key. Create one from the FlexAI dashboard. Pass as Authorization: Bearer sk-xxxx.
Authorization: Bearer sk-xxxx
Successful response
list
Show child attributes
Was this page helpful?