API reference
List models
Returns every model you can call, newest first, with what it costs.
GET
Returns every model you can call, newest first, with what it costs.
apiKeyheader
AuthorizationBearer <token>Your API key, starting with upsky_test_ or upsky_live_.
type?stringOnly models of this type.
Value in
"text""image""speech"The models.
application/json- response
object*"list"Value in
"list"data*array<>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 } } ]}