Skip to content

Commit 10bc898

Browse files
Update jql.md (#1904)
* Update jql.md * Update query-jql.md * use callout component * undo markdown commit * undo callout --------- Co-authored-by: Myron Fung <[email protected]>
1 parent f2a8b4a commit 10bc898

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

pages/docs/reports/apps/jql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# JQL: Create custom queries using Javascript code
22

3-
> ️ JQL is in maintenance mode.
4-
> Since the JQL platform is designed as a self-service tool, Mixpanel is unable to assist with writing custom JQL queries.
5-
>
6-
> Mixpanel is not investing in JQL any further. If you would like to run arbitrary queries on your Mixpanel events, please use our [Data Pipelines](/docs/data-pipelines) add-on to export your events to your data warehouse.
3+
> ️JQL is currently in maintenance mode and will be completely deprecated December 31, 2025. We recommend discontinuing use of JQL and using an [alternate method](https://docs.mixpanel.com/docs/export-methods) to get the data you need. Below are alternatives for common use cases and you need help deciding the best method for you, reach out to [support](mixpanel.com/get-support).
4+
> - Raw Event export: [Export API](https://developer.mixpanel.com/reference/raw-data-export-api) or [Data Pipelines](https://docs.mixpanel.com/docs/data-pipelines)
5+
> - User Profile export: [Engage Query API](https://developer.mixpanel.com/reference/engage-query) or [Data Pipelines](https://docs.mixpanel.com/docs/data-pipelines)
6+
> - Other reporting: [Query API](https://developer.mixpanel.com/reference/query-api) or in-app [Core Reports](https://docs.mixpanel.com/docs/reports)
77
88
The JQL JavaScript code must define a `main()` function. This JavaScript will be compiled, and the `main()` function will be executed by the query engine. The return value of `main()` must be a sequence of zero or more transformations applied to a collection of events, user records or joined records.
99
Events are retrieved by calling the `Events()` function.

reference/Query API/jql/query-jql.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ createdAt: "2020-10-20T00:41:48.213Z"
77
updatedAt: "2023-09-26T21:06:39.162Z"
88
---
99

10+
> ❗️JQL is currently in maintenance mode and will be completely deprecated December 31, 2025. We recommend discontinuing use of JQL and using an [alternate method](https://docs.mixpanel.com/docs/export-methods) to get the data you need. Below are alternatives for common use cases and you need help deciding the best method for you, reach out to [support](mixpanel.com/get-support).
11+
> - Raw Event export: [Export API](https://developer.mixpanel.com/reference/raw-data-export-api) or [Data Pipelines](https://docs.mixpanel.com/docs/data-pipelines)
12+
> - User Profile export: [Engage Query API](https://developer.mixpanel.com/reference/engage-query) or [Data Pipelines](https://docs.mixpanel.com/docs/data-pipelines)
13+
> - Other reporting: [Query API](https://developer.mixpanel.com/reference/query-api) or in-app [Core Reports](https://docs.mixpanel.com/docs/reports)
14+
1015
The HTTP API is the lowest-level way to use JQL. At its core, the API is very simple: you write a script, and you post it to an API endpoint with some authentication parameters.
1116

1217
For longer scripts, you will likely want to keep the code in a file. If you had your script in a file called my_query.js, you could run it using the following cURL command:

0 commit comments

Comments
 (0)