{
  "openapi": "3.1.0",
  "info": {
    "title": "VideoFreeTier public lookup",
    "version": "1.0.0",
    "description": "Read-only access to dated AI video model free-tier observations. No authentication required. No write operations.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://videofreetier.com"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "lookup",
      "description": "Public read-only data retrieval"
    }
  ],
  "paths": {
    "/api/agent/free-tiers.json": {
      "get": {
        "operationId": "listFreeTierObservations",
        "summary": "List all dated free-tier observations",
        "tags": [
          "lookup"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "All observations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObservationSet"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Observation": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "observed": {
            "type": "string",
            "format": "date"
          },
          "source_type": {
            "type": "string",
            "enum": [
              "vendor",
              "report",
              "single-source"
            ]
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "model",
          "channel",
          "metric",
          "value",
          "observed",
          "source_type"
        ]
      },
      "ObservationSet": {
        "type": "object",
        "properties": {
          "source_url": {
            "type": "string"
          },
          "license": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "channels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Observation"
            }
          }
        }
      }
    }
  }
}
