Passer au contenu principal
GET
Lists alerts for the authenticated service provider.

Autorisations

X-API-Key
string
header
requis

Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.

Paramètres de requête

Cursor
string

Cursor from a previous page.

PageSize
integer<int32>
défaut:50

Alerts per page, 1-200. Defaults to 50.

SortOrder
string
défaut:desc

desc (default, newest first) or asc. Sorted by CreatedOn.

StatusIds
string

Comma-separated status ids: New=1, Dismissed=2, Ticketed=3. Any other id is a 400.

TypeIds
string

Comma-separated type ids: Uptime=1, API=2, Script=3, External=4, Slide=5, Huntress=6, Error Event Log=7, Disk Usage=8, Connectivity=9, Process=10, Service=11, Antivirus=12, Redfish=13, CPU=14, Memory=15, Ping=16, Windows Updates=17, Warranty Expiration=18, Domain Expiration=19, Contract Expiration=20. 7-17 are device-check alerts, identified by their check type rather than by how the alert was raised. 18-20 carry no device or check; Contract and Domain carry a subject id, Warranty does not. 0 (N/A) matches an alert this scale cannot name. Any id outside 0-20 is a 400.

ClientIds
string

Comma-separated client ids. An alert type that carries no client id never matches this filter.

DeviceIds
string

Deprecated alias of agentAssetIds. Still accepted; ignored when agentAssetIds is supplied.

CreatedSince
string<date-time>

Keeps only alerts raised at or after this instant (UTC).

CreatedBefore
string<date-time>

Keeps only alerts raised strictly before this instant (UTC).

AgentAssetIds
string

Comma-separated agent asset ids (guids).

CustomAssetIds
string

Comma-separated custom asset ids (guids). Matches the alerts about a custom asset: Warranty Expiration alerts, and API alerts posted with a CustomAssetId.

UptimeIds
string

Comma-separated uptime ids (guids).

Réponse

OK

StatusCode
enum<integer>
Options disponibles:
100,
101,
102,
103,
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308,
400,
401,
402,
403,
404,
405,
406,
407,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
421,
422,
423,
424,
426,
428,
429,
431,
451,
500,
501,
502,
503,
504,
505,
506,
507,
508,
510,
511
IsSuccess
boolean
Data
object[] | null
DataContext
object

The DataContext of a cursor-paginated success response: carries the paging metadata for the returned page.

Notifications
object[]