List On-Call schedule overrides
Retrieve a list of overrides for the specified On-Call schedule within a given time range.
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the schedule.
Query parameters
Start of the time range to retrieve overrides for, in RFC3339 format (for example, 2025-05-07T02:53:01Z or 2025-05-07T02:53:01+00:00). If you use a time zone offset with +, URL-encode the + as %2B.
End of the time range to retrieve overrides for, in RFC3339 format (for example, 2025-05-07T02:53:01Z or 2025-05-07T02:53:01+00:00). If you use a time zone offset with +, URL-encode the + as %2B. The time range cannot exceed 45 days.
Comma-separated list of related resources to include in the response. Allowed values: user, overridden_user, user.color.
Number of overrides to return per page. The maximum allowed value is 50.
Specific page number to return.
Response
OK
Example response
{
"data": [
{
"attributes": {
"end": "2024-01-08T02:53:01.000000000Z",
"inactive": false,
"start": "2024-01-07T02:53:01.000000000Z"
},
"id": "00000000-0000-0000-0000-000000000000",
"relationships": {
"schedule": {
"data": {
"id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
"type": "schedules"
}
},
"user": {
"data": {
"id": "00000000-aba1-0000-0000-000000000000",
"type": "users"
}
}
},
"type": "overrides"
}
],
"included": [
{
"attributes": {
"email": "jane.doe@example.com",
"name": "Jane Doe",
"status": ""
},
"id": "00000000-aba1-0000-0000-000000000000",
"type": "users"
}
]
}Changes
Changes to this operation have not been checked yet.