For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/api/latest/on-call/list-on-call-pages.md. A documentation index is available at /llms.txt.
Language
Datadog site
CAUTIONThis product is not supported for your selected Datadog site. (US2-FED).

List On-Call Pages

GEThttps://api.datadoghq.com/api/v2/on-call/pageshttps://api.us3.datadoghq.com/api/v2/on-call/pageshttps://api.us5.datadoghq.com/api/v2/on-call/pageshttps://api.datadoghq.eu/api/v2/on-call/pageshttps://api.ap1.datadoghq.com/api/v2/on-call/pageshttps://api.ap2.datadoghq.com/api/v2/on-call/pageshttps://api.uk1.datadoghq.com/api/v2/on-call/pageshttps://api.ddog-gov.com/api/v2/on-call/pageshttps://api.us2.ddog-gov.com/api/v2/on-call/pages

Overview

Retrieve a paginated list of On-Call Pages, optionally filtered by a search query and sorted by a field.

This endpoint requires the on_call_read permission.

Arguments

Query Strings

Name
Type
Description
page[size]
integer

Number of On-Call Pages to return per page of results. The maximum allowed value is 1000.

Default: 100
page[number]
integer

Page of results to return, starting at 0. page[number] multiplied by page[size] must be less than 50000.

Default: 0
filter[query]
string

Search query to filter Pages. Supports filters such as status, urgency, team, service, and tags, for example status:triggered.

sort
enum

Sort Pages by the given field. Only one field is allowed.

Default: created_at
Allowed enum values: created_at, -created_at, modified_at, -modified_at, status, -status, priority, -priority

Response

OK

A list of On-Call Pages with pagination metadata and related included resources.

Field
Type
Description
data [required]
[object]

A list of Pages.

included
[<oneOf>]

Resources related to the Pages, such as users, teams, and scheduled actions.

meta
object

Metadata that is included in the response when listing On-Call resources.

Code Example

List On-Call Pages
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/on-call/pages" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"