{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/qencode-com/json-schema/qencode-com-get-v1-live-streams-streamid-health-response-schema.json",
  "title": "GetV1LiveStreamsStreamidHealthResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/qencode-com-openapi-generated.yml#/components/schemas/GetV1LiveStreamsStreamidHealthResponse",
  "type": "object",
  "properties": {
    "metrics": {
      "type": "array",
      "description": "Array of metric samples — fields depend on raw vs. aggregated mode."
    },
    "count": {
      "type": "integer",
      "description": "Number of items in the metrics array."
    },
    "aggregated": {
      "type": "boolean",
      "description": "'true' when time_bucket aggregation is active, 'false' for raw mode."
    },
    "time_bucket": {
      "type": "string",
      "description": "The bucket interval used (e.g. 5m), or null in raw mode."
    },
    "interval": {
      "type": "integer",
      "description": "Seconds per bucket when time_bucket ='auto'; null otherwise."
    },
    "summary": {
      "type": "object",
      "description": "Statistical summary across the queried range."
    },
    "time_from": {
      "type": "string",
      "description": "Start of the queried window."
    },
    "time_to": {
      "type": "string",
      "description": "End of the queried window."
    }
  }
}