{"openapi":"3.0.3","info":{"title":"weary.ai API","version":"1.0.0","description":"Live status data for AI services. All data is CC-BY-4.0 licensed.","license":{"name":"CC-BY-4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"weary.ai","url":"https://weary.ai"}},"servers":[{"url":"https://weary.ai/api/v1"}],"paths":{"/status":{"get":{"summary":"Get current status of all tracked services","operationId":"getStatus","responses":{"200":{"description":"Current status overview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}}}}},"/services/{slug}":{"get":{"summary":"Get detailed status for a single service","operationId":"getService","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"Service slug (e.g. chatgpt, claude, gemini)"}],"responses":{"200":{"description":"Service detail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDetail"}}}},"404":{"description":"Service not found"}}}},"/incidents":{"get":{"summary":"List recent incidents","operationId":"listIncidents","parameters":[{"name":"since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"severity","in":"query","schema":{"type":"string","enum":["minor","major","critical"]}},{"name":"service","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Incident list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentList"}}}}}}}},"components":{"schemas":{"StatusResponse":{"type":"object","properties":{"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"services":{"type":"array","items":{"$ref":"#/components/schemas/ServiceSummary"}},"source":{"type":"string"},"license":{"type":"string"}}},"ServiceSummary":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"domain":{"type":"string"},"status":{"type":"string"},"lastChecked":{"type":"string","format":"date-time"},"url":{"type":"string","format":"uri"}}},"ServiceDetail":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"uptime":{"type":"object","properties":{"24h":{"type":"number"},"7d":{"type":"number"},"30d":{"type":"number"}}},"incidents":{"type":"array","items":{"$ref":"#/components/schemas/Incident"}}}},"IncidentList":{"type":"object","properties":{"incidents":{"type":"array","items":{"$ref":"#/components/schemas/Incident"}},"timestamp":{"type":"string","format":"date-time"}}},"Incident":{"type":"object","properties":{"id":{"type":"string"},"service":{"type":"string"},"headline":{"type":"string"},"severity":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"endedAt":{"type":"string","format":"date-time","nullable":true}}}}}}