Last updated 14 days ago
Use these operations to interact with on-call information on entities 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
curl -L \ --url 'https://api.getcortexapp.com/api/v1/catalog/{tagOrId}/integrations/oncall/current' \ --header 'Authorization: Bearer JWT'
[ { "current": [ { "escalations": [ { "escalationLevel": 1, "schedules": [ { "user": { "email": "cristina@cortex.io", "name": "Cristina Buenahora" } } ] } ], "provider": "OPSGENIE, PAGERDUTY, VICTOROPS" } ] } ]
curl -L \ --url 'https://api.getcortexapp.com/api/v1/catalog/{tagOrId}/integrations/oncall/registration' \ --header 'Authorization: Bearer JWT'
[ { "id": "ASDF1234", "provider": "OPSGENIE, PAGERDUTY, VICTOROPS", "source": "AUTO_MAPPED, DEFINED", "type": "CQL_FILTER" } ]