API reference

API reference · Playground

Make a folder

POST/api/conversations/foldersSigned in session

A name of at most 60 characters; 50 folders an account.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
namerequiredstring

Example

{
  "name": "string"
}

Answer 201

Made.

Fields of the 201 answer
FieldTypeWhat it is
folderobject
folder.idinteger
folder.namestring
folder.countinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 409OpenAI 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