Skip to main content
GET
Return the project’s sessions in a window grouped by one dimension, as counts and percentages.
Scope: read.

Path parameters

string
required
The project.

Query parameters

string
default:"country"
country, city, browser, os or device.
string
With dimension=city: restrict to one country code, e.g. DE.
string
ISO 8601 start of the window.
string
ISO 8601 end of the window.

Headers

string
required
Your Streampixel API key.

Response

string
The dimension used.
number
Sessions in the window with a value for the dimension.
array
value, count, percentage; for cities also country and countryCode.

Errors