Ad-hoc Query

Run a custom query that is not associated with a report or metric.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Kissmetrics Query API supports the running of queries that are not tied to saved reports. An example of an ad-hoc query is when users run queries from inside Kissmetrics prior to saving their report or run queries after making un-saved changes to a saved report.

To run an ad-hoc query, Kissmetrics Query API requires the product ID, the type of query to be run, and the parameters for the query.

Body Params
int32
required

The unique identifier of the product to query.

string

The type of query to run. *Default query type is pulled from the given report. See Query Types for a list.

json
required

The object that outlines all of the ad-hoc query's conditions. See Query Params for details and examples.

string

The field to sort the results by.

string
Defaults to asc

The sort order if sort parameter is provided. One of asc or desc.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json