{
  "openapi": "3.0.3",
  "info": {
    "title": "NEO \u2014 HQ-managed integration API",
    "version": "0.1.0",
    "description": "Installation-specific API. Keys are issued by HQ. Source-derived route coverage; production connection and authorization still required."
  },
  "servers": [
    {
      "url": "https://{deployment}",
      "variables": {
        "deployment": {
          "default": "your-deployment.example"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "HQApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-NexCommand-API-Key"
      }
    }
  },
  "paths": {
    "/api/integration/v1/state": {
      "get": {
        "operationId": "neo_GET_api_state",
        "summary": "GET /api/state",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/state",
        "x-hq-operation": "GET /api/state",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        }
      }
    },
    "/api/integration/v1/connections": {
      "get": {
        "operationId": "neo_GET_api_connections",
        "summary": "GET /api/connections",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/connections",
        "x-hq-operation": "GET /api/connections",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        }
      }
    },
    "/api/integration/v1/health": {
      "get": {
        "operationId": "neo_GET_api_health",
        "summary": "GET /api/health",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/health",
        "x-hq-operation": "GET /api/health",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        }
      }
    },
    "/api/integration/v1/demo/seed": {
      "post": {
        "operationId": "neo_POST_api_demo_seed",
        "summary": "POST /api/demo/seed",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/demo/seed",
        "x-hq-operation": "POST /api/demo/seed",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/demo/quotation": {
      "post": {
        "operationId": "neo_POST_api_demo_quotation",
        "summary": "POST /api/demo/quotation",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/demo/quotation",
        "x-hq-operation": "POST /api/demo/quotation",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/review": {
      "post": {
        "operationId": "neo_POST_api_review",
        "summary": "POST /api/review",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/review",
        "x-hq-operation": "POST /api/review",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/chat": {
      "post": {
        "operationId": "neo_POST_api_chat",
        "summary": "POST /api/chat",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/chat",
        "x-hq-operation": "POST /api/chat",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/chat/stream": {
      "post": {
        "operationId": "neo_POST_api_chat_stream",
        "summary": "POST /api/chat/stream",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/chat/stream",
        "x-hq-operation": "POST /api/chat/stream",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/staging/search": {
      "post": {
        "operationId": "neo_POST_api_staging_search",
        "summary": "POST /api/staging/search",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/staging/search",
        "x-hq-operation": "POST /api/staging/search",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/staging/quotation": {
      "post": {
        "operationId": "neo_POST_api_staging_quotation",
        "summary": "POST /api/staging/quotation",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/staging/quotation",
        "x-hq-operation": "POST /api/staging/quotation",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/speech/synthesize": {
      "post": {
        "operationId": "neo_POST_api_speech_synthesize",
        "summary": "POST /api/speech/synthesize",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/speech/synthesize",
        "x-hq-operation": "POST /api/speech/synthesize",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/integration/v1/speech/transcribe": {
      "post": {
        "operationId": "neo_POST_api_speech_transcribe",
        "summary": "POST /api/speech/transcribe",
        "security": [
          {
            "HQApiKey": []
          }
        ],
        "x-native-path": "/api/speech/transcribe",
        "x-hq-operation": "POST /api/speech/transcribe",
        "description": "HQ key plus native product authorization is required. Request and response formats follow the linked native implementation. Runtime validation remains authoritative.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Native operation result; may be JSON, binary or a documented stream."
          },
          "401": {
            "description": "Invalid, expired or revoked key, or native login required."
          },
          "403": {
            "description": "HQ scope, local identity or native permission denied."
          },
          "429": {
            "description": "Rate limit exceeded."
          },
          "503": {
            "description": "HQ verification or the product is unavailable; fail closed."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    }
  }
}