WWatchLLM
get/api/v2/analytics/visitors/referrer-stats

Return AI visitor referrer comparison stats.

Return AI visitor referrer comparison stats.

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
referrerDomainsqueryComma-separated values are accepted.string
pathqueryNo description provided.string
pathMatchqueryUse exact for an identical path match; partial matches by path prefix.string (exact, partial)
countryqueryISO-3166-1 alpha-2 country filter.string

Responses

200

Successful JSON response.

application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "referrer_domain": {
        "type": "string",
        "nullable": true
      },
      "currentVisits": {
        "type": "integer"
      },
      "previousVisits": {
        "type": "integer"
      },
      "deltaPct": {
        "type": "number",
        "nullable": true
      }
    },
    "required": [
      "referrer_domain",
      "currentVisits",
      "previousVisits",
      "deltaPct"
    ]
  }
}

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.