{
  "openapi": "3.1.0",
  "info": {
    "title": "UNITIQX ORBIT Bounded Public Job API",
    "version": "1.0.0",
    "description": "Actual 5-recipe request queue. Not a general shell, commercial model provider or factory production approval endpoint."
  },
  "servers": [
    {
      "url": "https://2-24-196-15.sslip.io"
    }
  ],
  "paths": {
    "/orbit/api/meta": {
      "get": {
        "summary": "Read public queue metadata",
        "responses": {
          "200": {
            "description": "Current aggregate queue and worker slots"
          }
        }
      }
    },
    "/orbit/api/requests": {
      "post": {
        "summary": "Submit one quota-limited approved recipe",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "kind",
                  "prompt"
                ],
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "question_pack",
                      "transport_query",
                      "site_audit",
                      "benchmark",
                      "video_intake"
                    ]
                  },
                  "prompt": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 420
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Queued durable job with random unguessable ID"
          },
          "400": {
            "description": "Invalid recipe or input"
          },
          "403": {
            "description": "Same-origin request required"
          },
          "413": {
            "description": "Oversized body"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/orbit/api/jobs/{job_id}": {
      "get": {
        "summary": "Read one random-ID receipt",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-f]{32}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Queued/running/completed/failed status and bounded result"
          },
          "404": {
            "description": "Unknown job"
          }
        }
      }
    }
  },
  "x-unitiqx-constraints": {
    "workers": 3,
    "model_inference_slots": 1,
    "public_jobs_daily_max": 48,
    "untrusted_code_execution": false,
    "automatic_public_production_publishing": false,
    "browser_security": "Same-origin POST requests; overall quotas; no unbounded arbitrary external tool calls"
  }
}
