Last updated 1 month ago
Use these operations to interact with on-call information on in Cortex.
Your API key must have the Edit entities permission.
Edit entities
The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.
x-cortex-tag
GET /api/v1/catalog/{tagOrId}/integrations/oncall/current HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully retrieved current on-call
[ { "current": [ { "escalations": [ { "escalationLevel": 1, "schedules": [ { "user": { "email": "cristina@cortex.io", "name": "Cristina Buenahora" } } ] } ], "provider": "OPSGENIE, PAGERDUTY, VICTOROPS" } ] } ]
GET /api/v1/catalog/{tagOrId}/integrations/oncall/registration HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully retrieved on-call registration
[ { "id": "ASDF1234", "provider": "OPSGENIE, PAGERDUTY, VICTOROPS", "source": "AUTO_MAPPED, DEFINED", "type": "CQL_FILTER" } ]