GET
/
v1
/
models
curl --request GET \
  --url https://api.shuttleai.com/v1/models
[
  {
    "object": "<string>",
    "data": [
      {
        "id": "<string>",
        "object": "<string>",
        "owned_by": "<string>",
        "tokens": 123,
        "cost": 123,
        "premium": true,
        "created": 123,
        "endpoint": "<string>"
      }
    ]
  }
]

Query Parameters

endpoints
string

Filters the models by the endpoints, (e.g /v1/images/generations)

format
string

The format of the response > Valid options: names, premium, free.

Response

200 - application/json
Model response
object
string

The name of the model

data
object[]

The list of model objects.