API reference

API reference · Playground

Delete a conversation, or trim its last reply

DELETE/api/conversations/{id}Signed in sessionNo key

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe conversation id.
last (query)stringTrim only the newest assistant reply. One of "assistant".

Answer 200

Done.

Fields of the 200 answer
FieldTypeWhat it is
okboolean

Errors

  • 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