{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/topxea-com/json-schema/topxea-com-responses-request-schema.json",
  "title": "ResponsesRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai.topxea.com-openapi.json#/components/schemas/ResponsesRequest",
  "type": "object",
  "required": [
    "model",
    "input"
  ],
  "properties": {
    "model": {
      "type": "string",
      "enum": [
        "gpt-6-astra",
        "gpt-6.1-sol",
        "grok-4.7",
        "kimi-k3.1-pro",
        "deepseek-flash-Abliterated"
      ]
    },
    "input": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      ]
    },
    "instructions": {
      "type": "string",
      "description": "The system prompt. When it is missing or blank, input has no system or developer item and no stored prompt is named, gpt-6-astra and gpt-6.1-sol are sent \"You are a helpful assistant.\" so the provider does not add its own longer prompt; the answer still echoes the value the request sent."
    },
    "stream": {
      "type": "boolean"
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "reasoning": {
      "type": "object",
      "additionalProperties": true
    },
    "max_output_tokens": {
      "type": "integer"
    }
  },
  "additionalProperties": true
}