Execute an OPAL query

Execute an OPAL query.

Results can be returned as CSV or NDJSON.

  • Set Accept header to text/csv or application/x-ndjson
  • Default: CSV

Either two of startTime, endTime, and interval or interval alone can be specified to set the time interval. The startTime parameter is inclusive and the endTime parameter is exclusive, to prevent overlap from subsequent windows.

  • interval: An interval relative to now
  • startTime + endTime: The specified time interval
  • startTime or endTime + interval: The specified time interval relative to the provided start or end time

Inputs are specified as dataset IDs, or previously-defined stages.

Set paginate to true for an asynchronous paginated mode. The response will be 202 Accepted and contain headers for fetching the results via /v1/meta/export/query/page. You may also want to increase rowCount to allow large, paginated queries.

Language
Credentials
Bearer
Authorization: Bearer <customerid> <apitoken>
URL
Click Try It! to start a request and see the response here!