Models API
Use the Models API to list the model ID your API key can use with Chat Completions.
List models
Section titled “List models”GET /v1/modelsRequest
Section titled “Request”curl https://api.subq.ai/v1/models \ -H "Authorization: Bearer sk-your-api-key"Response
Section titled “Response”The response follows the OpenAI-compatible list shape. Use the returned id as the model value in a chat completion request.
{ "object": "list", "data": [ { "id": "subq-preview", "object": "model", "owned_by": "subq.ai" } ]}For current model capabilities and preview constraints, see Models.