saylorinnovations.com/api/infra/uptime-sla
Allowed downtime per period, composite availability of redundant components and error budget
GET
https://saylorinnovations.com/api/infra/uptime-slaUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/infra/uptime-sla?components=LB%3A99.99%3A2%7CApp%3A99.9%3A3%7CDB%3A99.95%3A2%7CDNS%3A99.99%3A1&sla_percent=99.9&window_days=30&incidents_minutes=12%2C8%2C5" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"components": "LB:99.99:2|App:99.9:3|DB:99.95:2|DNS:99.99:1",
"sla_percent": "99.9",
"window_days": "30",
"incidents_minutes": "12,8,5"
}