{
  "components": {
    "responses": {
      "errors": {
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "$ref": "#/components/schemas/errors"
            }
          }
        },
        "description": "General Error"
      }
    },
    "schemas": {
      "step-template": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a step-template",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a step-template",
            "properties": {
              "canvas_schema": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "canvas_visible": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "category": {
                "description": "Field included by default.",
                "items": {
                  "enum": [
                    "start",
                    "understand",
                    "fetch",
                    "transform",
                    "decide",
                    "check",
                    "act"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "default_config": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "description": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "docs": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "icon": {
                "type": "string"
              },
              "icon_color": {
                "type": "string"
              },
              "name": {
                "description": "Field included by default.",
                "type": "string"
              },
              "output_schema": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "ports": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "slug": {
                "description": "Field included by default.",
                "type": "string"
              },
              "sort_order": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              }
            },
            "required": [
              "name",
              "slug",
              "category",
              "icon",
              "icon_color"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a step-template",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "step-template-filter-sort_order": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "execution-filter-workflow_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "step-template-filter-docs": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "workflow-filter-ai_auto_probe": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "boolean"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "boolean"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "execution-filter-updated_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "step-template-filter-canvas_schema": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "step-template-filter-ports": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-step": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a execution-step",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a execution-step",
            "properties": {
              "attempt": {
                "description": "Field included by default.",
                "type": "integer"
              },
              "awaiting_workflow_execution_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "error": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "finished_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "input": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ]
              },
              "inserted_at": {
                "description": "Field included by default."
              },
              "iter_index": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "kind": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "loop_node_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "memory_bytes": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "node_id": {
                "description": "Field included by default.",
                "type": "string"
              },
              "output": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ]
              },
              "output_bytes": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "provider": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "reductions": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resume_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ]
              },
              "started_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "status": {
                "description": "Field included by default.",
                "enum": [
                  "pending",
                  "running",
                  "completed",
                  "failed",
                  "skipped",
                  "waiting"
                ],
                "type": "string"
              },
              "updated_at": {},
              "workflow_execution_id": {
                "format": "uuid",
                "type": "string"
              },
              "workflow_step_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "node_id",
              "status",
              "attempt",
              "inserted_at",
              "updated_at",
              "workflow_execution_id"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a execution-step",
            "properties": {
              "workflow_execution": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for workflow_execution",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "links": {
        "additionalProperties": {
          "$ref": "#/components/schemas/link"
        },
        "type": "object"
      },
      "step-template-filter-output_schema": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-memory_bytes": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "execution-step-filter-provider": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-awaiting_workflow_execution_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-kind": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "workflow-filter-name": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-status": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "pending",
              "running",
              "waiting",
              "completed",
              "failed",
              "cancelled"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-node_id": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-step_count": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "step-template-filter-icon_color": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "workflow-filter-user_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-finished_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "step-template-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "workflow-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-reductions": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "execution-step-filter-iter_index": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "execution-filter-triggered_by_step_id": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-user_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-inserted_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "link": {
        "description": "A link MUST be represented as either: a string containing the link's URL or a link object.",
        "type": "string"
      },
      "step-template-filter-canvas_visible": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "boolean"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "boolean"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "workflow": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a workflow",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a workflow",
            "properties": {
              "ai_auto_probe": {
                "description": "Field included by default.",
                "type": "boolean"
              },
              "build_mode": {
                "enum": [
                  "guided",
                  "advanced"
                ],
                "type": "string"
              },
              "build_prompt": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "graph": {
                "type": "object"
              },
              "name": {
                "description": "Field included by default.",
                "type": "string"
              },
              "status": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "user_id": {
                "format": "uuid",
                "type": "string"
              },
              "workspace_id": {
                "format": "uuid",
                "type": "string"
              }
            },
            "required": [
              "name",
              "ai_auto_probe",
              "build_mode",
              "graph",
              "user_id",
              "workspace_id"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a workflow",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "workflow-filter-build_mode": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "guided",
              "advanced"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/execution-step-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "attempt": {
            "$ref": "#/components/schemas/execution-step-filter-attempt"
          },
          "awaiting_workflow_execution_id": {
            "$ref": "#/components/schemas/execution-step-filter-awaiting_workflow_execution_id"
          },
          "duration_ms": {
            "$ref": "#/components/schemas/execution-step-filter-duration_ms"
          },
          "error": {
            "$ref": "#/components/schemas/execution-step-filter-error"
          },
          "finished_at": {
            "$ref": "#/components/schemas/execution-step-filter-finished_at"
          },
          "id": {
            "$ref": "#/components/schemas/execution-step-filter-id"
          },
          "input": {
            "$ref": "#/components/schemas/execution-step-filter-input"
          },
          "inserted_at": {
            "$ref": "#/components/schemas/execution-step-filter-inserted_at"
          },
          "iter_index": {
            "$ref": "#/components/schemas/execution-step-filter-iter_index"
          },
          "kind": {
            "$ref": "#/components/schemas/execution-step-filter-kind"
          },
          "loop_node_id": {
            "$ref": "#/components/schemas/execution-step-filter-loop_node_id"
          },
          "memory_bytes": {
            "$ref": "#/components/schemas/execution-step-filter-memory_bytes"
          },
          "node_id": {
            "$ref": "#/components/schemas/execution-step-filter-node_id"
          },
          "not": {
            "$ref": "#/components/schemas/execution-step-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/execution-step-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "output": {
            "$ref": "#/components/schemas/execution-step-filter-output"
          },
          "output_bytes": {
            "$ref": "#/components/schemas/execution-step-filter-output_bytes"
          },
          "provider": {
            "$ref": "#/components/schemas/execution-step-filter-provider"
          },
          "reductions": {
            "$ref": "#/components/schemas/execution-step-filter-reductions"
          },
          "resume_at": {
            "$ref": "#/components/schemas/execution-step-filter-resume_at"
          },
          "started_at": {
            "$ref": "#/components/schemas/execution-step-filter-started_at"
          },
          "status": {
            "$ref": "#/components/schemas/execution-step-filter-status"
          },
          "updated_at": {
            "$ref": "#/components/schemas/execution-step-filter-updated_at"
          },
          "workflow_execution": {
            "$ref": "#/components/schemas/execution-filter"
          },
          "workflow_execution_id": {
            "$ref": "#/components/schemas/execution-step-filter-workflow_execution_id"
          },
          "workflow_step_id": {
            "$ref": "#/components/schemas/execution-step-filter-workflow_step_id"
          }
        },
        "type": "deepObject"
      },
      "execution-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/execution-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "context": {
            "$ref": "#/components/schemas/execution-filter-context"
          },
          "error": {
            "$ref": "#/components/schemas/execution-filter-error"
          },
          "finished_at": {
            "$ref": "#/components/schemas/execution-filter-finished_at"
          },
          "id": {
            "$ref": "#/components/schemas/execution-filter-id"
          },
          "inputs": {
            "$ref": "#/components/schemas/execution-filter-inputs"
          },
          "inserted_at": {
            "$ref": "#/components/schemas/execution-filter-inserted_at"
          },
          "not": {
            "$ref": "#/components/schemas/execution-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/execution-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "output": {
            "$ref": "#/components/schemas/execution-filter-output"
          },
          "started_at": {
            "$ref": "#/components/schemas/execution-filter-started_at"
          },
          "status": {
            "$ref": "#/components/schemas/execution-filter-status"
          },
          "step_count": {
            "$ref": "#/components/schemas/execution-filter-step_count"
          },
          "triggered_by_step_id": {
            "$ref": "#/components/schemas/execution-filter-triggered_by_step_id"
          },
          "updated_at": {
            "$ref": "#/components/schemas/execution-filter-updated_at"
          },
          "user_id": {
            "$ref": "#/components/schemas/execution-filter-user_id"
          },
          "workflow": {
            "$ref": "#/components/schemas/workflow-filter"
          },
          "workflow_id": {
            "$ref": "#/components/schemas/execution-filter-workflow_id"
          },
          "workflow_snapshot_id": {
            "$ref": "#/components/schemas/execution-filter-workflow_snapshot_id"
          },
          "workspace_id": {
            "$ref": "#/components/schemas/execution-filter-workspace_id"
          }
        },
        "type": "deepObject"
      },
      "execution-step-filter-workflow_step_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-context": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-step-filter-error": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-step-filter-workflow_execution_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a execution",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a execution",
            "properties": {
              "context": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "finished_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "inputs": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "inserted_at": {
                "description": "Field included by default."
              },
              "output": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "started_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "status": {
                "description": "Field included by default.",
                "enum": [
                  "pending",
                  "running",
                  "waiting",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "step_count": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "triggered_by_step_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Field included by default."
              },
              "updated_at": {},
              "user_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workflow_id": {
                "description": "Field included by default.",
                "format": "uuid",
                "type": "string"
              },
              "workflow_snapshot_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workspace_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "status",
              "inserted_at",
              "updated_at",
              "workflow_id"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a execution",
            "properties": {
              "workflow": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for workflow",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "workflow-filter-workspace_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "error": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "An application-specific error code, expressed as a string value.",
            "type": "string"
          },
          "detail": {
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "type": "string"
          },
          "id": {
            "description": "A unique identifier for this particular occurrence of the problem.",
            "type": "string"
          },
          "links": {
            "$ref": "#/components/schemas/links"
          },
          "source": {
            "properties": {
              "parameter": {
                "description": "A string indicating which query parameter caused the error.",
                "type": "string"
              },
              "pointer": {
                "description": "A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. \"/data\" for a primary data object, or \"/data/attributes/title\" for a specific attribute].",
                "type": "string"
              }
            },
            "type": "object"
          },
          "status": {
            "description": "The HTTP status code applicable to this problem, expressed as a string value.",
            "type": "string"
          },
          "title": {
            "description": "A short, human-readable summary of the problem. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-error": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-filter-finished_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "execution-filter-inputs": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-step-filter-updated_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "step-template-filter-slug": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "errors": {
        "items": {
          "$ref": "#/components/schemas/error"
        },
        "type": "array",
        "uniqueItems": true
      },
      "execution-step-filter-started_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "execution-step-filter-attempt": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "execution-step-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-started_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "execution-step-filter-output": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "execution-step-filter-status": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped",
              "waiting"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-inserted_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "workflow-filter-build_prompt": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "step-template-filter-name": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-workflow_snapshot_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-duration_ms": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "workflow-filter-graph": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-step-filter-loop_node_id": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-resume_at": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "step-template-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/step-template-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "canvas_schema": {
            "$ref": "#/components/schemas/step-template-filter-canvas_schema"
          },
          "canvas_visible": {
            "$ref": "#/components/schemas/step-template-filter-canvas_visible"
          },
          "default_config": {
            "$ref": "#/components/schemas/step-template-filter-default_config"
          },
          "description": {
            "$ref": "#/components/schemas/step-template-filter-description"
          },
          "docs": {
            "$ref": "#/components/schemas/step-template-filter-docs"
          },
          "icon": {
            "$ref": "#/components/schemas/step-template-filter-icon"
          },
          "icon_color": {
            "$ref": "#/components/schemas/step-template-filter-icon_color"
          },
          "id": {
            "$ref": "#/components/schemas/step-template-filter-id"
          },
          "name": {
            "$ref": "#/components/schemas/step-template-filter-name"
          },
          "not": {
            "$ref": "#/components/schemas/step-template-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/step-template-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "output_schema": {
            "$ref": "#/components/schemas/step-template-filter-output_schema"
          },
          "ports": {
            "$ref": "#/components/schemas/step-template-filter-ports"
          },
          "slug": {
            "$ref": "#/components/schemas/step-template-filter-slug"
          },
          "sort_order": {
            "$ref": "#/components/schemas/step-template-filter-sort_order"
          }
        },
        "type": "deepObject"
      },
      "execution-step-filter-output_bytes": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "integer"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "integer"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "workflow-filter-status": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "step-template-filter-default_config": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "execution-filter-output": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "object"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "object"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "step-template-filter-description": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-filter-workspace_id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "format": "uuid",
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "workflow-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "ai_auto_probe": {
            "$ref": "#/components/schemas/workflow-filter-ai_auto_probe"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/workflow-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "build_mode": {
            "$ref": "#/components/schemas/workflow-filter-build_mode"
          },
          "build_prompt": {
            "$ref": "#/components/schemas/workflow-filter-build_prompt"
          },
          "graph": {
            "$ref": "#/components/schemas/workflow-filter-graph"
          },
          "id": {
            "$ref": "#/components/schemas/workflow-filter-id"
          },
          "name": {
            "$ref": "#/components/schemas/workflow-filter-name"
          },
          "not": {
            "$ref": "#/components/schemas/workflow-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/workflow-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "status": {
            "$ref": "#/components/schemas/workflow-filter-status"
          },
          "user_id": {
            "$ref": "#/components/schemas/workflow-filter-user_id"
          },
          "workspace_id": {
            "$ref": "#/components/schemas/workflow-filter-workspace_id"
          }
        },
        "type": "deepObject"
      },
      "step-template-filter-icon": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          },
          "string_ends_with": {
            "type": "string"
          },
          "string_starts_with": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "execution-step-filter-input": {
        "additionalProperties": false,
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {},
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {},
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "opaque",
        "description": "Opaque `mmx_` API token — mint one in Settings → developer. Same token drives the MCP endpoint.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "MadMax REST API",
    "version": "1.0.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/v1/executions": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Executions across the token's workspace, newest first.",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/execution-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|status|-status|\\+\\+status|--status|inputs|-inputs|\\+\\+inputs|--inputs|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|context|-context|\\+\\+context|--context|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|triggered_by_step_id|-triggered_by_step_id|\\+\\+triggered_by_step_id|--triggered_by_step_id|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|user_id|-user_id|\\+\\+user_id|--user_id|workflow_id|-workflow_id|\\+\\+workflow_id|--workflow_id|workflow_snapshot_id|-workflow_snapshot_id|\\+\\+workflow_snapshot_id|--workflow_snapshot_id|step_count|-step_count|\\+\\+step_count|--step_count)(,(id|-id|\\+\\+id|--id|status|-status|\\+\\+status|--status|inputs|-inputs|\\+\\+inputs|--inputs|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|context|-context|\\+\\+context|--context|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|triggered_by_step_id|-triggered_by_step_id|\\+\\+triggered_by_step_id|--triggered_by_step_id|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|user_id|-user_id|\\+\\+user_id|--user_id|workflow_id|-workflow_id|\\+\\+workflow_id|--workflow_id|workflow_snapshot_id|-workflow_snapshot_id|\\+\\+workflow_snapshot_id|--workflow_snapshot_id|step_count|-step_count|\\+\\+step_count|--step_count))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "execution": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at"
              },
              "properties": {
                "execution": {
                  "description": "Comma separated field names for execution",
                  "example": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a execution",
                      "items": {
                        "$ref": "#/components/schemas/execution"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "execution"
        ]
      }
    },
    "/api/v1/executions/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "One execution by id, pinned-workspace only.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "execution": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at"
              },
              "properties": {
                "execution": {
                  "description": "Comma separated field names for execution",
                  "example": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/execution"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "execution"
        ]
      }
    },
    "/api/v1/executions/{id}/cancel": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Terminal stop for a pending/running/waiting execution — flips\nthe row to :cancelled and kills the underlying Oban jobs (same\npath as the canvas Stop button). Fail-closed: the execution is\nre-fetched under the actor + pinned-workspace lens first.\n",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "execution"
        ]
      }
    },
    "/api/v1/executions/{workflow_execution_id}/steps": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/executions/:workflow_execution_id/steps operation on execution-step resource",
        "parameters": [
          {
            "in": "path",
            "name": "workflow_execution_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/execution-step-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|node_id|-node_id|\\+\\+node_id|--node_id|status|-status|\\+\\+status|--status|attempt|-attempt|\\+\\+attempt|--attempt|input|-input|\\+\\+input|--input|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|resume_at|-resume_at|\\+\\+resume_at|--resume_at|awaiting_workflow_execution_id|-awaiting_workflow_execution_id|\\+\\+awaiting_workflow_execution_id|--awaiting_workflow_execution_id|loop_node_id|-loop_node_id|\\+\\+loop_node_id|--loop_node_id|iter_index|-iter_index|\\+\\+iter_index|--iter_index|kind|-kind|\\+\\+kind|--kind|provider|-provider|\\+\\+provider|--provider|reductions|-reductions|\\+\\+reductions|--reductions|memory_bytes|-memory_bytes|\\+\\+memory_bytes|--memory_bytes|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|output_bytes|-output_bytes|\\+\\+output_bytes|--output_bytes|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workflow_execution_id|-workflow_execution_id|\\+\\+workflow_execution_id|--workflow_execution_id|workflow_step_id|-workflow_step_id|\\+\\+workflow_step_id|--workflow_step_id)(,(id|-id|\\+\\+id|--id|node_id|-node_id|\\+\\+node_id|--node_id|status|-status|\\+\\+status|--status|attempt|-attempt|\\+\\+attempt|--attempt|input|-input|\\+\\+input|--input|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|resume_at|-resume_at|\\+\\+resume_at|--resume_at|awaiting_workflow_execution_id|-awaiting_workflow_execution_id|\\+\\+awaiting_workflow_execution_id|--awaiting_workflow_execution_id|loop_node_id|-loop_node_id|\\+\\+loop_node_id|--loop_node_id|iter_index|-iter_index|\\+\\+iter_index|--iter_index|kind|-kind|\\+\\+kind|--kind|provider|-provider|\\+\\+provider|--provider|reductions|-reductions|\\+\\+reductions|--reductions|memory_bytes|-memory_bytes|\\+\\+memory_bytes|--memory_bytes|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|output_bytes|-output_bytes|\\+\\+output_bytes|--output_bytes|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workflow_execution_id|-workflow_execution_id|\\+\\+workflow_execution_id|--workflow_execution_id|workflow_step_id|-workflow_step_id|\\+\\+workflow_step_id|--workflow_step_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 100
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "execution-step": "node_id,status,attempt,kind,provider,started_at,finished_at,duration_ms,loop_node_id,iter_index,inserted_at"
              },
              "properties": {
                "execution-step": {
                  "description": "Comma separated field names for execution-step",
                  "example": "node_id,status,attempt,kind,provider,started_at,finished_at,duration_ms,loop_node_id,iter_index,inserted_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a execution-step",
                      "items": {
                        "$ref": "#/components/schemas/execution-step"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "execution-step"
        ]
      }
    },
    "/api/v1/step-templates": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Globally readable. Sorts by `sort_order` so the catalog\nrenders in the same order as the canvas palette.\n",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/step-template-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|slug|-slug|\\+\\+slug|--slug|description|-description|\\+\\+description|--description|icon|-icon|\\+\\+icon|--icon|icon_color|-icon_color|\\+\\+icon_color|--icon_color|ports|-ports|\\+\\+ports|--ports|canvas_schema|-canvas_schema|\\+\\+canvas_schema|--canvas_schema|default_config|-default_config|\\+\\+default_config|--default_config|docs|-docs|\\+\\+docs|--docs|output_schema|-output_schema|\\+\\+output_schema|--output_schema|sort_order|-sort_order|\\+\\+sort_order|--sort_order|canvas_visible|-canvas_visible|\\+\\+canvas_visible|--canvas_visible)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|slug|-slug|\\+\\+slug|--slug|description|-description|\\+\\+description|--description|icon|-icon|\\+\\+icon|--icon|icon_color|-icon_color|\\+\\+icon_color|--icon_color|ports|-ports|\\+\\+ports|--ports|canvas_schema|-canvas_schema|\\+\\+canvas_schema|--canvas_schema|default_config|-default_config|\\+\\+default_config|--default_config|docs|-docs|\\+\\+docs|--docs|output_schema|-output_schema|\\+\\+output_schema|--output_schema|sort_order|-sort_order|\\+\\+sort_order|--sort_order|canvas_visible|-canvas_visible|\\+\\+canvas_visible|--canvas_visible))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "step-template": "name,slug,category,description,docs,output_schema,default_config,canvas_schema,ports,canvas_visible,sort_order"
              },
              "properties": {
                "step-template": {
                  "description": "Comma separated field names for step-template",
                  "example": "name,slug,category,description,docs,output_schema,default_config,canvas_schema,ports,canvas_visible,sort_order",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a step-template",
                      "items": {
                        "$ref": "#/components/schemas/step-template"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "step-template"
        ]
      }
    },
    "/api/v1/workflows": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Workflows in the token's workspace, newest first.",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/workflow-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|ai_auto_probe|-ai_auto_probe|\\+\\+ai_auto_probe|--ai_auto_probe|build_mode|-build_mode|\\+\\+build_mode|--build_mode|build_prompt|-build_prompt|\\+\\+build_prompt|--build_prompt|graph|-graph|\\+\\+graph|--graph|user_id|-user_id|\\+\\+user_id|--user_id|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|status|-status|\\+\\+status|--status)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|ai_auto_probe|-ai_auto_probe|\\+\\+ai_auto_probe|--ai_auto_probe|build_mode|-build_mode|\\+\\+build_mode|--build_mode|build_prompt|-build_prompt|\\+\\+build_prompt|--build_prompt|graph|-graph|\\+\\+graph|--graph|user_id|-user_id|\\+\\+user_id|--user_id|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|status|-status|\\+\\+status|--status))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "workflow": "name,status,ai_auto_probe,inserted_at,updated_at"
              },
              "properties": {
                "workflow": {
                  "description": "Comma separated field names for workflow",
                  "example": "name,status,ai_auto_probe,inserted_at,updated_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a workflow",
                      "items": {
                        "$ref": "#/components/schemas/workflow"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Create a workflow — bare (name only) or from a document: a\nmadmax/v1 export, an n8n export, or a bare {nodes, edges}\ngraph. Returns a summary + placeholder/requirement report for\ndocument imports.\n",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "document": {
                        "anyOf": [
                          {
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /workflows operation on workflow resource",
          "required": false
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}": {
      "delete": {
        "callbacks": {},
        "deprecated": false,
        "description": "/workflows/:id operation on workflow resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "workflow": "name,status,ai_auto_probe,inserted_at,updated_at"
              },
              "properties": {
                "workflow": {
                  "description": "Comma separated field names for workflow",
                  "example": "name,status,ai_auto_probe,inserted_at,updated_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "description": "Deleted successfully"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      },
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "One workflow by id, pinned-workspace only.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "workflow": "name,status,ai_auto_probe,inserted_at,updated_at"
              },
              "properties": {
                "workflow": {
                  "description": "Comma separated field names for workflow",
                  "example": "name,status,ai_auto_probe,inserted_at,updated_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/workflow"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      },
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Rename / toggle auto-probe. Nothing else is PATCHable.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "workflow": "name,status,ai_auto_probe,inserted_at,updated_at"
              },
              "properties": {
                "workflow": {
                  "description": "Comma separated field names for workflow",
                  "example": "name,status,ai_auto_probe,inserted_at,updated_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "ai_auto_probe": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "workflow"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /workflows/:id operation on workflow resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/workflow"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/activate": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Freeze the canvas into a snapshot and start firing triggers.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/deactivate": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Stop firing triggers; the snapshot survives for audit.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/duplicate": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Copy into the same workspace as \"<name> (copy)\"; connection bindings reset.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/export": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "The workflow as a portable madmax/v1 document (env ids stripped).",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/graph": {
      "put": {
        "callbacks": {},
        "deprecated": false,
        "description": "Replace the live canvas graph (same write path as autosave).",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "graph": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "graph"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /workflows/:id/graph operation on workflow resource",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{id}/run": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Execute now. Active workflows run their pinned snapshot; draft: true runs the live canvas.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "draft": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /workflows/:id/run operation on workflow resource",
          "required": false
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "workflow"
        ]
      }
    },
    "/api/v1/workflows/{workflow_id}/executions": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Executions for one workflow, newest first, pinned-workspace only.",
        "parameters": [
          {
            "in": "path",
            "name": "workflow_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/execution-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|status|-status|\\+\\+status|--status|inputs|-inputs|\\+\\+inputs|--inputs|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|context|-context|\\+\\+context|--context|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|triggered_by_step_id|-triggered_by_step_id|\\+\\+triggered_by_step_id|--triggered_by_step_id|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|user_id|-user_id|\\+\\+user_id|--user_id|workflow_id|-workflow_id|\\+\\+workflow_id|--workflow_id|workflow_snapshot_id|-workflow_snapshot_id|\\+\\+workflow_snapshot_id|--workflow_snapshot_id|step_count|-step_count|\\+\\+step_count|--step_count)(,(id|-id|\\+\\+id|--id|status|-status|\\+\\+status|--status|inputs|-inputs|\\+\\+inputs|--inputs|output|-output|\\+\\+output|--output|error|-error|\\+\\+error|--error|context|-context|\\+\\+context|--context|started_at|-started_at|\\+\\+started_at|--started_at|finished_at|-finished_at|\\+\\+finished_at|--finished_at|triggered_by_step_id|-triggered_by_step_id|\\+\\+triggered_by_step_id|--triggered_by_step_id|inserted_at|-inserted_at|\\+\\+inserted_at|--inserted_at|updated_at|-updated_at|\\+\\+updated_at|--updated_at|workspace_id|-workspace_id|\\+\\+workspace_id|--workspace_id|user_id|-user_id|\\+\\+user_id|--user_id|workflow_id|-workflow_id|\\+\\+workflow_id|--workflow_id|workflow_snapshot_id|-workflow_snapshot_id|\\+\\+workflow_snapshot_id|--workflow_snapshot_id|step_count|-step_count|\\+\\+step_count|--step_count))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "execution": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at"
              },
              "properties": {
                "execution": {
                  "description": "Comma separated field names for execution",
                  "example": "status,started_at,finished_at,triggered_by_step_id,workflow_id,inserted_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a execution",
                      "items": {
                        "$ref": "#/components/schemas/execution"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "execution"
        ]
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [],
  "tags": []
}