Status
Get status summary
GET
Returns global public status, component summaries, active incidents, and maintenance windows.
Successful response
application/json- response
code*integerdata*message*stringsuccess*booleancurl -X GET 'https://api.ohmygpt.com/v1/status/summary'示例响应
{ "code": 0, "data": { "active_incidents": [ { "acknowledged_at": "2019-08-24T14:15:22Z", "affected_components": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "id": "string", "resolved_at": "2019-08-24T14:15:22Z", "severity": "string", "status": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "active_maintenances": [ { "actual_end_at": "2019-08-24T14:15:22Z", "actual_start_at": "2019-08-24T14:15:22Z", "affected_components": [ "string" ], "body": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "scheduled_end_at": "2019-08-24T14:15:22Z", "scheduled_start_at": "2019-08-24T14:15:22Z", "status": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "provider_state": { "components": [ { "description": "string", "last_live_at": "2019-08-24T14:15:22Z", "name": "string", "status": "unknown" } ], "is_stale": true, "last_live_at": "2019-08-24T14:15:22Z" }, "status": "unknown", "updated_at": "2019-08-24T14:15:22Z" }, "message": "string", "success": true}Get model route time series GET
Returns route-level success rate, latency, and TTFT time series for one model. A bucket's success_rate is null until it has at least 20 requests; its latency fields are omitted until it has at least 30 requests, and its TTFT fields until it has at least 30 first-token samples.
Get uptime heatmap GET
Returns public daily uptime percentages for status page components. A percentage is null until it rests on at least 20 samples, so "not enough data" is never shown as 100%.