Preview: these APIs are still being designed and aren't available yet.
Skip to Content
UpskyDocs
API reference

List models

Returns every model you can call, newest first, with what it costs.

GET
/v1/ai/models

Returns every model you can call, newest first, with what it costs.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, starting with upsky_test_ or upsky_live_.

Query Parameters

type?string

Only models of this type.

Value in"text""image""speech"

Response Body

The models.

application/json
  1. response
object*"list"
Value in"list"
data*array<>
Example Request
curl -X GET 'https://api.upsky.dev/v1/ai/models'
Example Response
{  "object": "list",  "data": [    {      "id": "string",      "object": "model",      "type": "text",      "created": 0,      "owned_by": "string",      "name": "string",      "context_window": 0,      "max_output_tokens": 0,      "pricing": {        "input": 0,        "output": 0,        "cached_input": 0,        "image": 0,        "image_sizes": [          {            "size": "string",            "image": 0          }        ],        "characters": 0      }    }  ]}