WWatchLLM
get/api/v2/citations/llm-sources

Return LLM citation source breakdown.

Return LLM citation source breakdown.

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
startDatequeryNo description provided.string:date-time
endDatequeryNo description provided.string:date-time
monitorIdsqueryComma-separated values are accepted.string
modelIdsqueryComma-separated values are accepted.string
queryquerySearch citation title, URL, domain, model, or prompt text. Alias: q.string
qqueryAlias for query.string
sourceTypequerySingle source type filter used by workspace source pages.string
sourceTypesqueryComma-separated source types are accepted.string
contentTypequerySingle content type filter used by workspace source pages.string
contentTypesqueryComma-separated content types are accepted.string
responsequeryFilter to citations extracted from one response. Alias: responseId.string
responseIdqueryAlias for response.string
selfqueryFilter self-citations or external citations.string (self, external)
domainqueryNo description provided.string
urlqueryPartial URL filter.string

Responses

200

Successful JSON response.

application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "model": {
        "type": "string"
      },
      "domain": {
        "type": "string"
      },
      "count": {
        "type": "integer"
      },
      "percentageOfModel": {
        "type": "number"
      }
    },
    "required": [
      "model",
      "domain",
      "count",
      "percentageOfModel"
    ]
  }
}

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.