Squadcast is now SolarWinds Incident Response
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Global Event Rules/Rulesets/Rules

List Ruleset Rules

get
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules

Get all rules of a GER Ruleset.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
Query parameters
page_sizeintegerOptional
page_numberintegerOptional
filters.searchstringOptional
Responses
200

The request has succeeded.

application/json
get/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules
GET /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "id": 1,
      "global_event_rule_id": 1,
      "description": "text",
      "expression": "text",
      "action": {
        "route_to": "text"
      },
      "created_at": "2026-01-01T00:00:00.000Z",
      "created_by": "text",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "updated_by": "text"
    }
  ],
  "meta": {
    "total_count": 1
  }
}

Create Rule

post
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules

Create a GER Ruleset Rule.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
Body
descriptionstringRequired
expressionstringRequired
Responses
201

The request has succeeded and a new resource has been created as a result.

application/json
post/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules
POST /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71

{
  "description": "text",
  "expression": "text",
  "action": {
    "route_to": "text"
  }
}
{
  "data": {
    "id": 1,
    "global_event_rule_id": 1,
    "description": "text",
    "expression": "text",
    "action": {
      "route_to": "text"
    },
    "created_at": "2026-01-01T00:00:00.000Z",
    "created_by": "text",
    "updated_at": "2026-01-01T00:00:00.000Z",
    "updated_by": "text"
  }
}

Get Rule by ID

get
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}

Get a GER Ruleset Rule by its ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
rule_idstringRequired
Responses
200

The request has succeeded.

application/json
get/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}
GET /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "id": 1,
    "global_event_rule_id": 1,
    "description": "text",
    "expression": "text",
    "action": {
      "route_to": "text"
    },
    "created_at": "2026-01-01T00:00:00.000Z",
    "created_by": "text",
    "updated_at": "2026-01-01T00:00:00.000Z",
    "updated_by": "text"
  }
}

Delete Rule by ID

delete
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}

Delete a GER Ruleset Rule by its ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
rule_idstringRequired
Responses
204

There is no content to send for this request, but the headers may be useful.

*/*
objectOptional
delete/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}
DELETE /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}

Update Rule by ID

patch
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}

Update a GER Ruleset Rule by its ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
rule_idstringRequired
Body
descriptionstringOptional
expressionstringOptional
Responses
200

The request has succeeded.

application/json
patch/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}
PATCH /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71

{
  "description": "text",
  "expression": "text",
  "action": {
    "route_to": "text"
  }
}
{
  "data": {
    "id": 1,
    "global_event_rule_id": 1,
    "description": "text",
    "expression": "text",
    "action": {
      "route_to": "text"
    },
    "created_at": "2026-01-01T00:00:00.000Z",
    "created_by": "text",
    "updated_at": "2026-01-01T00:00:00.000Z",
    "updated_by": "text"
  }
}

Reorder Ruleset By Index

patch
/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}/priority

Reorder a GER Ruleset Rule by its index in the ruleset.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ger_idintegerRequired
alert_source_versionstringRequired
alert_source_shortnamestringRequired
rule_idstringRequired
Body
shift_tostringOptional
shift_index_byintegerOptional
Responses
200

The request has succeeded.

application/json
patch/v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}/priority
PATCH /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}/priority HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "shift_to": "text",
  "shift_index_by": 1
}
{
  "data": {
    "ordering": [
      1
    ]
  }
}

Last updated