跳转到主要内容
GET
Error

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

limit
integer
默认值:1000

Maximum number of alerts to return.

必填范围: 1 <= x <= 1000
offset
integer
默认值:0

Number of alerts to skip before returning results.

必填范围: x >= 0
tag
string[]

Only return alerts that have any of the given tags. Repeat the parameter to pass several tags. Matches the tags stored on the alert, not tags inherited from the linked dashboard or saved search.

Maximum array length: 50
Maximum string length: 32

Only return alerts whose display name contains this text (case-insensitive). Matches the display name stored on the alert, not a name derived from the linked dashboard or saved search.

Maximum string length: 512
source
enum<string>[]

Only return alerts of any of the given sources. Repeat the parameter to pass several sources.

Alert source type. "saved_search" alerts monitor a saved search, "tile" alerts monitor a dashboard tile, and "inline" alerts carry their own chart configuration (see AlertChartConfig) without requiring a saved search or dashboard.

可用选项:
saved_search,
tile,
inline
state
enum<string>[]

Only return alerts in any of the given states. Repeat the parameter to pass several states.

Current alert state.

可用选项:
ALERT,
OK,
INSUFFICIENT_DATA,
DISABLED,
PENDING

响应

Successfully retrieved alerts

data
object[]
必填

List of alert objects.

meta
object
必填

Pagination metadata for this result page.