v2

latestOpenAPI 3.1.02026-07-264014168.2 KB
Resources

Update prompt text, attributes, or active flag

Editing prompt text after results exist requires an explicit choice. The first call returns 409 with requiresConfirmation: true (plus tracked and inFlightRun hints); resend with confirmClone: true to clone-and-supersede (the original is deactivated with its history intact — recommended for tracked prompts) or confirmOverwrite: true to edit in place (unavailable while a run is in flight).

put/prompts

Query parameters

idstring uuid required

Request body

promptTemplatestring
attributesstring[]
isActiveboolean
confirmCloneboolean
confirmOverwriteboolean

Response

Successful response

idstring uuid required
topicIdstring uuid required
topicNamestring
promptTemplatestring required
intentTypestring nullable
languagestring nullable
isManualboolean
isActiveboolean required
attributesstring[] required
createdAtstring date-time
clonedboolean
originalPromptIdstring uuid