Skip to main content
PUT
Update Prompt

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
prompt_id
string
required

Prompt identifier

Query Parameters

source_target_kind
string
target_branch_id
string<uuid> | null

Body

application/json
content
string
required
Minimum string length: 1
description
string | null
source
string
Minimum string length: 1

Response

Updated prompt document

id
string
required
name
string
required
description
string | null
required
content
string | null
required
source_path
string
required
source
string
required
edit_mode
enum<string>
required
Available options:
structured,
source_only
source_only_reasons
string[]
required