Execute a query to retrieve data from a specified data source
Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer <your-token>
API key when not using an authorization header
Schedule ID for this query request. If not provided, one will be generated from other query parameters
Target data source ID
List of data source accounts the query should target, or a filter for them
List of data source segment IDs the query should target
Shorthand parameter to provide one value for ds_users
List of data source login usernames to limit when searching for suitable authentication
Type of date range the query should use
Fixed or relative start date for your query
Fixed or relative end date for your query
Date range comparison type. Defaults to none
When compare_type is custom, display type for comparison values
When compare_type is custom, fixed or relative start date for comparison
When compare_type is custom, fixed or relative end date for comparison
Target data source fields the query should return
Settings that should be applied when performing the query
Filter string that should be applied to the results
Order instruction for fields that are split by column
List of order fields and sort directions for result rows
Maximum number of columns the query results should contain
Maximum number of rows the query results should contain
Starting row index for paginated response
Ending row index for paginated response
Maximum allowed age of query results cache in minutes
Number of seconds the API should wait for query to finish
Query executed successfully
API request ID
Custom or generated schedule ID for the query
Status code for the query
Query start date in YYYY-MM-DD format
Query end date in YYYY-MM-DD format
Data source account IDs used in the query
Data source segment IDs used in the query
Field ID from the request
Field ID the API uses
Field name
Field type
Field split by type
Field data type
Field value position in each data row
Whether data for this field is visible
Date range comparison type used
Display type for comparison values
Start date for comparison date range
End date for comparison date range
Settings used in query
Requested maximum age of cache in minutes
Total amount of columns
Total amount of rows in data
Number of seconds it took for the query to run
If data source has provided sampled data
If cached data was used
ISO 8601 datetime for the most recent cached data
URL to previous offset
URL to next offset
Query result rows