Skip to main content
PUT
/
prompts
/
{id}
Update Prompt
curl --request PUT \
  --url https://server.promptwatch.com/api/v2/prompts/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "type": "ORGANIC",
  "intent": "BRANDED"
}
'
{ "id": "6ba7b82e-9dad-11d1-80b4-00c04fd430c8", "prompt": "What is the best workflow automation tool for finance teams?", "type": "ORGANIC", "intent": "INFORMATIONAL", "updatedAt": "2026-03-30T10:15:00.000Z" }

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Path Parameters

id
string<uuid>
required

Prompt ID

Body

application/json
type
enum<string>
required

Type of prompt

Available options:
ORGANIC,
BRAND_SPECIFIC,
COMPETITOR_COMPARISON
intent
enum<string>
required

Intent of the prompt

Available options:
BRANDED,
INFORMATIONAL,
NAVIGATIONAL,
COMMERCIAL,
TRANSACTIONAL

Response

Default Response

id
string<uuid>
required
prompt
string
required
type
string
required
updatedAt
string<date-time>
required
intent
string | null