{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsurface-dev/json-schema/agentsurface-dev-post-responses-request-schema.json",
  "title": "PostResponsesRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/agentsurface-dev-docs-openapi-generated.yml#/components/schemas/PostResponsesRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model to use for the response."
    },
    "input": {
      "type": "array",
      "description": "Array of input items (messages, tool calls, etc.)."
    },
    "store": {
      "type": "boolean",
      "description": "Whether to store the response."
    },
    "context_management": {
      "type": "array",
      "description": "Array containing a compaction object with type \"compaction\" and compact_threshold."
    }
  },
  "required": [
    "model",
    "input"
  ]
}