List Alerts
Gets a list of alerts accessible to the user, ordered by creation time.
Note: Calling this action concurrently 10 or more times could result in throttling, service degradation, or a temporary ban.
External Documentation
To learn more, visit the Databricks documentation.
Parameters
Parameter | Description |
---|---|
Page Size | The number of items to return per page. Valid range is 1-100. |
Page Token | A token used for pagination, allowing you to retrieve data in batches. |
Return All Pages | Automatically fetch all resources, page by page. |
Example Output
{
"next_page_token": "eDg",
"results": [
{
"state": "OK",
"seconds_to_retrigger": 0,
"owner_user_name": "user.name@acme.com",
"display_name": "Test alert 1",
"id": "fe25e731-92f2-4838-9fb2-1ca364320a3d",
"condition": {
"op": "GREATER_THAN",
"operand": {
"column": {
"name": "foo"
}
},
"threshold": {
"value": {
"double_value": 1
}
}
},
"query_id": "dee5cca8-1c79-4b5e-a711-e7f9d241bdf6",
"lifecycle_state": "ACTIVE",
"update_time": "2019-08-24T14:15:22Z",
"create_time": "2019-08-24T14:15:22Z"
},
{
"state": "OK",
"seconds_to_retrigger": 0,
"owner_user_name": "user.name@acme.com",
"display_name": "Test alert 2",
"id": "2cca1687-60ff-4886-a445-0230578c864d",
"condition": {
"op": "EQUAL",
"operand": {
"column": {
"name": "bar"
}
},
"threshold": {
"value": {
"bool_value": true
}
}
},
"query_id": "0c205e24-5db2-4940-adb1-fb13c7ce960b",
"lifecycle_state": "ACTIVE",
"update_time": "2019-08-24T14:15:22Z",
"create_time": "2019-08-24T14:15:22Z"
}
]
}
Workflow Library Example
List Alerts with Databricks and Send Results Via Email
Preview this Workflow on desktop