can we select date range through Query api for the chart we want to export
Hi Ali A., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Yes. Most Query API endpoints let you set the date range with from_date and to_date (inclusive). Use these on the endpoint that matches your chart type: - Segmentation: GET /segmentation, /segmentation/average, /segmentation/sum, /segmentation/numeric all accept from_date and to_date. [Segmentation] - Event Breakdown: GET /events and /events/properties accept from_date and to_date. [Event Breakdown] - Funnels: GET /funnels requires from_date and to_date; you can also control bucket size with interval or unit. [Funnels] - Insights (saved reports): GET /insights returns the saved report; date range comes from the report settings rather than from_date/to_date params. [Insights]If you’re exporting raw events (not charts), the Raw Event Export API also uses from_date and to_date. [Export API; Export methods]
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Can I slect data range for insight report
