Skip to main content
GET
/
v1
/
models
List available models
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Virtual API key. Create one from the FlexAI dashboard. Pass as Authorization: Bearer sk-xxxx.

Response

Successful response

object
enum<string>
Available options:
list
data
object[]