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
Type
HTTP (bearer)

Parameters

Path Parameters

promptId*
Type
string
Required
Format
"uuid"

Request Body

application/json
JSON
"string"

Responses

Successful Response

application/json
JSON
"string"

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Updated at: