{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/llmintel-ai/json-schema/llmintel-ai-status-schema.json",
  "title": "Status",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/llmintel-ai-openapi.json#/components/schemas/Status",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "fresh",
        "stale",
        "failing",
        "unknown"
      ]
    },
    "slaHours": {
      "type": "integer"
    },
    "checkedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "asOf": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "oldestCheckAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "openai",
              "anthropic",
              "azure",
              "bedrock",
              "google",
              "vertex",
              "mistral",
              "cohere"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "fresh",
              "stale",
              "failing",
              "unknown"
            ]
          },
          "lastSuccessAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastRunAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastRunStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "ageHours": {
            "type": [
              "number",
              "null"
            ]
          },
          "consecutiveFailures": {
            "type": "integer"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}