{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/concentrate/json-schema/concentrate-post-v1-messages-request-schema.json",
  "title": "PostV1MessagesRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/concentrate-openapi-generated.yml#/components/schemas/PostV1MessagesRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "object",
      "description": "Minimum array length: 1"
    },
    "max_tokens": {
      "type": "integer",
      "description": "Required range: 0 <= x <= 9007199254740991"
    },
    "model": {
      "type": "string",
      "description": "Model identifier. Use /v1/models to list all available models. Supports canonical names (e.g. gpt-5.2, claude-opus-4-6), aliases, and provider-prefixed formats (e.g. openai/gpt-5.2). Use \"auto\" for automatic model selection."
    },
    "provider": {
      "type": "string"
    },
    "cache_control": {
      "type": "object",
      "description": "Cache control settings for explicit prompt caching of this content."
    },
    "compaction": {
      "type": "object"
    },
    "container": {
      "type": "object"
    },
    "context_management": {
      "type": "object"
    },
    "diagnostics": {
      "type": "object"
    },
    "fallback_credit_token": {
      "type": "string"
    },
    "fallbacks": {
      "type": "object"
    },
    "mcp_servers": {
      "type": "object"
    },
    "metadata": {
      "type": "object"
    },
    "output_config": {
      "type": "object"
    },
    "output_format": {
      "type": "object"
    },
    "safeguards": {
      "type": "object"
    },
    "stream": {
      "type": "boolean"
    },
    "system": {
      "type": "string"
    },
    "temperature": {
      "type": "number",
      "description": "Required range: 0 <= x <= 1"
    },
    "thinking": {
      "type": "object"
    },
    "tool_choice": {
      "type": "object"
    },
    "tools": {
      "type": "object"
    },
    "top_p": {
      "type": "number"
    },
    "inference_geo": {
      "type": "string"
    },
    "service_tier": {
      "type": "string"
    },
    "stop_sequences": {
      "type": "string"
    },
    "top_k": {
      "type": "integer"
    },
    "routing": {
      "type": "object"
    }
  },
  "required": [
    "messages",
    "max_tokens",
    "model"
  ]
}