# Provider status (/docs/api/insights/status_get)

Live health per provider: vendor failures in the last 30 seconds (the router's outage signal), last-hour error rate and latency, and 24-hour and 30-day uptime with daily bars.

`GET /v1/status`

```json
{
  "operationId": "status_get",
  "summary": "Provider status",
  "description": "Live health per provider: vendor failures in the last 30 seconds (the router's outage signal), last-hour error rate and latency, and 24-hour and 30-day uptime with daily bars.",
  "tags": [
    "status"
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "status"
                ]
              },
              "source": {
                "type": "string",
                "enum": [
                  "live",
                  "unavailable",
                  "sample"
                ]
              },
              "generated_at": {
                "type": "string",
                "format": "date-time"
              },
              "overall": {
                "type": "string",
                "enum": [
                  "operational",
                  "degraded",
                  "down",
                  "unknown"
                ]
              },
              "providers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "provider": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "operational",
                        "degraded",
                        "down",
                        "unknown"
                      ]
                    },
                    "recent_failures": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "last_failure_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "calls_1h": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "error_rate_1h": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 1
                    },
                    "p50_ms_1h": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "uptime_24h": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 1
                    },
                    "uptime_30d": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 1
                    },
                    "days": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "date": {
                            "type": "string",
                            "format": "date"
                          },
                          "calls": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "uptime": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "minimum": 0,
                            "maximum": 1
                          }
                        },
                        "required": [
                          "date",
                          "calls",
                          "uptime"
                        ]
                      }
                    }
                  },
                  "required": [
                    "provider",
                    "name",
                    "status",
                    "recent_failures",
                    "last_failure_at",
                    "calls_1h",
                    "error_rate_1h",
                    "p50_ms_1h",
                    "uptime_24h",
                    "uptime_30d",
                    "days"
                  ]
                }
              }
            },
            "required": [
              "object",
              "source",
              "generated_at",
              "overall",
              "providers"
            ]
          }
        }
      }
    },
    "default": {
      "description": "Error",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "invalid_request",
                      "unauthorized",
                      "insufficient_balance",
                      "max_cost_exceeded",
                      "scope_denied",
                      "budget_blocked",
                      "not_found",
                      "idempotency_mismatch",
                      "invalid_meta",
                      "rate_limited",
                      "upstream_error",
                      "response_buffer_limit",
                      "provider_capacity_unavailable",
                      "grid_saturated",
                      "upstream_timeout",
                      "conflict",
                      "internal_error",
                      "account_frozen",
                      "strict_filters",
                      "plan_limit_reached",
                      "validation_failed",
                      "deadline_exceeded",
                      "cancelled"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "call_id": {
                    "type": "string"
                  },
                  "retry_after_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "details": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "code",
                  "message"
                ]
              }
            },
            "required": [
              "error"
            ]
          }
        }
      }
    }
  }
}
```
