Skip to main content
POST
Create a tracked prompt

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

Body

application/json
topicId
string<uuid>
required

A topic id from listTopics.

promptText
string
required

The exact question to track.

Required string length: 10 - 1000
force
boolean
default:false

Track the prompt even though a highly similar one is already tracked.

Response

The tracked prompt

data
object
required
meta
object
required