Get Statistics for Status Page Component

This API endpoint retrieves statistics related to a specific component by its unique ID. The response includes details such as the status, duration, open incidents, and other related information.

Authorization: Bearer YOUR_TOKEN


Expected Behavior:


  • On success, the system will return the component statistics and any open incidents.
  • If the request is invalid, a 400 error will be returned.
  • If authorization fails, a 401 error will be returned.
  • If the component is not found, a 404 error will be returned.
Path Parameters
  • id string
    The unique ID of the component to retrieve statistics for. Example: 'c03b02ec-244f-4d2c-8f68-3910071ed5c8'
curl -X GET "https://api.pinghome.io/statuspage-query/v1/component/c03b02ec-244f-4d2c-8f68-3910071ed5c8/statistics" \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).