For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ko/api/latest/status-pages/create-backfilled-degradation.md. A documentation index is available at /llms.txt.
Language
Datadog site

백필된 성능 저하 생성

POSThttps://api.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.us3.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.us5.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.datadoghq.eu/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.ap1.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.ap2.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.uk1.datadoghq.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.ddog-gov.com/api/v2/statuspages/{page_id}/degradations/backfillhttps://api.us2.ddog-gov.com/api/v2/statuspages/{page_id}/degradations/backfill

개요

사전 정의된 업데이트가 포함된 백필된 성능 저하를 생성합니다.

This endpoint requires the status_pages_incident_write permission.

OAuth apps require the status_pages_incident_write authorization scope to access this endpoint.

인수

경로 파라미터

이름
유형
설명
page_id [required]
string

The ID of the status page.

쿼리 문자열

이름
유형
설명
include
string

Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.

요청

Body Data (required)

항목
유형
설명
data
object

백필된 성능 저하 생성을 위한 요청 객체입니다.

응답

Created

Response object for a single degradation.

항목
유형
설명
data
object

The data object for a degradation.

included
[<oneOf>]

The included related resources of a degradation. Client must explicitly request these resources by name in the include query parameter.

코드 예시

# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF
# Path parameters
export page_id="CHANGE_ME"

# 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 POST "https://api.${DD_SITE}/api/v2/statuspages/${page_id}/degradations/backfill" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "title": "Past API Outage",
      "updates": [
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "degraded"
            }
          ],
          "description": "We detected elevated error rates in the API.",
          "started_at": "2026-04-27T13:37:31Z",
          "status": "investigating"
        },
        {
          "components_affected": [
            {
              "id": "1234abcd-12ab-34cd-56ef-123456abcdef",
              "status": "operational"
            }
          ],
          "description": "The issue has been resolved.",
          "started_at": "2026-04-27T14:37:31Z",
          "status": "resolved"
        }
      ]
    },
    "type": "degradations"
  }
}
EOF