Query Exports
Operations related to Query Exports for exporting data matching a specific OTQL query. Enables flexible data extraction beyond segment-based exports, allowing custom queries to retrieve and export specific user attributes, event data, profiles, or aggregated analytics results to files for external analysis and reporting.
The organisation id owning the export
matching export name
The export name
The export starting date
The export end date
Filter archived exports
Oredring
label ids
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/exports?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"max_results": 1,
"data": [
{
"organisation_id": "text",
"priority": "LOW",
"datamart_id": "text",
"name": "text",
"id": "text",
"created_ts": 0,
"query_id": "text",
"output_format": "CSV"
}
],
"status": "ok",
"count": 1,
"first_result": 1
}The organisation id owning the export
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/exports?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"type": "QUERY",
"priority": "LOW",
"name": "text",
"query_id": "text",
"output_format": "CSV"
}{
"status": "ok",
"data": {
"type": "QUERY",
"organisation_id": "text",
"priority": "LOW",
"datamart_id": "text",
"name": "text",
"id": "text",
"created_ts": 0,
"query_id": "text",
"output_format": "CSV"
}
}Last updated
Was this helpful?