get/api/v2/analytics/visitors/trend
Return AI visitor trend.
Return AI visitor trend.
Requires bearer API keyParameters
| Name | In | Description |
|---|---|---|
| X-Project-Id | header | Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string |
| startDate | query | No description provided.string:date-time |
| endDate | query | No description provided.string:date-time |
| referrerDomains | query | Comma-separated values are accepted.string |
| path | query | No description provided.string |
| pathMatch | query | No description provided.string |
| country | query | No description provided.string |
| granularity | query | Bucket size. Unsupported values fall back to day.string (hour, day, week, month) |
| timezone | query | IANA timezone used for local date buckets. Invalid values fall back to UTC.string |
Responses
200
application/jsonSuccessful JSON response.
{
"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.