Skip to main content
POST
Set Content Publication

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string<uuid>
required

Content document identifier

Body

application/json
url
string<uri>
required

Absolute http(s) URL the document was published at. Also added to the page tracker.

Pattern: ^[Hh][Tt][Tt][Pp][Ss]?://
publishedAt
string<date-time>

When the page went live. Defaults to now.

Response

Default Response

document
object
required
trackedPage
object
required

Page tracker created (or reused) for the published URL

domainMismatchWarning
string | null
required

Set when the URL host is not on the project website. The publication is still recorded.