{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fintechstudios-com/json-schema/fintechstudios-com-post-generative-generate-request-schema.json",
  "title": "PostGenerativeGenerateRequest",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fintechstudios-com-openapi-generated.yml#/components/schemas/PostGenerativeGenerateRequest",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "The version of the output formatting to use. '0' | '1'."
    },
    "model": {
      "type": "string",
      "description": "The specific model to use for generation."
    },
    "messages": {
      "type": "array",
      "description": "The sequence of messages that form the conversation thread."
    },
    "streaming": {
      "type": "boolean",
      "description": "Indicates whether the response should be streamed in real-time or once when the generation is complete."
    },
    "truncationStrategy": {
      "type": "string",
      "description": "Strategy to use if the conversation exceeds the maximum token length for the chosen model."
    },
    "useDirectArticleURL": {
      "type": "boolean",
      "description": "If true, instructs the model to use the direct URLs to the articles in the response."
    }
  },
  "required": [
    "version",
    "model",
    "messages",
    "streaming"
  ]
}