WWatchLLM
get/api/v2/content-gap/prompts

List prompts with content coverage metrics.

List prompts with content coverage metrics.

Requires bearer API key

Parameters

NameInDescription
X-Project-IdheaderRequired for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string
pagequeryNo description provided.integer
sizequeryNo description provided.integer
queryqueryNo description provided.string
promptTypesqueryComma-separated values are accepted.string
intentTypesqueryComma-separated values are accepted.string
hasCoveragequeryNo description provided.string
sortByqueryNo description provided.string
sortOrderqueryNo description provided.string

Responses

200

Successful JSON response.

application/json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "intent": {
            "type": "string"
          },
          "languageCode": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "responseCount": {
            "type": "integer"
          },
          "latestContentGap": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "score": {
                "type": "number"
              },
              "date": {
                "type": "string",
                "format": "date-time"
              },
              "sitemapTotalUrls": {
                "type": "integer",
                "nullable": true
              },
              "sitemapCrawledUrls": {
                "type": "integer",
                "nullable": true
              },
              "queryFanoutsCount": {
                "type": "integer",
                "nullable": true
              },
              "provider": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "providerRunId": {
                "type": "string",
                "nullable": true
              },
              "providerError": {
                "type": "string",
                "nullable": true
              }
            },
            "required": [
              "id",
              "score",
              "date",
              "provider",
              "model"
            ]
          }
        },
        "required": [
          "id",
          "prompt",
          "type",
          "intent",
          "createdAt",
          "responseCount",
          "latestContentGap"
        ]
      }
    },
    "total": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "size": {
      "type": "integer"
    },
    "totalPages": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "total",
    "page",
    "size",
    "totalPages"
  ]
}

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.