ReqRes · Schema

AgentHealthResponse

AgentHealthResponse schema from ReqRes API

DevelopmentTestingPrototypingFake APIRESTAgent Sandbox

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

reqres-agent-health-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/reqres/refs/heads/main/json-schema/reqres-agent-health-response-schema.json",
  "title": "AgentHealthResponse",
  "description": "AgentHealthResponse schema from ReqRes API",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "required": [
        "status",
        "version",
        "uptime_seconds",
        "rate_limit_status",
        "deprecations"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "healthy",
            "degraded",
            "maintenance"
          ]
        },
        "version": {
          "type": "string"
        },
        "uptime_seconds": {
          "type": "integer"
        },
        "rate_limit_status": {
          "type": "object",
          "properties": {
            "tier": {
              "type": "string"
            },
            "remaining_today": {
              "type": [
                "integer",
                "null"
              ]
            },
            "limit_today": {
              "type": [
                "integer",
                "null"
              ]
            },
            "reset_at": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          }
        },
        "deprecations": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    }
  },
  "required": [
    "data"
  ]
}