I'm unable to export custom events using your Download Data API -- how do I solve this?
Hi Daniel C., 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
Based on the information provided in the knowledge sources, I can help clarify the situation regarding exporting custom events using the Download Data API (also known as the Raw Event Export API). The key point to understand is that there are two types of "custom events" in Mixpanel:1. Custom Events created in the UI
2. Custom Implemented EventsFor Custom Events created in the UI, these cannot be directly exported via the Raw Event Export API. This is because they are virtual events used in the Reports UI that combine Raw Events.However, for Custom Implemented Events, you can export these using the Raw Event Export API. To export Custom Implemented Events, you need to use the event
query parameter in your API request. Here's an example of how to do this::LBKSLBKS```LBKSmputils.export_events('event_export.txt',{'from_date'::'2016-01-01','to_date'::'2016-01-01','event'::'["App Install"]'})```In this example, "App Install" is the name of the custom implemented event you want to export.If you're trying to export a Custom Event created in the UI, you'll need to look at its definition and export the Raw Events that make up that Custom Event instead.For more detailed information, you can refer to the Support QA document and the Raw Event Export API documentation.Remember that the Raw Event Export API has rate limits: 60 queries per hour, 3 queries per second, and a maximum of 100 concurrent queries. If you exceed these limits, you'll receive a 429 error.
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.