Retrieve all silences
GET/v1/grafana/api/alertmanager/grafana/api/v2/silences/
Retrieve a list of all existing silences, including their ID, status, and additional details.
Request
- application/json
Body
- Array [
- ]
Unique identifier for the silence.
The state of the silence (active or expired).
Date and time in UTC when the silence was last updated.
A description or comment about the silence, its purpose, or any relevant details.
Name of the user who created the silence.
Date and time in UTC when the silence ends.
matchers object[]
List of matchers defining which alerts the silence applies to.
Date and time in UTC when the silence begins.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Unique identifier for the silence.
The state of the silence (active or expired).
Date and time in UTC when the silence was last updated.
A description or comment about the silence, its purpose, or any relevant details.
Name of the user who created the silence.
Date and time in UTC when the silence ends.
matchers object[]
List of matchers defining which alerts the silence applies to.
Date and time in UTC when the silence begins.
{
"id": "e1a111a1-1a10-1caf-ae1b-1111112bf061",
"status": "active",
"updatedAt": "2020-04-02T18:58:16.000Z",
"comment": "Created 2025-01-20 14:32",
"createdBy": "John Doe",
"endsAt": "2025-01-20T14:32:00.839Z",
"matchers": [
{
"isEqual": true,
"isRegex": false,
"name": "Name1",
"value": "test123"
}
],
"startsAt": "2025-01-20T12:32:12.380Z"
}