Configured routes and observed native log evidence; absent and truncated evidence remains unknown
{
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"additionalProperties": false,
"required": [
"window",
"limits",
"basis",
"coverage",
"channels",
"models",
"unattributed"
],
"properties": {
"window": {
"type": "object",
"additionalProperties": false,
"required": [
"start_timestamp",
"end_timestamp"
],
"properties": {
"start_timestamp": {
"type": "integer",
"minimum": 0
},
"end_timestamp": {
"type": "integer",
"minimum": 0
}
}
},
"limits": {
"type": "object",
"additionalProperties": false,
"required": [
"window_seconds",
"limit",
"channel_limit"
],
"properties": {
"window_seconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"channel_limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
}
},
"basis": {
"type": "object",
"additionalProperties": false,
"required": [
"success",
"failure",
"routing"
],
"properties": {
"success": {
"type": "string",
"enum": [
"native_consume_log"
]
},
"failure": {
"type": "string",
"enum": [
"native_error_log"
]
},
"routing": {
"type": "string",
"enum": [
"configured_channel_status_and_models"
]
}
}
},
"coverage": {
"type": "object",
"additionalProperties": false,
"required": [
"channels",
"success",
"failure",
"models_truncated",
"route_counts_complete",
"evidence_complete",
"model_groups_truncated",
"channel_models_truncated",
"channel_groups_truncated",
"byte_budget_truncated",
"output_truncated"
],
"properties": {
"channels": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"observed",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"observed": {
"type": "integer",
"minimum": 0
},
"truncated": {
"type": "boolean"
}
}
},
"success": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"observed",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"observed": {
"type": "integer",
"minimum": 0
},
"truncated": {
"type": "boolean"
}
}
},
"failure": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"observed",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"observed": {
"type": "integer",
"minimum": 0
},
"truncated": {
"type": "boolean"
}
}
},
"models_truncated": {
"type": "boolean"
},
"route_counts_complete": {
"type": "boolean"
},
"evidence_complete": {
"type": "boolean"
},
"model_groups_truncated": {
"type": "boolean"
},
"channel_models_truncated": {
"type": "boolean"
},
"channel_groups_truncated": {
"type": "boolean"
},
"byte_budget_truncated": {
"type": "boolean"
},
"output_truncated": {
"type": "boolean"
}
}
},
"channels": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"name",
"status",
"groups",
"models",
"evidence"
],
"properties": {
"id": {
"type": "integer",
"minimum": 1
},
"name": {
"type": "string",
"maxLength": 256
},
"status": {
"type": "string",
"enum": [
"enabled",
"manually_disabled",
"auto_disabled"
]
},
"groups": {
"type": "array",
"maxItems": 32,
"items": {
"type": "string",
"maxLength": 255
},
"description": "At most 256 channel/group names across the entire response; omitted names are flagged in coverage."
},
"models": {
"type": "array",
"maxItems": 128,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"model_name",
"evidence"
],
"properties": {
"model_name": {
"type": "string",
"maxLength": 255
},
"evidence": {
"type": "object",
"additionalProperties": false,
"required": [
"success_count",
"failure_count",
"state",
"last_observation"
],
"properties": {
"success_count": {
"type": "integer",
"minimum": 0
},
"failure_count": {
"type": "integer",
"minimum": 0
},
"state": {
"type": "string",
"enum": [
"unknown",
"observed_success",
"observed_failure",
"mixed"
]
},
"last_observation": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"created_at",
"outcome",
"http_status",
"reason_code"
],
"properties": {
"created_at": {
"type": "integer",
"minimum": 0
},
"outcome": {
"type": "string",
"enum": [
"success",
"failure",
"mixed"
]
},
"http_status": {
"type": [
"integer",
"null"
],
"minimum": 100,
"maximum": 599
},
"reason_code": {
"type": "string",
"enum": [
"native_consume",
"native_error",
"upstream_auth_rejected",
"upstream_rate_limited",
"upstream_server_error",
"upstream_request_rejected",
"same_timestamp_outcomes"
]
}
}
},
{
"type": "null"
}
]
}
}
}
}
},
"description": "At most 512 channel/model evidence rows across the entire response; omitted rows are flagged in coverage."
},
"evidence": {
"type": "object",
"additionalProperties": false,
"required": [
"success_count",
"failure_count",
"state",
"last_observation"
],
"properties": {
"success_count": {
"type": "integer",
"minimum": 0
},
"failure_count": {
"type": "integer",
"minimum": 0
},
"state": {
"type": "string",
"enum": [
"unknown",
"observed_success",
"observed_failure",
"mixed"
]
},
"last_observation": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"created_at",
"outcome",
"http_status",
"reason_code"
],
"properties": {
"created_at": {
"type": "integer",
"minimum": 0
},
"outcome": {
"type": "string",
"enum": [
"success",
"failure",
"mixed"
]
},
"http_status": {
"type": [
"integer",
"null"
],
"minimum": 100,
"maximum": 599
},
"reason_code": {
"type": "string",
"enum": [
"native_consume",
"native_error",
"upstream_auth_rejected",
"upstream_rate_limited",
"upstream_server_error",
"upstream_request_rejected",
"same_timestamp_outcomes"
]
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
},
"models": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"model_name",
"enabled_route_count",
"backup_presence",
"groups",
"evidence"
],
"properties": {
"model_name": {
"type": "string",
"maxLength": 255
},
"enabled_route_count": {
"type": "integer",
"minimum": 0
},
"backup_presence": {
"type": "string",
"enum": [
"configured",
"not_configured",
"unknown"
]
},
"groups": {
"type": "array",
"maxItems": 32,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"group",
"enabled_route_count",
"backup_presence"
],
"properties": {
"group": {
"type": "string",
"maxLength": 255
},
"enabled_route_count": {
"type": "integer",
"minimum": 0
},
"backup_presence": {
"type": "string",
"enum": [
"configured",
"not_configured",
"unknown"
]
}
}
},
"description": "At most 512 model/group rows across the entire response; omitted rows are flagged in coverage."
},
"evidence": {
"type": "object",
"additionalProperties": false,
"required": [
"success_count",
"failure_count",
"state",
"last_observation"
],
"properties": {
"success_count": {
"type": "integer",
"minimum": 0
},
"failure_count": {
"type": "integer",
"minimum": 0
},
"state": {
"type": "string",
"enum": [
"unknown",
"observed_success",
"observed_failure",
"mixed"
]
},
"last_observation": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"created_at",
"outcome",
"http_status",
"reason_code"
],
"properties": {
"created_at": {
"type": "integer",
"minimum": 0
},
"outcome": {
"type": "string",
"enum": [
"success",
"failure",
"mixed"
]
},
"http_status": {
"type": [
"integer",
"null"
],
"minimum": 100,
"maximum": 599
},
"reason_code": {
"type": "string",
"enum": [
"native_consume",
"native_error",
"upstream_auth_rejected",
"upstream_rate_limited",
"upstream_server_error",
"upstream_request_rejected",
"same_timestamp_outcomes"
]
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
},
"unattributed": {
"type": "object",
"additionalProperties": false,
"required": [
"missing_channel_count",
"missing_model_count"
],
"properties": {
"missing_channel_count": {
"type": "integer",
"minimum": 0
},
"missing_model_count": {
"type": "integer",
"minimum": 0
}
}
}
},
"description": "Serialized data envelope stays below one MiB. Output detail row caps preserve aggregate route counts and report explicit coverage flags."
}
}
}
}
}
}