Fetch sessions

API that allows fetching raw sessions from the database (event-level data
is not available in this API). Please note that each request must be
authenticated.

Compression

When requesting large amount of data, make sure to include
an Accept-Encoding: gzip header to enable
compression.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required

ID of a website or a meta site.

columns
array of objects
required

Definitions of additional columns that should be returned (timestamp and
identifiers will be returned by default).

columns*
string

Cannot be used with relative_date field at the same time. Mandatory if relative_date is not used.

string

Cannot be used with relative_date field at the same time. Mandatory if relative_date is not used.

string

Use relative date in query. Cannot be used with absolute date fields at
the same time. X in last_X_days must be in range 1 <= X <= 365.
Note that last_X_days does not include data from today.
Mandatory if absolute date fields are not used.

filters
object

Dimension filters for the query. The top-level object must specify
AND/OR clause, but any nested objects may either specify another AND/OR
clause or a single filter.

integer
≥ 0
Defaults to 0

Number of rows to skip before beginning to return rows.

integer
1 to 100000
Defaults to 100

Number of rows to return.

string
Defaults to json

Data format of a successful response (error responses are always in json).

string
Defaults to id

Format of the columns header (in CSV responses) and metadata labels
(in JSON responses). By default uses identifiers (id option), set to
name to use human-readable names.

Responses

Response body
object
data
array of objects

Rows with results for the query.

data
object
meta
object

Additional results metadata for the query.

columns
array of strings

List of column IDs returned.

columns
integer

Total number of results available for this query.

Language
Credentials
OAuth2
URL