Skip to main content
POST
/
prompts
/
bulk
Bulk Create Prompts
curl --request POST \
  --url https://server.promptwatch.com/api/v2/prompts/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "llmMonitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prompts": [
    {
      "prompt": "<string>",
      "type": "ORGANIC",
      "intent": "BRANDED",
      "languageCode": "en-US"
    }
  ]
}
'
{
  "created": 123,
  "prompts": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "prompt": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

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

Body

application/json
llmMonitorId
string<uuid>
required

Monitor to attach prompts to

prompts
object[]
required

Array of prompts to create (max 100)

Required array length: 1 - 100 elements

Response

Default Response

created
number
required

Number of prompts created

prompts
object[]
required