API reference

API reference · Playground

Start a conversation

POST/api/conversationsSigned in sessionNo key

Request body

application/json, required

Request body fields
FieldTypeWhat it is
modelrequiredstring
titlestring

Example

{
  "model": "antimatter/auto",
  "title": "string"
}

Answer 201

Created.

Fields of the 201 answer
FieldTypeWhat it is
conversationConversation
conversation.idinteger
conversation.titlestring
conversation.modelstring
conversation.createdAtinteger
conversation.updatedAtinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter