{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/langflow/json-schema/langflow-open-airesponses-request-schema.json",
  "title": "OpenAIResponsesRequest",
  "description": "OpenAI-compatible responses request with flow_id as model parameter.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/langflow-openai-responses-api-api-openapi.yml#/components/schemas/OpenAIResponsesRequest",
  "properties": {
    "background": {
      "default": false,
      "description": "Whether to process in background",
      "title": "Background",
      "type": "boolean"
    },
    "include": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "description": "Additional response data to include, e.g., ['tool_call.results']",
      "title": "Include"
    },
    "input": {
      "description": "The input text to process",
      "title": "Input",
      "type": "string"
    },
    "model": {
      "description": "The flow ID to execute (used instead of OpenAI model)",
      "title": "Model",
      "type": "string"
    },
    "previous_response_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "ID of previous response to continue conversation",
      "title": "Previous Response Id"
    },
    "stream": {
      "default": false,
      "description": "Whether to stream the response",
      "title": "Stream",
      "type": "boolean"
    },
    "tools": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "description": "Tools are not supported yet",
      "title": "Tools"
    }
  },
  "required": [
    "model",
    "input"
  ],
  "type": "object"
}