{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-start-run-body-schema.json",
  "title": "StartRunBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agents-fleet-api-openapi.yml#/components/schemas/StartRunBody",
  "properties": {
    "input": {
      "additionalProperties": true,
      "type": "object",
      "title": "Input"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256,
          "minLength": 8
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key"
    },
    "wait": {
      "type": "boolean",
      "title": "Wait",
      "default": false
    },
    "wait_timeout_s": {
      "type": "number",
      "maximum": 30.0,
      "minimum": 0.0,
      "title": "Wait Timeout S",
      "default": 0.0
    },
    "parent_run_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Run Id"
    },
    "root_run_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Root Run Id"
    },
    "handoff_to_agent_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Handoff To Agent Id"
    },
    "handoff_reason": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Handoff Reason"
    }
  },
  "type": "object"
}