chat

Chat Completions

post/v1/chat/completions

Headers

webapp-authorizationstring nullable

Request body

model'versa' | 'nexus' | 'eclipse' required
streamboolean
personastring nullable

Response

Successful Response

OR
string required
OR

Changes

Changed in 1 of the 4 revisions of this API.622

  • b003833f1f0c622See the full diff
    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    • removed the required property choices from the response with the 200 status

      response-required-property-removed

    • removed the required property created from the response with the 200 status

      response-required-property-removed

    • removed the required property id from the response with the 200 status

      response-required-property-removed

    • removed the required property model from the response with the 200 status

      response-required-property-removed

    • removed the required property object from the response with the 200 status

      response-required-property-removed

    • removed the optional property system_fingerprint from the response with the 200 status

      response-optional-property-removed

    • removed the optional property usage from the response with the 200 status

      response-optional-property-removed

    • added ChatCompletion ChatCompletion subschema #2 to the response body anyOf list for the response status 200

      response-body-any-of-added

    • added the media type text/event-stream for the response with the status 200

      response-media-type-added