Skip to main content
POST
Bulk Attach Topics

Authorizations

X-API-Key
string
header
required

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

Body

application/json
promptIds
string<uuid>[]
required

Array of prompt IDs

Minimum array length: 1
topics
string[]
required

Array of topic names to attach

Minimum array length: 1

Response

Default Response

attached
number
required

Number of topic-prompt relationships created