WWatchLLM
get/api/v2/analytics/visitors/trend

Return AI visitor trend.

Return AI visitor trend.

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
pathMatchqueryNo description provided.string
countryqueryNo description provided.string
granularityqueryBucket size. Unsupported values fall back to day.string (hour, day, week, month)
timezonequeryIANA timezone used for local date buckets. Invalid values fall back to UTC.string

Responses

200

Successful JSON response.

application/json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "dates": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        },
        "required": [
          "name",
          "data"
        ]
      }
    }
  },
  "required": [
    "dates",
    "series"
  ]
}

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.