For the complete documentation index, see llms.txt. This page is also available as Markdown.
Query Exports
The platform allows you to export data as ndjson, based on OTQL queries. This action is available in the navigator or through API to automate the process.
For punctual exports, you may want to use the navigator (in Data Studio > Exports) rather than our API for more simplicity.
You should check your query and verify its results before creating an export. It is easier to do at this step, as the export would only return an empty file and no message.
// For query SELECT {emails {id}} FROM UserPoint WHERE segments {id="<SEGMENTID>"}
{"emails":[{"id":"87987987985465432198"}]}
{"emails":[]}
{"emails":[]}
{"emails":[{"id":"46546549879879845654"},{"id":"564654987987465465465"}]}
{
"status": "error",
"error": "Resource Not Found",
"error_id": "9eedef5f-dfe3-4354-9a2f-d79760113386"
}