{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/langflow/json-schema/langflow-body-simplified-run-flow-api-v1-run-flow-id-or-name-post-schema.json",
  "title": "Body_simplified_run_flow_api_v1_run__flow_id_or_name__post",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/langflow-base-api-openapi.yml#/components/schemas/Body_simplified_run_flow_api_v1_run__flow_id_or_name__post",
  "properties": {
    "context": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context"
    },
    "input_request": {
      "anyOf": [
        {
          "$ref": "#/$defs/SimplifiedAPIRequest"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "$defs": {
    "SimplifiedAPIRequest": {
      "properties": {
        "input_type": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "text",
                "any"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "chat",
          "description": "The input type",
          "title": "Input Type"
        },
        "input_value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The input value",
          "title": "Input Value"
        },
        "output_component": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "",
          "description": "If there are multiple output components, you can specify the component to get the output from.",
          "title": "Output Component"
        },
        "output_type": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "text",
                "any",
                "debug"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "chat",
          "description": "The output type",
          "title": "Output Type"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The session id",
          "title": "Session Id"
        },
        "tweaks": {
          "anyOf": [
            {
              "$ref": "#/$defs/Tweaks"
            },
            {
              "type": "null"
            }
          ],
          "description": "The tweaks"
        }
      },
      "title": "SimplifiedAPIRequest",
      "type": "object"
    },
    "Tweaks": {
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "additionalProperties": true,
            "type": "object"
          }
        ]
      },
      "description": "A dictionary of tweaks to adjust the flow's execution. Allows customizing flow behavior dynamically. All tweaks are overridden by the input values.",
      "title": "Tweaks",
      "type": "object"
    }
  }
}