{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/middle/main/json-schema/middle-post-api-workflow-invoke-pathtoken-runs-response-schema.json",
  "title": "PostApiWorkflowInvokePathtokenRunsResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/middle-openapi-generated.yml#/components/schemas/PostApiWorkflowInvokePathtokenRunsResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Indicates the request succeeded"
    },
    "output": {
      "type": "object",
      "description": "Result returned by the workflow's Return step (type varies)"
    },
    "workflow_report_url": {
      "type": "string",
      "description": "URL to view the workflow execution in Middle"
    },
    "warnings": {
      "type": "array",
      "description": "Optional list of warnings about input handling"
    },
    "error_code": {
      "type": "string",
      "description": "Error code when success is false"
    },
    "error_message": {
      "type": "string",
      "description": "Human‑readable error message"
    }
  }
}