Request an API key
Back to Craft.co
Search…
Introduction
About GraphQL
Authentication
Troubleshooting
Company Data API
Company Data API Introduction
Getting started
Query Parameters
Data Categories
GraphQL Enums
Core data types
Query examples
Restrictions on Usage
Usage
Added Companies API
Newly Profiled Companies API Introduction
Query
Alerts API
Alerts API Introduction
Getting started
Alerts API Queries
Alerts API Reference
Alert Object
Filter Object
Order Object
Payload Object
Query examples
Restrictions on Usage
Powered By
GitBook
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
1
enum
AlertSortOrder
{
2
"""
3
Specifies descending sort order.
4
"""
5
DESC
6
​
7
"""
8
Specifies ascending sort order.
9
"""
10
ASC
11
}
Copied!
Previous
Filter Object
Next
Payload Object
Last modified
1yr ago
Copy link
Contents
AlertOrderBy
AlertSortOrder