{
  "openapi": "3.1.0",
  "info": {
    "title": "haloqwen-output-guard — Chutes API",
    "description": "HaloQwen Output Guard",
    "version": "96b2a704-c564-5f3c-ad82-f6b7f4bf9ee3",
    "contact": {
      "name": "Chutes",
      "url": "https://chutes.ai"
    },
    "x-chutes": {
      "chuteId": "ddf6a658-c408-5651-9e12-4e12a5ad1a03",
      "slug": "astroboi-haloqwen-output-guard",
      "modelName": "haloqwen-output-guard",
      "standardTemplate": null,
      "openaiCompatible": false,
      "confidentialCompute": true,
      "modelPage": "https://chutes.ai/app/chute/astroboi-haloqwen-output-guard",
      "llmsTxt": "https://chutes.ai/app/chute/astroboi-haloqwen-output-guard/llms.txt",
      "pricing": {
        "usdPerHour": 0.2
      }
    }
  },
  "servers": [
    {
      "url": "https://astroboi-haloqwen-output-guard.chutes.ai"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Chutes API key. Send as `Authorization: Bearer $CHUTES_API_KEY`."
      }
    }
  },
  "paths": {
    "/v1/classify": {
      "post": {
        "operationId": "classify",
        "summary": "POST /v1/classify",
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "model": {
                    "type": "string",
                    "default": null
                  },
                  "query": {
                    "type": "string",
                    "default": null
                  },
                  "messages": {
                    "type": "array",
                    "default": null,
                    "items": {
                      "type": "object"
                    }
                  }
                }
              },
              "example": {
                "model": "haloqwen-output-guard",
                "query": "Your text here",
                "messages": [
                  {
                    "role": "user",
                    "content": "Hello!"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/chat/completions": {
      "post": {
        "operationId": "chat_completions",
        "summary": "POST /v1/chat/completions",
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "model": {
                    "type": "string",
                    "default": null
                  },
                  "query": {
                    "type": "string",
                    "default": null
                  },
                  "messages": {
                    "type": "array",
                    "default": null,
                    "items": {
                      "type": "object"
                    }
                  }
                }
              },
              "example": {
                "model": "haloqwen-output-guard",
                "query": "Your text here",
                "messages": [
                  {
                    "role": "user",
                    "content": "Hello!"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/health": {
      "post": {
        "operationId": "health",
        "summary": "POST /health",
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "example": {}
            }
          }
        }
      }
    }
  }
}