Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Historical Incidents Data

Ravindranath April 27, 2022

Hi,

We are fetching the Unresolved incidents with the API Call. 

https://api.statuspage.io/v1/pages/<PageId>/incidents/unresolved and with Authorization: Bearer <Org. API Key>

We have the requirement to Show the past 7 days historical data whether the components is Operational or has any outage.

Can you kindly suggest any way we can retrieve it. 

 

1 answer

0 votes
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2022

Hi Ravindranath,

You can use the following request to get uptime, events and outage time for the past 90 days:

curl https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}/uptime
-H "Authorization: OAuth your-api-key-goes-here"
-X GET

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events