Order Object

This page specifies the shape of argument allowing configuring the sorting order of the Alerts API output

By default, Alerts API provides output sorted by publishedAt field in descending order (most recently published Alerts first).

AlertOrderBy

Field

Type

Description

publishedAt

AlertSortOrder

Allows specifying the desired sorting order

AlertSortOrder

This is a GraphQL enum, specifying allowed sorting orders

enum AlertSortOrder {
"""
Specifies descending sort order.
"""
DESC
"""
Specifies ascending sort order.
"""
ASC
}