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
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
404
Entity not found
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+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"
}
]
}
]
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
404
Entity or registration not found
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+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?