Get analytics traffic report
analytics_get_trafficRetrieve AI-referral traffic reports with totals, per-engine series, landing pages, channel splits, and evidence provenance. Distinguish true zero traffic from missing collector data.
Instructions
Get the AI-referral Traffic report via GET /api/v1/analytics/traffic: totals, per-engine series, landing pages, channel split, evidence provenance and sampling flags. HONESTY: totals: null means the collector has no basis to report (check collector.state) — it is NOT zero traffic; only healthy_zero/healthy_data collector states carry real numbers. Modeled influence is excluded. Does not use credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analytics_get_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO end date. | |
| tz | No | IANA time zone for day bucketing. | |
| from | No | ISO start date (alternative to range). | |
| range | No | Day count (default 30). | |
| engine | No | Filter to one AI engine id. | |
| source | No | Filter to one source id. | |
| evidence | No | Evidence-rung filter. | |
| projectId | No | Numeric project id (convenience shape; do not combine with propertyId). | |
| propertyId | No | Explicit analytics property id (primary target). Pass ALONE — combining with a project reference is rejected. When omitted, pass a project reference instead; that resolves only when the project has exactly one property (409 property_scope_ambiguous otherwise). | |
| projectUuid | No | Project UUID (alternative to projectId). |