JQL
Custom JQL Query
post/jql
Request
- Base URLhttps://mixpanel.com/api/query
- Auth
- HTTP basic
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
project_idinteger required
Required if using service account to authenticate request.
workspace_idinteger
The id of the workspace if applicable.
Request body application/x-www-form-urlencoded
Example request
{
"script": "function main(){\n return Events(params)\n .groupBy(\n [\"name\"],\n mixpanel.reducer.count()\n )\n}\n",
"params": "{\n \"from_date\": 2016-01-01T00:00:00.000Z,\n \"to_date\": 2016-01-07T00:00:00.000Z\n}\n"
}Response
Success
object[] required
Changes
No recorded changes to this operation across all 1 revision of this API.