Skip to content

Update prompt.

PATCH
/backend/v1/prompts/{promptId}

Modifies a prompt by its ID.
This endpoint allows you to mark the prompt for preservation when deleting prompts periodically.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Parameters

Path Parameters

promptId*
Typestring
Required
formatuuid

Request Body

application/json
JSON
{
"preserve": true
}

Responses

Successful Response
application/json
JSON
{
"message": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Updated at: