API reference · Playground
Delete a conversation, or trim its last reply
DELETE/api/conversations/{id}Signed in sessionNo key
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer | The conversation id. |
| last (query) | string | Trim only the newest assistant reply. One of "assistant". |
Answer 200
Done.
| Field | Type | What it is |
|---|---|---|
| ok | boolean |
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.