Skip to main content
GET
Get AI traffic totals and sources

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY.

Path Parameters

projectId
string
required
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]{1,100}$
Example:

"b1f2c3d4-0000-4000-8000-000000000000"

Query Parameters

days
integer

Rolling window size in days. Ignored when from/to are set.

Required range: 1 <= x <= 365
from
string
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-01-31"

to
string
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-01-31"

Response

Traffic overview fetched successfully

configured
boolean
required

False when the traffic backend is not configured for this deployment; the payload is then empty rather than an error.

totals
object
required
previousConversions
integer | null
required

Conversions in the previous window of the same length. Null when no conversion paths are set or no comparison data exists.

sources
object[]
required
points
object[]
required
organization
object
required
Last modified on September 18, 2026