API reference

API reference · Playground

File a thread in a folder, or in none

PUT/api/conversations/{id}/folderSigned in session

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe conversation id.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
folderIdrequiredinteger or null

Example

{
  "folderId": 0
}

Answer 200

Filed.

The answer's fields are not named in the document.

Errors

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