cURL
curl --request POST \ --url https://server.promptwatch.com/api/v2/tags \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "names": [ "<string>" ] } '
{ "tags": [ { "id": "6ba7b820-9dad-11d1-80b4-00c04fd430c8", "name": "Q2 campaign", "promptCount": 14 }, { "id": "6ba7b821-9dad-11d1-80b4-00c04fd430c8", "name": "Brand queries", "promptCount": 32 } ] }
Create one or more tags for the project
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Array of tag names to create
1
Default Response
Array of tags
Show child attributes