custom_jql
Execute custom JQL scripts on Mixpanel data to perform advanced analyses, handle complex queries, and transform data beyond standard report capabilities.
Instructions
Run a custom JQL (JSON Query Language) script against your Mixpanel data. Useful for complex custom analyses, advanced data transformations, and queries that can't be handled by standard report types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | A JSON string containing parameters to pass to the script (will be available as the 'params' variable) | |
| project_id | No | The Mixpanel project ID. Optional since it has a default. | |
| script | Yes | The JQL script to run (JavaScript code that uses Mixpanel's JQL functions) | |
| workspace_id | No | The ID of the workspace if applicable |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"params": {
"description": "A JSON string containing parameters to pass to the script (will be available as the 'params' variable)",
"type": "string"
},
"project_id": {
"description": "The Mixpanel project ID. Optional since it has a default.",
"type": "string"
},
"script": {
"description": "The JQL script to run (JavaScript code that uses Mixpanel's JQL functions)",
"type": "string"
},
"workspace_id": {
"description": "The ID of the workspace if applicable",
"type": "string"
}
},
"required": [
"script"
],
"type": "object"
}