On call
Required permissions
Operations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Entity identifier - can be a tag or CID
Successfully retrieved current on-call
Entity not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/catalog/{tagOrId}/integrations/oncall/current HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"current": [
{
"escalations": [
{
"escalationLevel": 1,
"schedules": [
{
"user": {
"email": "cristina@cortex.io",
"name": "Cristina Buenahora"
}
}
]
}
],
"provider": "OPSGENIE, PAGERDUTY, VICTOROPS"
}
]
}
]All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Entity identifier - can be a tag or CID
Successfully retrieved on-call registration
Registration ID
ASDF1234Integration
OPSGENIE, PAGERDUTY, VICTOROPSPossible values: Source
AUTO_MAPPED, DEFINEDPossible values: Entity or registration not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/catalog/{tagOrId}/integrations/oncall/registration HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "ASDF1234",
"provider": "OPSGENIE, PAGERDUTY, VICTOROPS",
"source": "AUTO_MAPPED, DEFINED",
"type": "CQL_FILTER"
}
]Last updated
Was this helpful?