Completions

Create a chat completion

Creates an OpenAI-compatible chat completion. Cached compatible work may return without a new upstream model call.

post/v1/chat/completions

Request

  • Base URL
    https://app.getsupers.com
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://app.getsupers.com/oauth/authorize
      Token URL: https://app.getsupers.com/oauth/token scopes: api:chat

Request body

modelstring

A model ID returned by GET /v1/models.

temperaturenumber
max_tokensinteger
max_completion_tokensinteger
streamboolean
cacheboolean

Set false when the request must bypass compatible shared completions.

toolsobject[]
pluginsobject[]
modalitiesstring[]
image_configobject
reasoningobject

Response

Completion result. If stream is true, the response uses Server-Sent Events and ends with data: [DONE].

idstring required
objectstring required
createdinteger required
modelstring required

Changes

No recorded changes to this operation across all 1 revision of this API.