get/api/v2/analytics/visitors/top-sources

Return top AI visitor referrer sources.

Return top AI visitor referrer sources.

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

startDate

query

No description provided.

Schema: string:date-time

endDate

query

No description provided.

Schema: string:date-time

referrerDomains

query

Comma-separated values are accepted.

Schema: string

path

query

No description provided.

Schema: string

pathMatch

query

Use exact for an identical path match; partial matches by path prefix.

Schema: string (exact, partial)

country

query

ISO-3166-1 alpha-2 country filter.

Schema: string

limit

query

No description provided.

Schema: string

Responses

200

Successful JSON response.

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

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.