post/api/v2/tracked-pages

Add URLs to Page Tracker. WatchLLM extension for the observed Promptwatch trackedPages internal family.

Add URLs to Page Tracker. WatchLLM extension for the observed Promptwatch trackedPages internal family.

Requires bearer API key

Parameters

X-Project-Id

header

Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.

Schema: string

Request Body

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "url": {
      "type": "string"
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

Responses

201

Tracked pages added.

application/json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "added": {
      "type": "integer"
    },
    "skipped": {
      "type": "integer"
    },
    "invalid": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "domain": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "timesCited": {
            "type": "integer"
          },
          "uniquePrompts": {
            "type": "integer"
          },
          "citationVisits30d": {
            "type": "integer"
          },
          "crawlerVisits30d": {
            "type": "integer"
          },
          "lastCited": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "required": [
          "id",
          "url",
          "domain",
          "path",
          "timesCited",
          "uniquePrompts",
          "citationVisits30d",
          "crawlerVisits30d"
        ]
      }
    }
  },
  "required": [
    "added",
    "skipped",
    "invalid",
    "items"
  ]
}
400

Error response.

application/json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  }
}

Try it

Send this request to the local WatchLLM REST handler. Use a key from `/workspace/api`; organization keys can include `X-Project-Id` only when the endpoint documents that header.