Skip to main content
PUT
Edit a text or FAQ list
Saves a text, or a list of questions and answers, as the new version of a ready file: the dashboard’s Edit. It works like Replace: assistants keep the old version until the new one is ready, then switch at once. The body is the one Add text or FAQs takes, and the new file is <title>.md. To change a text, read its current words first: download the file, or read its passages.

Path parameters

string
required
UUID of the ready file the new words take the place of.

Body

string
required
The name, 1 to 252 characters: the new file is <title>.md.
string
The new text. Send text or faqs, not both.
object[]
The new list: [{ "question": "…", "answer": "…" }].

Request

Response

201 Created with the new file object, processing, its replaces_id the old file’s id.

Errors