{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/getdynamiq/main/json-schema/getdynamiq-post-v1-runs-request-schema.json",
  "title": "PostV1RunsRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getdynamiq-platform-openapi-generated.yml#/components/schemas/PostV1RunsRequest",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "description": "Workflow input – keys match your workflow's Input node fields"
    },
    "stream": {
      "type": "boolean",
      "description": "true returns the run as a Server‑Sent Events stream"
    },
    "background": {
      "type": "boolean",
      "description": "true returns 202 immediately with the run id"
    },
    "file_ids": {
      "type": "array",
      "description": "IDs of files previously uploaded via POST /v1/files"
    },
    "user_id": {
      "type": "string",
      "description": "Your identifier for the end user"
    },
    "session_id": {
      "type": "string",
      "description": "Conversation session ID (UUID)"
    }
  },
  "required": [
    "input"
  ]
}