curl --request GET \
--url https://api.altostrat.io/sla/reports \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sla_2ayc4Yy6w3g7Y2j4g4g4Yy6w3g7",
"report_id": "BCDF-GHJK",
"name": "Monthly Executive SLA Summary",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"created_at_date": "2023-11-07T05:31:56Z",
"sla_target": 99.95,
"downtime_percentage_all_hours": 0.12,
"downtime_percentage_business_hours": 0.05,
"site_count": 42,
"business_hour_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"business_hour_name": "<string>",
"business_hour_timezone": "<string>",
"shared_url": "<string>",
"json_url": "<string>",
"timestamp": 123
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}Retrieves a paginated list of all historically generated reports for the workspace, sorted by creation date in descending order.
curl --request GET \
--url https://api.altostrat.io/sla/reports \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sla_2ayc4Yy6w3g7Y2j4g4g4Yy6w3g7",
"report_id": "BCDF-GHJK",
"name": "Monthly Executive SLA Summary",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"created_at_date": "2023-11-07T05:31:56Z",
"sla_target": 99.95,
"downtime_percentage_all_hours": 0.12,
"downtime_percentage_business_hours": 0.05,
"site_count": 42,
"business_hour_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"business_hour_name": "<string>",
"business_hour_timezone": "<string>",
"shared_url": "<string>",
"json_url": "<string>",
"timestamp": 123
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}Enter your authentication token.
The page number to retrieve.
The number of items to retrieve per page.
A paginated list of generated reports.
Show child attributes
The ID of the schedule that generated this report.
"sla_2ayc4Yy6w3g7Y2j4g4g4Yy6w3g7"
The unique, human-friendly identifier for this specific report instance.
"BCDF-GHJK"
The name of the report schedule at the time of generation.
"Monthly Executive SLA Summary"
The start of the reporting period.
The end of the reporting period.
The timestamp when the report was generated.
The SLA target percentage for this report.
99.95
The average downtime percentage across all sites, calculated over 24/7.
0.12
The average downtime percentage across all sites, calculated only within defined business hours.
0.05
The number of sites included in this report.
42
The ID of the business hours schedule used, if any.
The name of the business hours schedule used, if any.
The timezone of the business hours schedule used, if any.
A direct, public URL to download the generated PDF report.
A direct, public URL to download the raw JSON data for the report.
The Unix timestamp of when the report was generated.
Was this page helpful?