{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xenition-com/json-schema/xenition-com-post-chat-completions-request-schema.json",
  "title": "PostChatCompletionsRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/xenition-com-openapi-generated.yml#/components/schemas/PostChatCompletionsRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "description": "The conversation."
    },
    "model": {
      "type": "string",
      "description": "Model name."
    },
    "max_tokens": {
      "type": "integer",
      "description": "Maximum tokens to generate."
    },
    "temperature": {
      "type": "number",
      "description": "Sampling temperature."
    },
    "stream": {
      "type": "boolean",
      "description": "Stream the answer as server‑sent events."
    }
  },
  "required": [
    "messages"
  ]
}