cURL
curl --request POST \ --url https://server.promptwatch.com/api/v2/prompts/bulk/tags \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "promptIds": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "tags": [ "<string>" ] } '
{ "attached": 123 }
Attach tags to multiple prompts (creates tags if they don’t exist)
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Array of prompt IDs
1
Array of tag names to attach
Default Response
Number of tag-prompt relationships created