cURL
curl --request PATCH \ --url https://server.promptwatch.com/api/v2/tags/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "id": "6ba7b820-9dad-11d1-80b4-00c04fd430c8", "name": "Q2 campaign", "promptCount": 14 }
Rename an existing tag
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Tag ID
New name for the tag
1
Default Response
Tag unique identifier
Tag name
Number of prompts using this tag