BQLQuery

BQLQuery is used for Urls listing and filtering to define field selection, filter to operate and sort to apply on the result.

Format

{
  "fields": Array<string>,
  "sort": ?Array<BQLSort>,
  "filters": ?BQLFilter
}

Fields

The fields to fetch. Default field is url. This is equivalent to the select clause in SQL. List of selectable fields in Analysis Datamodel.

Example:

[ "url", "http_code" ]

Sort

Requires the result to be sorted on a certain set of fields. Sort criteria are not necessarily part of the fetched fields.
Order can be either desc or asc.

Example:

[
  { "http_code": { "order": "desc" } }
]

Filters

Please refer to BQLFilter documentation.

Example

Full example in List and Filter URLs documentation.