cURL
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": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "prompt": "<string>", "type": "<string>", "updatedAt": "2023-11-07T05:31:56Z", "intent": "<string>" }
Update a prompt’s type and intent
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Prompt ID
Type of prompt
ORGANIC
BRAND_SPECIFIC
COMPETITOR_COMPARISON
Intent of the prompt
BRANDED
INFORMATIONAL
NAVIGATIONAL
COMMERCIAL
TRANSACTIONAL
Default Response