v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
PROMPT_LIBRARY

Update Prompt

Update an existing prompt. Users can only update prompts they created, service users can update any prompt.

post/prompts/{prompt_id}

Path parameters

prompt_idstring uuid required

Request body

titlestring nullable
descriptionstring nullable
prompt_textstring nullable
tagsstring[] nullable
teamsinteger[] nullable
attributesobject nullable

Response

Successful Response

idstring uuid required
titlestring required
descriptionstring nullable
prompt_textstring required
tagsstring[]
teamsinteger[] nullable
created_byinteger required
created_atstring date-time required
updated_atstring date-time required
last_used_atstring date-time nullable
attributesobject
is_publicboolean