On call

Use these operations to interact with on-call information on entities in Cortex.

Required permissions

  • Your API key must have the Edit entities permission.

Operations

Retrieve current on-call for entity

get
Authorizations
Path parameters
tagOrIdstringRequired

The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.

Responses
200
Successfully retrieved current on-call
application/json
get
GET /api/v1/catalog/{tagOrId}/integrations/oncall/current HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
[
  {
    "current": [
      {
        "escalations": [
          {
            "escalationLevel": 1,
            "schedules": [
              {
                "user": {
                  "email": "[email protected]",
                  "name": "Cristina Buenahora"
                }
              }
            ]
          }
        ],
        "provider": "OPSGENIE, PAGERDUTY, VICTOROPS"
      }
    ]
  }
]

Retrieve on-call registration for entity

get
Authorizations
Path parameters
tagOrIdstringRequired

The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.

Responses
200
Successfully retrieved on-call registration
application/json
get
GET /api/v1/catalog/{tagOrId}/integrations/oncall/registration HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": "ASDF1234",
    "provider": "OPSGENIE, PAGERDUTY, VICTOROPS",
    "source": "AUTO_MAPPED, DEFINED",
    "type": "CQL_FILTER"
  }
]

Last updated

Was this helpful?