Workflows

Workflow management operations

Workflow management operations

List workflows

List workflows with cursor pagination, optional prefix search, field selection, or expansion.

GET
/workflows

Query Parameters

project?string

Project override

limit?integer

Page size (max 500)

cursor?string

Opaque pagination cursor

q?string

Filter by workflow ID prefix

expand?string

Comma-separated child collections to expand (tasks,agents,tools)

Response Body

curl -X GET "https://loading/api/v0/workflows?project=string&limit=0&cursor=string&q=string&expand=string"
{
  "data": {
    "page": {
      "limit": 50,
      "next_cursor": "v2:after:tool-001",
      "prev_cursor": "v2:before:tool-000",
      "total": 2
    },
    "workflows": [
      {
        "agent_count": 0,
        "agents": {
          "expanded": [
            {
              "actions": [
                {
                  "attachments": [
                    null
                  ],
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "prompt": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "attachments": [
                null
              ],
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "instructions": "string",
              "max_iterations": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "model": {
                "config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "ref": "string"
              },
              "resource": "string",
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "ids": [
            "string"
          ]
        },
        "author": {
          "contributors": [
            {
              "email": "string",
              "name": "string",
              "organization": "string",
              "url": "string"
            }
          ],
          "email": "string",
          "name": "string",
          "organization": "string",
          "url": "string"
        },
        "config": {
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "heartbeat_timeout": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "on_error": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "retry_policy": {
            "backoff_coefficient": 0,
            "initial_interval": "string",
            "maximum_attempts": 0,
            "maximum_interval": "string",
            "non_retryable_error_types": [
              "string"
            ]
          },
          "schedule_to_close_timeout": "string",
          "schedule_to_start_timeout": "string",
          "start_to_close_timeout": "string"
        },
        "description": "string",
        "etag": "abc123",
        "id": "string",
        "mcp_count": 0,
        "mcps": [
          {
            "args": [
              "string"
            ],
            "command": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "headers": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "max_sessions": 0,
            "proto": "string",
            "resource": "string",
            "start_timeout": -9223372036854776000,
            "transport": "stdio",
            "url": "string"
          }
        ],
        "outputs": {
          "property1": null,
          "property2": null
        },
        "resource": "string",
        "schedule": {
          "cron": "string",
          "enabled": true,
          "end_at": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "jitter": "string",
          "overlap_policy": "skip",
          "start_at": "string",
          "timezone": "string"
        },
        "schemas": [
          {
            "property1": null,
            "property2": null
          }
        ],
        "task_count": 0,
        "task_ids": [
          "string"
        ],
        "tasks": {
          "expanded": [
            {
              "action": "string",
              "agent": {
                "actions": [
                  {
                    "attachments": [
                      null
                    ],
                    "cwd": {
                      "path": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "prompt": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "instructions": "string",
                "max_iterations": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "model": {
                  "config": {
                    "api_key": "string",
                    "api_url": "string",
                    "default": true,
                    "max_tool_iterations": 0,
                    "model": "string",
                    "organization": "string",
                    "params": {
                      "max_length": 0,
                      "max_tokens": 0,
                      "min_length": 0,
                      "repetition_penalty": 0,
                      "seed": 0,
                      "stop_words": [
                        "string"
                      ],
                      "temperature": 0,
                      "top_k": 0,
                      "top_p": 0
                    },
                    "provider": "openai"
                  }
                },
                "resource": "string",
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "attachments": [
                null
              ],
              "batch": 0,
              "batch_size": 0,
              "clear_config": {
                "backup": true,
                "confirm": true
              },
              "condition": "string",
              "config": {
                "heartbeat_timeout": "string",
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "retry_policy": {
                  "backoff_coefficient": 0,
                  "initial_interval": "string",
                  "maximum_attempts": 0,
                  "maximum_interval": "string",
                  "non_retryable_error_types": [
                    "string"
                  ]
                },
                "schedule_to_close_timeout": "string",
                "schedule_to_start_timeout": "string",
                "start_to_close_timeout": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "filter": "string",
              "final": true,
              "flush_config": {
                "dry_run": true,
                "force": true,
                "max_keys": 0,
                "strategy": "string",
                "threshold": 0
              },
              "has_subtasks": true,
              "health_config": {
                "check_connectivity": true,
                "include_stats": true
              },
              "id": "string",
              "index_var": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "item_var": "string",
              "items": null,
              "key_template": "string",
              "max_iterations": 0,
              "max_keys": 0,
              "max_workers": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "memory_ref": "string",
              "mode": "string",
              "model_config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              },
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_success": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_timeout": "string",
              "operation": "read",
              "output": {
                "property1": null,
                "property2": null
              },
              "outputs": {
                "property1": null,
                "property2": null
              },
              "payload": null,
              "prompt": "string",
              "resource": "string",
              "retries": 0,
              "routes": {
                "property1": null,
                "property2": null
              },
              "signal": {
                "id": "string",
                "payload": {
                  "property1": null,
                  "property2": null
                }
              },
              "signal_name": "string",
              "sleep": "string",
              "stats_config": {
                "group_by": "string",
                "include_content": true
              },
              "strategy": "string",
              "subtask_ids": [
                "string"
              ],
              "task": {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [
                  {
                    "action": "string",
                    "agent": {
                      "actions": [
                        {
                          "attachments": [
                            null
                          ],
                          "cwd": {
                            "path": "string"
                          },
                          "id": "string",
                          "input": {
                            "property1": null,
                            "property2": null
                          },
                          "output": {
                            "property1": null,
                            "property2": null
                          },
                          "prompt": "string",
                          "with": {
                            "property1": null,
                            "property2": null
                          }
                        }
                      ],
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "instructions": "string",
                      "max_iterations": 0,
                      "mcps": [
                        {
                          "args": [
                            "string"
                          ],
                          "command": "string",
                          "env": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "headers": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "id": "string",
                          "max_sessions": 0,
                          "proto": "string",
                          "resource": "string",
                          "start_timeout": -9223372036854776000,
                          "transport": "stdio",
                          "url": "string"
                        }
                      ],
                      "memory": [
                        {
                          "id": "string",
                          "key": "string",
                          "mode": "read-write"
                        }
                      ],
                      "model": {
                        "config": {
                          "api_key": "string",
                          "api_url": "string",
                          "default": true,
                          "max_tool_iterations": 0,
                          "model": "string",
                          "organization": "string",
                          "params": {
                            "max_length": 0,
                            "max_tokens": 0,
                            "min_length": 0,
                            "repetition_penalty": 0,
                            "seed": 0,
                            "stop_words": [
                              null
                            ],
                            "temperature": 0,
                            "top_k": 0,
                            "top_p": 0
                          },
                          "provider": "openai"
                        }
                      },
                      "resource": "string",
                      "tools": [
                        {
                          "config": {
                            "property1": null,
                            "property2": null
                          },
                          "cwd": {
                            "path": "string"
                          },
                          "description": "string",
                          "env": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "id": "string",
                          "input": {
                            "property1": null,
                            "property2": null
                          },
                          "output": {
                            "property1": null,
                            "property2": null
                          },
                          "resource": "string",
                          "timeout": "string",
                          "with": {
                            "property1": null,
                            "property2": null
                          }
                        }
                      ],
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "attachments": [
                      null
                    ],
                    "batch": 0,
                    "batch_size": 0,
                    "clear_config": {
                      "backup": true,
                      "confirm": true
                    },
                    "condition": "string",
                    "config": {
                      "heartbeat_timeout": "string",
                      "on_error": {
                        "next": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      },
                      "retry_policy": {
                        "backoff_coefficient": 0,
                        "initial_interval": "string",
                        "maximum_attempts": 0,
                        "maximum_interval": "string",
                        "non_retryable_error_types": [
                          "string"
                        ]
                      },
                      "schedule_to_close_timeout": "string",
                      "schedule_to_start_timeout": "string",
                      "start_to_close_timeout": "string"
                    },
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "filter": "string",
                    "final": true,
                    "flush_config": {
                      "dry_run": true,
                      "force": true,
                      "max_keys": 0,
                      "strategy": "string",
                      "threshold": 0
                    },
                    "has_subtasks": true,
                    "health_config": {
                      "check_connectivity": true,
                      "include_stats": true
                    },
                    "id": "string",
                    "index_var": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "item_var": "string",
                    "items": null,
                    "key_template": "string",
                    "max_iterations": 0,
                    "max_keys": 0,
                    "max_workers": 0,
                    "mcps": [
                      {
                        "args": [
                          "string"
                        ],
                        "command": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "headers": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "max_sessions": 0,
                        "proto": "string",
                        "resource": "string",
                        "start_timeout": -9223372036854776000,
                        "transport": "stdio",
                        "url": "string"
                      }
                    ],
                    "memory": [
                      {
                        "id": "string",
                        "key": "string",
                        "mode": "read-write"
                      }
                    ],
                    "memory_ref": "string",
                    "mode": "string",
                    "model_config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    },
                    "on_error": {
                      "next": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "on_success": {
                      "next": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "on_timeout": "string",
                    "operation": "read",
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "outputs": {
                      "property1": null,
                      "property2": null
                    },
                    "payload": null,
                    "prompt": "string",
                    "resource": "string",
                    "retries": 0,
                    "routes": {
                      "property1": null,
                      "property2": null
                    },
                    "signal": {
                      "id": "string",
                      "payload": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "signal_name": "string",
                    "sleep": "string",
                    "stats_config": {
                      "group_by": "string",
                      "include_content": true
                    },
                    "strategy": "string",
                    "subtask_ids": [
                      "string"
                    ],
                    "task": {},
                    "tasks": [],
                    "timeout": "string",
                    "tool": {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "tools": [
                      {
                        "config": {
                          "property1": null,
                          "property2": null
                        },
                        "cwd": {
                          "path": "string"
                        },
                        "description": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "input": {
                          "property1": null,
                          "property2": null
                        },
                        "output": {
                          "property1": null,
                          "property2": null
                        },
                        "resource": "string",
                        "timeout": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      }
                    ],
                    "type": "basic",
                    "wait_for": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tasks": [
                {
                  "action": "string",
                  "agent": {
                    "actions": [
                      {
                        "attachments": [
                          null
                        ],
                        "cwd": {
                          "path": "string"
                        },
                        "id": "string",
                        "input": {
                          "property1": null,
                          "property2": null
                        },
                        "output": {
                          "property1": null,
                          "property2": null
                        },
                        "prompt": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      }
                    ],
                    "attachments": [
                      null
                    ],
                    "cwd": {
                      "path": "string"
                    },
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "instructions": "string",
                    "max_iterations": 0,
                    "mcps": [
                      {
                        "args": [
                          "string"
                        ],
                        "command": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "headers": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "max_sessions": 0,
                        "proto": "string",
                        "resource": "string",
                        "start_timeout": -9223372036854776000,
                        "transport": "stdio",
                        "url": "string"
                      }
                    ],
                    "memory": [
                      {
                        "id": "string",
                        "key": "string",
                        "mode": "read-write"
                      }
                    ],
                    "model": {
                      "config": {
                        "api_key": "string",
                        "api_url": "string",
                        "default": true,
                        "max_tool_iterations": 0,
                        "model": "string",
                        "organization": "string",
                        "params": {
                          "max_length": 0,
                          "max_tokens": 0,
                          "min_length": 0,
                          "repetition_penalty": 0,
                          "seed": 0,
                          "stop_words": [
                            "string"
                          ],
                          "temperature": 0,
                          "top_k": 0,
                          "top_p": 0
                        },
                        "provider": "openai"
                      }
                    },
                    "resource": "string",
                    "tools": [
                      {
                        "config": {
                          "property1": null,
                          "property2": null
                        },
                        "cwd": {
                          "path": "string"
                        },
                        "description": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "input": {
                          "property1": null,
                          "property2": null
                        },
                        "output": {
                          "property1": null,
                          "property2": null
                        },
                        "resource": "string",
                        "timeout": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      }
                    ],
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "attachments": [
                    null
                  ],
                  "batch": 0,
                  "batch_size": 0,
                  "clear_config": {
                    "backup": true,
                    "confirm": true
                  },
                  "condition": "string",
                  "config": {
                    "heartbeat_timeout": "string",
                    "on_error": {
                      "next": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "retry_policy": {
                      "backoff_coefficient": 0,
                      "initial_interval": "string",
                      "maximum_attempts": 0,
                      "maximum_interval": "string",
                      "non_retryable_error_types": [
                        "string"
                      ]
                    },
                    "schedule_to_close_timeout": "string",
                    "schedule_to_start_timeout": "string",
                    "start_to_close_timeout": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "filter": "string",
                  "final": true,
                  "flush_config": {
                    "dry_run": true,
                    "force": true,
                    "max_keys": 0,
                    "strategy": "string",
                    "threshold": 0
                  },
                  "has_subtasks": true,
                  "health_config": {
                    "check_connectivity": true,
                    "include_stats": true
                  },
                  "id": "string",
                  "index_var": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "item_var": "string",
                  "items": null,
                  "key_template": "string",
                  "max_iterations": 0,
                  "max_keys": 0,
                  "max_workers": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "memory_ref": "string",
                  "mode": "string",
                  "model_config": {
                    "api_key": "string",
                    "api_url": "string",
                    "default": true,
                    "max_tool_iterations": 0,
                    "model": "string",
                    "organization": "string",
                    "params": {
                      "max_length": 0,
                      "max_tokens": 0,
                      "min_length": 0,
                      "repetition_penalty": 0,
                      "seed": 0,
                      "stop_words": [
                        "string"
                      ],
                      "temperature": 0,
                      "top_k": 0,
                      "top_p": 0
                    },
                    "provider": "openai"
                  },
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "on_success": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "on_timeout": "string",
                  "operation": "read",
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "outputs": {
                    "property1": null,
                    "property2": null
                  },
                  "payload": null,
                  "prompt": "string",
                  "resource": "string",
                  "retries": 0,
                  "routes": {
                    "property1": null,
                    "property2": null
                  },
                  "signal": {
                    "id": "string",
                    "payload": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "signal_name": "string",
                  "sleep": "string",
                  "stats_config": {
                    "group_by": "string",
                    "include_content": true
                  },
                  "strategy": "string",
                  "subtask_ids": [
                    "string"
                  ],
                  "task": {
                    "action": "string",
                    "agent": {
                      "actions": [
                        {
                          "attachments": [
                            null
                          ],
                          "cwd": {
                            "path": "string"
                          },
                          "id": "string",
                          "input": {
                            "property1": null,
                            "property2": null
                          },
                          "output": {
                            "property1": null,
                            "property2": null
                          },
                          "prompt": "string",
                          "with": {
                            "property1": null,
                            "property2": null
                          }
                        }
                      ],
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "instructions": "string",
                      "max_iterations": 0,
                      "mcps": [
                        {
                          "args": [
                            "string"
                          ],
                          "command": "string",
                          "env": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "headers": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "id": "string",
                          "max_sessions": 0,
                          "proto": "string",
                          "resource": "string",
                          "start_timeout": -9223372036854776000,
                          "transport": "stdio",
                          "url": "string"
                        }
                      ],
                      "memory": [
                        {
                          "id": "string",
                          "key": "string",
                          "mode": "read-write"
                        }
                      ],
                      "model": {
                        "config": {
                          "api_key": "string",
                          "api_url": "string",
                          "default": true,
                          "max_tool_iterations": 0,
                          "model": "string",
                          "organization": "string",
                          "params": {
                            "max_length": 0,
                            "max_tokens": 0,
                            "min_length": 0,
                            "repetition_penalty": 0,
                            "seed": 0,
                            "stop_words": [
                              null
                            ],
                            "temperature": 0,
                            "top_k": 0,
                            "top_p": 0
                          },
                          "provider": "openai"
                        }
                      },
                      "resource": "string",
                      "tools": [
                        {
                          "config": {
                            "property1": null,
                            "property2": null
                          },
                          "cwd": {
                            "path": "string"
                          },
                          "description": "string",
                          "env": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "id": "string",
                          "input": {
                            "property1": null,
                            "property2": null
                          },
                          "output": {
                            "property1": null,
                            "property2": null
                          },
                          "resource": "string",
                          "timeout": "string",
                          "with": {
                            "property1": null,
                            "property2": null
                          }
                        }
                      ],
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "attachments": [
                      null
                    ],
                    "batch": 0,
                    "batch_size": 0,
                    "clear_config": {
                      "backup": true,
                      "confirm": true
                    },
                    "condition": "string",
                    "config": {
                      "heartbeat_timeout": "string",
                      "on_error": {
                        "next": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      },
                      "retry_policy": {
                        "backoff_coefficient": 0,
                        "initial_interval": "string",
                        "maximum_attempts": 0,
                        "maximum_interval": "string",
                        "non_retryable_error_types": [
                          "string"
                        ]
                      },
                      "schedule_to_close_timeout": "string",
                      "schedule_to_start_timeout": "string",
                      "start_to_close_timeout": "string"
                    },
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "filter": "string",
                    "final": true,
                    "flush_config": {
                      "dry_run": true,
                      "force": true,
                      "max_keys": 0,
                      "strategy": "string",
                      "threshold": 0
                    },
                    "has_subtasks": true,
                    "health_config": {
                      "check_connectivity": true,
                      "include_stats": true
                    },
                    "id": "string",
                    "index_var": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "item_var": "string",
                    "items": null,
                    "key_template": "string",
                    "max_iterations": 0,
                    "max_keys": 0,
                    "max_workers": 0,
                    "mcps": [
                      {
                        "args": [
                          "string"
                        ],
                        "command": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "headers": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "max_sessions": 0,
                        "proto": "string",
                        "resource": "string",
                        "start_timeout": -9223372036854776000,
                        "transport": "stdio",
                        "url": "string"
                      }
                    ],
                    "memory": [
                      {
                        "id": "string",
                        "key": "string",
                        "mode": "read-write"
                      }
                    ],
                    "memory_ref": "string",
                    "mode": "string",
                    "model_config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    },
                    "on_error": {
                      "next": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "on_success": {
                      "next": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "on_timeout": "string",
                    "operation": "read",
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "outputs": {
                      "property1": null,
                      "property2": null
                    },
                    "payload": null,
                    "prompt": "string",
                    "resource": "string",
                    "retries": 0,
                    "routes": {
                      "property1": null,
                      "property2": null
                    },
                    "signal": {
                      "id": "string",
                      "payload": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "signal_name": "string",
                    "sleep": "string",
                    "stats_config": {
                      "group_by": "string",
                      "include_content": true
                    },
                    "strategy": "string",
                    "subtask_ids": [
                      "string"
                    ],
                    "task": {},
                    "tasks": [],
                    "timeout": "string",
                    "tool": {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    },
                    "tools": [
                      {
                        "config": {
                          "property1": null,
                          "property2": null
                        },
                        "cwd": {
                          "path": "string"
                        },
                        "description": "string",
                        "env": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "id": "string",
                        "input": {
                          "property1": null,
                          "property2": null
                        },
                        "output": {
                          "property1": null,
                          "property2": null
                        },
                        "resource": "string",
                        "timeout": "string",
                        "with": {
                          "property1": null,
                          "property2": null
                        }
                      }
                    ],
                    "type": "basic",
                    "wait_for": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "tasks": [],
                  "timeout": "string",
                  "tool": {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "type": "basic",
                  "wait_for": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "timeout": "string",
              "tool": {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "type": "basic",
              "wait_for": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "ids": [
            "string"
          ]
        },
        "tool_count": 0,
        "tools": {
          "expanded": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": "string",
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "ids": [
            "string"
          ]
        },
        "triggers": [
          {
            "name": "string",
            "schema": {
              "property1": null,
              "property2": null
            },
            "type": "signal",
            "webhook": {
              "dedupe": {
                "enabled": true,
                "key": "string",
                "ttl": "string"
              },
              "events": [
                {
                  "filter": "string",
                  "input": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "name": "string",
                  "schema": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "method": "string",
              "slug": "string",
              "verify": {
                "header": "string",
                "secret": "string",
                "skew": -9223372036854776000,
                "strategy": "string"
              }
            }
          }
        ],
        "version": "string"
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Export workflows

Write workflow YAML files for the active project.

POST
/workflows/export

Response Body

curl -X POST "https://loading/api/v0/workflows/export"
{
  "data": {
    "property1": 0,
    "property2": 0
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Import workflows

Read workflow YAML files from the project directory.

POST
/workflows/import

Query Parameters

strategy?string

seed_only|overwrite_conflicts

Value in"seed_only" | "overwrite_conflicts"

Response Body

curl -X POST "https://loading/api/v0/workflows/import?strategy=seed_only"
{
  "data": {},
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Get workflow

Retrieve a workflow configuration with optional field selection and expansion.

GET
/workflows/{workflow_id}

Path Parameters

workflow_idstring

Workflow ID

Query Parameters

project?string

Project override

expand?string

Comma-separated child collections to expand (tasks,agents,tools)

Response Body

curl -X GET "https://loading/api/v0/workflows/string?project=string&expand=string"
{
  "data": {
    "agent_count": 0,
    "agents": {
      "expanded": [
        {
          "actions": [
            {
              "attachments": [
                null
              ],
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "prompt": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "attachments": [
            null
          ],
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "instructions": "string",
          "max_iterations": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "model": {
            "config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "ref": "string"
          },
          "resource": "string",
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "author": {
      "contributors": [
        {
          "email": "string",
          "name": "string",
          "organization": "string",
          "url": "string"
        }
      ],
      "email": "string",
      "name": "string",
      "organization": "string",
      "url": "string"
    },
    "config": {
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "heartbeat_timeout": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "on_error": {
        "next": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      },
      "retry_policy": {
        "backoff_coefficient": 0,
        "initial_interval": "string",
        "maximum_attempts": 0,
        "maximum_interval": "string",
        "non_retryable_error_types": [
          "string"
        ]
      },
      "schedule_to_close_timeout": "string",
      "schedule_to_start_timeout": "string",
      "start_to_close_timeout": "string"
    },
    "description": "string",
    "id": "string",
    "mcp_count": 0,
    "mcps": [
      {
        "args": [
          "string"
        ],
        "command": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "headers": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "max_sessions": 0,
        "proto": "string",
        "resource": "string",
        "start_timeout": -9223372036854776000,
        "transport": "stdio",
        "url": "string"
      }
    ],
    "outputs": {
      "property1": null,
      "property2": null
    },
    "resource": "string",
    "schedule": {
      "cron": "string",
      "enabled": true,
      "end_at": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "jitter": "string",
      "overlap_policy": "skip",
      "start_at": "string",
      "timezone": "string"
    },
    "schemas": [
      {
        "property1": null,
        "property2": null
      }
    ],
    "task_count": 0,
    "task_ids": [
      "string"
    ],
    "tasks": {
      "expanded": [
        {
          "action": "string",
          "agent": {
            "actions": [
              {
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "prompt": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "attachments": [
              null
            ],
            "cwd": {
              "path": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "instructions": "string",
            "max_iterations": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "model": {
              "config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              }
            },
            "resource": "string",
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "attachments": [
            null
          ],
          "batch": 0,
          "batch_size": 0,
          "clear_config": {
            "backup": true,
            "confirm": true
          },
          "condition": "string",
          "config": {
            "heartbeat_timeout": "string",
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "retry_policy": {
              "backoff_coefficient": 0,
              "initial_interval": "string",
              "maximum_attempts": 0,
              "maximum_interval": "string",
              "non_retryable_error_types": [
                "string"
              ]
            },
            "schedule_to_close_timeout": "string",
            "schedule_to_start_timeout": "string",
            "start_to_close_timeout": "string"
          },
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "filter": "string",
          "final": true,
          "flush_config": {
            "dry_run": true,
            "force": true,
            "max_keys": 0,
            "strategy": "string",
            "threshold": 0
          },
          "has_subtasks": true,
          "health_config": {
            "check_connectivity": true,
            "include_stats": true
          },
          "id": "string",
          "index_var": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "item_var": "string",
          "items": null,
          "key_template": "string",
          "max_iterations": 0,
          "max_keys": 0,
          "max_workers": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "memory_ref": "string",
          "mode": "string",
          "model_config": {
            "api_key": "string",
            "api_url": "string",
            "default": true,
            "max_tool_iterations": 0,
            "model": "string",
            "organization": "string",
            "params": {
              "max_length": 0,
              "max_tokens": 0,
              "min_length": 0,
              "repetition_penalty": 0,
              "seed": 0,
              "stop_words": [
                "string"
              ],
              "temperature": 0,
              "top_k": 0,
              "top_p": 0
            },
            "provider": "openai"
          },
          "on_error": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_success": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_timeout": "string",
          "operation": "read",
          "output": {
            "property1": null,
            "property2": null
          },
          "outputs": {
            "property1": null,
            "property2": null
          },
          "payload": null,
          "prompt": "string",
          "resource": "string",
          "retries": 0,
          "routes": {
            "property1": null,
            "property2": null
          },
          "signal": {
            "id": "string",
            "payload": {
              "property1": null,
              "property2": null
            }
          },
          "signal_name": "string",
          "sleep": "string",
          "stats_config": {
            "group_by": "string",
            "include_content": true
          },
          "strategy": "string",
          "subtask_ids": [
            "string"
          ],
          "task": {
            "action": "string",
            "agent": {
              "actions": [
                {
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "prompt": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "attachments": [
                null
              ],
              "cwd": {
                "path": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "instructions": "string",
              "max_iterations": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "model": {
                "config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                }
              },
              "resource": "string",
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "attachments": [
              null
            ],
            "batch": 0,
            "batch_size": 0,
            "clear_config": {
              "backup": true,
              "confirm": true
            },
            "condition": "string",
            "config": {
              "heartbeat_timeout": "string",
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "retry_policy": {
                "backoff_coefficient": 0,
                "initial_interval": "string",
                "maximum_attempts": 0,
                "maximum_interval": "string",
                "non_retryable_error_types": [
                  "string"
                ]
              },
              "schedule_to_close_timeout": "string",
              "schedule_to_start_timeout": "string",
              "start_to_close_timeout": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "filter": "string",
            "final": true,
            "flush_config": {
              "dry_run": true,
              "force": true,
              "max_keys": 0,
              "strategy": "string",
              "threshold": 0
            },
            "has_subtasks": true,
            "health_config": {
              "check_connectivity": true,
              "include_stats": true
            },
            "id": "string",
            "index_var": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "item_var": "string",
            "items": null,
            "key_template": "string",
            "max_iterations": 0,
            "max_keys": 0,
            "max_workers": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "memory_ref": "string",
            "mode": "string",
            "model_config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_success": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_timeout": "string",
            "operation": "read",
            "output": {
              "property1": null,
              "property2": null
            },
            "outputs": {
              "property1": null,
              "property2": null
            },
            "payload": null,
            "prompt": "string",
            "resource": "string",
            "retries": 0,
            "routes": {
              "property1": null,
              "property2": null
            },
            "signal": {
              "id": "string",
              "payload": {
                "property1": null,
                "property2": null
              }
            },
            "signal_name": "string",
            "sleep": "string",
            "stats_config": {
              "group_by": "string",
              "include_content": true
            },
            "strategy": "string",
            "subtask_ids": [
              "string"
            ],
            "task": {},
            "tasks": [
              {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "timeout": "string",
            "tool": {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "type": "basic",
            "wait_for": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tasks": [
            {
              "action": "string",
              "agent": {
                "actions": [
                  {
                    "attachments": [
                      null
                    ],
                    "cwd": {
                      "path": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "prompt": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "instructions": "string",
                "max_iterations": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "model": {
                  "config": {
                    "api_key": "string",
                    "api_url": "string",
                    "default": true,
                    "max_tool_iterations": 0,
                    "model": "string",
                    "organization": "string",
                    "params": {
                      "max_length": 0,
                      "max_tokens": 0,
                      "min_length": 0,
                      "repetition_penalty": 0,
                      "seed": 0,
                      "stop_words": [
                        "string"
                      ],
                      "temperature": 0,
                      "top_k": 0,
                      "top_p": 0
                    },
                    "provider": "openai"
                  }
                },
                "resource": "string",
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "attachments": [
                null
              ],
              "batch": 0,
              "batch_size": 0,
              "clear_config": {
                "backup": true,
                "confirm": true
              },
              "condition": "string",
              "config": {
                "heartbeat_timeout": "string",
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "retry_policy": {
                  "backoff_coefficient": 0,
                  "initial_interval": "string",
                  "maximum_attempts": 0,
                  "maximum_interval": "string",
                  "non_retryable_error_types": [
                    "string"
                  ]
                },
                "schedule_to_close_timeout": "string",
                "schedule_to_start_timeout": "string",
                "start_to_close_timeout": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "filter": "string",
              "final": true,
              "flush_config": {
                "dry_run": true,
                "force": true,
                "max_keys": 0,
                "strategy": "string",
                "threshold": 0
              },
              "has_subtasks": true,
              "health_config": {
                "check_connectivity": true,
                "include_stats": true
              },
              "id": "string",
              "index_var": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "item_var": "string",
              "items": null,
              "key_template": "string",
              "max_iterations": 0,
              "max_keys": 0,
              "max_workers": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "memory_ref": "string",
              "mode": "string",
              "model_config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              },
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_success": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_timeout": "string",
              "operation": "read",
              "output": {
                "property1": null,
                "property2": null
              },
              "outputs": {
                "property1": null,
                "property2": null
              },
              "payload": null,
              "prompt": "string",
              "resource": "string",
              "retries": 0,
              "routes": {
                "property1": null,
                "property2": null
              },
              "signal": {
                "id": "string",
                "payload": {
                  "property1": null,
                  "property2": null
                }
              },
              "signal_name": "string",
              "sleep": "string",
              "stats_config": {
                "group_by": "string",
                "include_content": true
              },
              "strategy": "string",
              "subtask_ids": [
                "string"
              ],
              "task": {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tasks": [],
              "timeout": "string",
              "tool": {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "type": "basic",
              "wait_for": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "timeout": "string",
          "tool": {
            "config": {
              "property1": null,
              "property2": null
            },
            "cwd": {
              "path": "string"
            },
            "description": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "resource": "string",
            "timeout": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "type": "basic",
          "wait_for": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "tool_count": 0,
    "tools": {
      "expanded": [
        {
          "config": {
            "property1": null,
            "property2": null
          },
          "cwd": "string",
          "description": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "resource": "string",
          "timeout": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "triggers": [
      {
        "name": "string",
        "schema": {
          "property1": null,
          "property2": null
        },
        "type": "signal",
        "webhook": {
          "dedupe": {
            "enabled": true,
            "key": "string",
            "ttl": "string"
          },
          "events": [
            {
              "filter": "string",
              "input": {
                "property1": "string",
                "property2": "string"
              },
              "name": "string",
              "schema": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "method": "string",
          "slug": "string",
          "verify": {
            "header": "string",
            "secret": "string",
            "skew": -9223372036854776000,
            "strategy": "string"
          }
        }
      }
    ],
    "version": "string"
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Delete workflow

Delete a workflow configuration using strong ETag concurrency.

DELETE
/workflows/{workflow_id}

Path Parameters

workflow_idstring

Workflow ID

Query Parameters

project?string

Project override

Response Body

curl -X DELETE "https://loading/api/v0/workflows/string?project=string"
"string"
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Create or update workflow

Create a workflow when absent or update an existing workflow using strong ETag concurrency.

PUT
/workflows/{workflow_id}

Path Parameters

workflow_idstring

Workflow ID

Query Parameters

project?string

Project override

expand?string

Comma-separated child collections to expand (tasks,agents,tools)

Header Parameters

If-Match?string

Strong ETag for optimistic concurrency

Workflow definition payload

agents?array<agent.Config>

AI agents with specific instructions and capabilities Configure LLM-powered agents with custom prompts, tools access, and behavior Agents can be referenced by tasks using $use: agent(...) syntax $ref: schema://agents

author?core.Author

Author information for workflow attribution Helps track ownership and responsibility for workflow maintenance

config?workflow.Opts

Configuration options including input schema and environment variables Controls workflow behavior, validation, and runtime environment

cwd?core.PathCWD

Internal field for the current working directory context

description?string

Human-readable description of the workflow's purpose Should clearly explain what the workflow does and when to use it

id?string

Unique identifier for the workflow (required) Must be unique within the project scope. Used for referencing and execution.

  • Example: "customer-support", "data-processing", "content-generation"
mcps?array<mcp.Config>

Model Context Protocol servers for extending AI capabilities MCP servers provide specialized tools and knowledge to agents Enable integration with external services and domain-specific functionality $ref: schema://mcp

outputs?core.Output

Output mappings to structure the final workflow results Use template expressions to extract and transform task outputs

  • Example: ticket_id: "{{ .tasks.create-ticket.output.id }}"

Empty Object

resource?string

Resource reference for external workflow definitions Format: "compozy:workflow:" - allows referencing pre-built workflows

schedule?workflow.Schedule

Schedule configuration for automated workflow execution Enable cron-based scheduling with timezone support and overlap policies

schemas?array<schema.Schema>

JSON schemas for validating data structures used in the workflow Define reusable schemas that can be referenced throughout the workflow using $ref syntax (e.g., $ref: local::schemas.#(id="user_schema"))

tasks?array<task.Config>

Sequential tasks that define the workflow execution plan (required) Tasks are the core execution units, processed in order with conditional branching Each task uses either an agent or tool to perform its operation $ref: schema://tasks

tools?array<tool.Config>

External tools that can be invoked by agents or tasks Define executable scripts or programs that perform specific operations Tools provide deterministic, non-AI functionality like API calls or data processing $ref: schema://tools

triggers?array<workflow.Trigger>

Event triggers that can initiate workflow execution Define external events (webhooks, signals) that can start the workflow Each trigger can have its own input schema for validation

version?string

Version of the workflow for tracking changes Follows semantic versioning (e.g., "1.0.0", "2.1.3") Useful for managing workflow evolution and backwards compatibility

Response Body

curl -X PUT "https://loading/api/v0/workflows/string?project=string&expand=string" \
  -H "If-Match: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "agent_count": 0,
    "agents": {
      "expanded": [
        {
          "actions": [
            {
              "attachments": [
                null
              ],
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "prompt": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "attachments": [
            null
          ],
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "instructions": "string",
          "max_iterations": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "model": {
            "config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "ref": "string"
          },
          "resource": "string",
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "author": {
      "contributors": [
        {
          "email": "string",
          "name": "string",
          "organization": "string",
          "url": "string"
        }
      ],
      "email": "string",
      "name": "string",
      "organization": "string",
      "url": "string"
    },
    "config": {
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "heartbeat_timeout": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "on_error": {
        "next": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      },
      "retry_policy": {
        "backoff_coefficient": 0,
        "initial_interval": "string",
        "maximum_attempts": 0,
        "maximum_interval": "string",
        "non_retryable_error_types": [
          "string"
        ]
      },
      "schedule_to_close_timeout": "string",
      "schedule_to_start_timeout": "string",
      "start_to_close_timeout": "string"
    },
    "description": "string",
    "id": "string",
    "mcp_count": 0,
    "mcps": [
      {
        "args": [
          "string"
        ],
        "command": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "headers": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "max_sessions": 0,
        "proto": "string",
        "resource": "string",
        "start_timeout": -9223372036854776000,
        "transport": "stdio",
        "url": "string"
      }
    ],
    "outputs": {
      "property1": null,
      "property2": null
    },
    "resource": "string",
    "schedule": {
      "cron": "string",
      "enabled": true,
      "end_at": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "jitter": "string",
      "overlap_policy": "skip",
      "start_at": "string",
      "timezone": "string"
    },
    "schemas": [
      {
        "property1": null,
        "property2": null
      }
    ],
    "task_count": 0,
    "task_ids": [
      "string"
    ],
    "tasks": {
      "expanded": [
        {
          "action": "string",
          "agent": {
            "actions": [
              {
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "prompt": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "attachments": [
              null
            ],
            "cwd": {
              "path": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "instructions": "string",
            "max_iterations": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "model": {
              "config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              }
            },
            "resource": "string",
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "attachments": [
            null
          ],
          "batch": 0,
          "batch_size": 0,
          "clear_config": {
            "backup": true,
            "confirm": true
          },
          "condition": "string",
          "config": {
            "heartbeat_timeout": "string",
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "retry_policy": {
              "backoff_coefficient": 0,
              "initial_interval": "string",
              "maximum_attempts": 0,
              "maximum_interval": "string",
              "non_retryable_error_types": [
                "string"
              ]
            },
            "schedule_to_close_timeout": "string",
            "schedule_to_start_timeout": "string",
            "start_to_close_timeout": "string"
          },
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "filter": "string",
          "final": true,
          "flush_config": {
            "dry_run": true,
            "force": true,
            "max_keys": 0,
            "strategy": "string",
            "threshold": 0
          },
          "has_subtasks": true,
          "health_config": {
            "check_connectivity": true,
            "include_stats": true
          },
          "id": "string",
          "index_var": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "item_var": "string",
          "items": null,
          "key_template": "string",
          "max_iterations": 0,
          "max_keys": 0,
          "max_workers": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "memory_ref": "string",
          "mode": "string",
          "model_config": {
            "api_key": "string",
            "api_url": "string",
            "default": true,
            "max_tool_iterations": 0,
            "model": "string",
            "organization": "string",
            "params": {
              "max_length": 0,
              "max_tokens": 0,
              "min_length": 0,
              "repetition_penalty": 0,
              "seed": 0,
              "stop_words": [
                "string"
              ],
              "temperature": 0,
              "top_k": 0,
              "top_p": 0
            },
            "provider": "openai"
          },
          "on_error": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_success": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_timeout": "string",
          "operation": "read",
          "output": {
            "property1": null,
            "property2": null
          },
          "outputs": {
            "property1": null,
            "property2": null
          },
          "payload": null,
          "prompt": "string",
          "resource": "string",
          "retries": 0,
          "routes": {
            "property1": null,
            "property2": null
          },
          "signal": {
            "id": "string",
            "payload": {
              "property1": null,
              "property2": null
            }
          },
          "signal_name": "string",
          "sleep": "string",
          "stats_config": {
            "group_by": "string",
            "include_content": true
          },
          "strategy": "string",
          "subtask_ids": [
            "string"
          ],
          "task": {
            "action": "string",
            "agent": {
              "actions": [
                {
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "prompt": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "attachments": [
                null
              ],
              "cwd": {
                "path": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "instructions": "string",
              "max_iterations": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "model": {
                "config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                }
              },
              "resource": "string",
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "attachments": [
              null
            ],
            "batch": 0,
            "batch_size": 0,
            "clear_config": {
              "backup": true,
              "confirm": true
            },
            "condition": "string",
            "config": {
              "heartbeat_timeout": "string",
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "retry_policy": {
                "backoff_coefficient": 0,
                "initial_interval": "string",
                "maximum_attempts": 0,
                "maximum_interval": "string",
                "non_retryable_error_types": [
                  "string"
                ]
              },
              "schedule_to_close_timeout": "string",
              "schedule_to_start_timeout": "string",
              "start_to_close_timeout": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "filter": "string",
            "final": true,
            "flush_config": {
              "dry_run": true,
              "force": true,
              "max_keys": 0,
              "strategy": "string",
              "threshold": 0
            },
            "has_subtasks": true,
            "health_config": {
              "check_connectivity": true,
              "include_stats": true
            },
            "id": "string",
            "index_var": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "item_var": "string",
            "items": null,
            "key_template": "string",
            "max_iterations": 0,
            "max_keys": 0,
            "max_workers": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "memory_ref": "string",
            "mode": "string",
            "model_config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_success": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_timeout": "string",
            "operation": "read",
            "output": {
              "property1": null,
              "property2": null
            },
            "outputs": {
              "property1": null,
              "property2": null
            },
            "payload": null,
            "prompt": "string",
            "resource": "string",
            "retries": 0,
            "routes": {
              "property1": null,
              "property2": null
            },
            "signal": {
              "id": "string",
              "payload": {
                "property1": null,
                "property2": null
              }
            },
            "signal_name": "string",
            "sleep": "string",
            "stats_config": {
              "group_by": "string",
              "include_content": true
            },
            "strategy": "string",
            "subtask_ids": [
              "string"
            ],
            "task": {},
            "tasks": [
              {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "timeout": "string",
            "tool": {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "type": "basic",
            "wait_for": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tasks": [
            {
              "action": "string",
              "agent": {
                "actions": [
                  {
                    "attachments": [
                      null
                    ],
                    "cwd": {
                      "path": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "prompt": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "instructions": "string",
                "max_iterations": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "model": {
                  "config": {
                    "api_key": "string",
                    "api_url": "string",
                    "default": true,
                    "max_tool_iterations": 0,
                    "model": "string",
                    "organization": "string",
                    "params": {
                      "max_length": 0,
                      "max_tokens": 0,
                      "min_length": 0,
                      "repetition_penalty": 0,
                      "seed": 0,
                      "stop_words": [
                        "string"
                      ],
                      "temperature": 0,
                      "top_k": 0,
                      "top_p": 0
                    },
                    "provider": "openai"
                  }
                },
                "resource": "string",
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "attachments": [
                null
              ],
              "batch": 0,
              "batch_size": 0,
              "clear_config": {
                "backup": true,
                "confirm": true
              },
              "condition": "string",
              "config": {
                "heartbeat_timeout": "string",
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "retry_policy": {
                  "backoff_coefficient": 0,
                  "initial_interval": "string",
                  "maximum_attempts": 0,
                  "maximum_interval": "string",
                  "non_retryable_error_types": [
                    "string"
                  ]
                },
                "schedule_to_close_timeout": "string",
                "schedule_to_start_timeout": "string",
                "start_to_close_timeout": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "filter": "string",
              "final": true,
              "flush_config": {
                "dry_run": true,
                "force": true,
                "max_keys": 0,
                "strategy": "string",
                "threshold": 0
              },
              "has_subtasks": true,
              "health_config": {
                "check_connectivity": true,
                "include_stats": true
              },
              "id": "string",
              "index_var": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "item_var": "string",
              "items": null,
              "key_template": "string",
              "max_iterations": 0,
              "max_keys": 0,
              "max_workers": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "memory_ref": "string",
              "mode": "string",
              "model_config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              },
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_success": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_timeout": "string",
              "operation": "read",
              "output": {
                "property1": null,
                "property2": null
              },
              "outputs": {
                "property1": null,
                "property2": null
              },
              "payload": null,
              "prompt": "string",
              "resource": "string",
              "retries": 0,
              "routes": {
                "property1": null,
                "property2": null
              },
              "signal": {
                "id": "string",
                "payload": {
                  "property1": null,
                  "property2": null
                }
              },
              "signal_name": "string",
              "sleep": "string",
              "stats_config": {
                "group_by": "string",
                "include_content": true
              },
              "strategy": "string",
              "subtask_ids": [
                "string"
              ],
              "task": {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tasks": [],
              "timeout": "string",
              "tool": {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "type": "basic",
              "wait_for": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "timeout": "string",
          "tool": {
            "config": {
              "property1": null,
              "property2": null
            },
            "cwd": {
              "path": "string"
            },
            "description": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "resource": "string",
            "timeout": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "type": "basic",
          "wait_for": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "tool_count": 0,
    "tools": {
      "expanded": [
        {
          "config": {
            "property1": null,
            "property2": null
          },
          "cwd": "string",
          "description": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "resource": "string",
          "timeout": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "triggers": [
      {
        "name": "string",
        "schema": {
          "property1": null,
          "property2": null
        },
        "type": "signal",
        "webhook": {
          "dedupe": {
            "enabled": true,
            "key": "string",
            "ttl": "string"
          },
          "events": [
            {
              "filter": "string",
              "input": {
                "property1": "string",
                "property2": "string"
              },
              "name": "string",
              "schema": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "method": "string",
          "slug": "string",
          "verify": {
            "header": "string",
            "secret": "string",
            "skew": -9223372036854776000,
            "strategy": "string"
          }
        }
      }
    ],
    "version": "string"
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": {
    "agent_count": 0,
    "agents": {
      "expanded": [
        {
          "actions": [
            {
              "attachments": [
                null
              ],
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "prompt": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "attachments": [
            null
          ],
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "instructions": "string",
          "max_iterations": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "model": {
            "config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "ref": "string"
          },
          "resource": "string",
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "author": {
      "contributors": [
        {
          "email": "string",
          "name": "string",
          "organization": "string",
          "url": "string"
        }
      ],
      "email": "string",
      "name": "string",
      "organization": "string",
      "url": "string"
    },
    "config": {
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "heartbeat_timeout": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "on_error": {
        "next": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      },
      "retry_policy": {
        "backoff_coefficient": 0,
        "initial_interval": "string",
        "maximum_attempts": 0,
        "maximum_interval": "string",
        "non_retryable_error_types": [
          "string"
        ]
      },
      "schedule_to_close_timeout": "string",
      "schedule_to_start_timeout": "string",
      "start_to_close_timeout": "string"
    },
    "description": "string",
    "id": "string",
    "mcp_count": 0,
    "mcps": [
      {
        "args": [
          "string"
        ],
        "command": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "headers": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "max_sessions": 0,
        "proto": "string",
        "resource": "string",
        "start_timeout": -9223372036854776000,
        "transport": "stdio",
        "url": "string"
      }
    ],
    "outputs": {
      "property1": null,
      "property2": null
    },
    "resource": "string",
    "schedule": {
      "cron": "string",
      "enabled": true,
      "end_at": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "jitter": "string",
      "overlap_policy": "skip",
      "start_at": "string",
      "timezone": "string"
    },
    "schemas": [
      {
        "property1": null,
        "property2": null
      }
    ],
    "task_count": 0,
    "task_ids": [
      "string"
    ],
    "tasks": {
      "expanded": [
        {
          "action": "string",
          "agent": {
            "actions": [
              {
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "prompt": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "attachments": [
              null
            ],
            "cwd": {
              "path": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "instructions": "string",
            "max_iterations": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "model": {
              "config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              }
            },
            "resource": "string",
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "attachments": [
            null
          ],
          "batch": 0,
          "batch_size": 0,
          "clear_config": {
            "backup": true,
            "confirm": true
          },
          "condition": "string",
          "config": {
            "heartbeat_timeout": "string",
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "retry_policy": {
              "backoff_coefficient": 0,
              "initial_interval": "string",
              "maximum_attempts": 0,
              "maximum_interval": "string",
              "non_retryable_error_types": [
                "string"
              ]
            },
            "schedule_to_close_timeout": "string",
            "schedule_to_start_timeout": "string",
            "start_to_close_timeout": "string"
          },
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "filter": "string",
          "final": true,
          "flush_config": {
            "dry_run": true,
            "force": true,
            "max_keys": 0,
            "strategy": "string",
            "threshold": 0
          },
          "has_subtasks": true,
          "health_config": {
            "check_connectivity": true,
            "include_stats": true
          },
          "id": "string",
          "index_var": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "item_var": "string",
          "items": null,
          "key_template": "string",
          "max_iterations": 0,
          "max_keys": 0,
          "max_workers": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "memory_ref": "string",
          "mode": "string",
          "model_config": {
            "api_key": "string",
            "api_url": "string",
            "default": true,
            "max_tool_iterations": 0,
            "model": "string",
            "organization": "string",
            "params": {
              "max_length": 0,
              "max_tokens": 0,
              "min_length": 0,
              "repetition_penalty": 0,
              "seed": 0,
              "stop_words": [
                "string"
              ],
              "temperature": 0,
              "top_k": 0,
              "top_p": 0
            },
            "provider": "openai"
          },
          "on_error": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_success": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "on_timeout": "string",
          "operation": "read",
          "output": {
            "property1": null,
            "property2": null
          },
          "outputs": {
            "property1": null,
            "property2": null
          },
          "payload": null,
          "prompt": "string",
          "resource": "string",
          "retries": 0,
          "routes": {
            "property1": null,
            "property2": null
          },
          "signal": {
            "id": "string",
            "payload": {
              "property1": null,
              "property2": null
            }
          },
          "signal_name": "string",
          "sleep": "string",
          "stats_config": {
            "group_by": "string",
            "include_content": true
          },
          "strategy": "string",
          "subtask_ids": [
            "string"
          ],
          "task": {
            "action": "string",
            "agent": {
              "actions": [
                {
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "prompt": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "attachments": [
                null
              ],
              "cwd": {
                "path": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "instructions": "string",
              "max_iterations": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "model": {
                "config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                }
              },
              "resource": "string",
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "attachments": [
              null
            ],
            "batch": 0,
            "batch_size": 0,
            "clear_config": {
              "backup": true,
              "confirm": true
            },
            "condition": "string",
            "config": {
              "heartbeat_timeout": "string",
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "retry_policy": {
                "backoff_coefficient": 0,
                "initial_interval": "string",
                "maximum_attempts": 0,
                "maximum_interval": "string",
                "non_retryable_error_types": [
                  "string"
                ]
              },
              "schedule_to_close_timeout": "string",
              "schedule_to_start_timeout": "string",
              "start_to_close_timeout": "string"
            },
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "filter": "string",
            "final": true,
            "flush_config": {
              "dry_run": true,
              "force": true,
              "max_keys": 0,
              "strategy": "string",
              "threshold": 0
            },
            "has_subtasks": true,
            "health_config": {
              "check_connectivity": true,
              "include_stats": true
            },
            "id": "string",
            "index_var": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "item_var": "string",
            "items": null,
            "key_template": "string",
            "max_iterations": 0,
            "max_keys": 0,
            "max_workers": 0,
            "mcps": [
              {
                "args": [
                  "string"
                ],
                "command": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "headers": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "max_sessions": 0,
                "proto": "string",
                "resource": "string",
                "start_timeout": -9223372036854776000,
                "transport": "stdio",
                "url": "string"
              }
            ],
            "memory": [
              {
                "id": "string",
                "key": "string",
                "mode": "read-write"
              }
            ],
            "memory_ref": "string",
            "mode": "string",
            "model_config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            },
            "on_error": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_success": {
              "next": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "on_timeout": "string",
            "operation": "read",
            "output": {
              "property1": null,
              "property2": null
            },
            "outputs": {
              "property1": null,
              "property2": null
            },
            "payload": null,
            "prompt": "string",
            "resource": "string",
            "retries": 0,
            "routes": {
              "property1": null,
              "property2": null
            },
            "signal": {
              "id": "string",
              "payload": {
                "property1": null,
                "property2": null
              }
            },
            "signal_name": "string",
            "sleep": "string",
            "stats_config": {
              "group_by": "string",
              "include_content": true
            },
            "strategy": "string",
            "subtask_ids": [
              "string"
            ],
            "task": {},
            "tasks": [
              {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "timeout": "string",
            "tool": {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            },
            "tools": [
              {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              }
            ],
            "type": "basic",
            "wait_for": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tasks": [
            {
              "action": "string",
              "agent": {
                "actions": [
                  {
                    "attachments": [
                      null
                    ],
                    "cwd": {
                      "path": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "prompt": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "attachments": [
                  null
                ],
                "cwd": {
                  "path": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "instructions": "string",
                "max_iterations": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "model": {
                  "config": {
                    "api_key": "string",
                    "api_url": "string",
                    "default": true,
                    "max_tool_iterations": 0,
                    "model": "string",
                    "organization": "string",
                    "params": {
                      "max_length": 0,
                      "max_tokens": 0,
                      "min_length": 0,
                      "repetition_penalty": 0,
                      "seed": 0,
                      "stop_words": [
                        "string"
                      ],
                      "temperature": 0,
                      "top_k": 0,
                      "top_p": 0
                    },
                    "provider": "openai"
                  }
                },
                "resource": "string",
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "attachments": [
                null
              ],
              "batch": 0,
              "batch_size": 0,
              "clear_config": {
                "backup": true,
                "confirm": true
              },
              "condition": "string",
              "config": {
                "heartbeat_timeout": "string",
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "retry_policy": {
                  "backoff_coefficient": 0,
                  "initial_interval": "string",
                  "maximum_attempts": 0,
                  "maximum_interval": "string",
                  "non_retryable_error_types": [
                    "string"
                  ]
                },
                "schedule_to_close_timeout": "string",
                "schedule_to_start_timeout": "string",
                "start_to_close_timeout": "string"
              },
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "filter": "string",
              "final": true,
              "flush_config": {
                "dry_run": true,
                "force": true,
                "max_keys": 0,
                "strategy": "string",
                "threshold": 0
              },
              "has_subtasks": true,
              "health_config": {
                "check_connectivity": true,
                "include_stats": true
              },
              "id": "string",
              "index_var": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "item_var": "string",
              "items": null,
              "key_template": "string",
              "max_iterations": 0,
              "max_keys": 0,
              "max_workers": 0,
              "mcps": [
                {
                  "args": [
                    "string"
                  ],
                  "command": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "headers": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "max_sessions": 0,
                  "proto": "string",
                  "resource": "string",
                  "start_timeout": -9223372036854776000,
                  "transport": "stdio",
                  "url": "string"
                }
              ],
              "memory": [
                {
                  "id": "string",
                  "key": "string",
                  "mode": "read-write"
                }
              ],
              "memory_ref": "string",
              "mode": "string",
              "model_config": {
                "api_key": "string",
                "api_url": "string",
                "default": true,
                "max_tool_iterations": 0,
                "model": "string",
                "organization": "string",
                "params": {
                  "max_length": 0,
                  "max_tokens": 0,
                  "min_length": 0,
                  "repetition_penalty": 0,
                  "seed": 0,
                  "stop_words": [
                    "string"
                  ],
                  "temperature": 0,
                  "top_k": 0,
                  "top_p": 0
                },
                "provider": "openai"
              },
              "on_error": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_success": {
                "next": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "on_timeout": "string",
              "operation": "read",
              "output": {
                "property1": null,
                "property2": null
              },
              "outputs": {
                "property1": null,
                "property2": null
              },
              "payload": null,
              "prompt": "string",
              "resource": "string",
              "retries": 0,
              "routes": {
                "property1": null,
                "property2": null
              },
              "signal": {
                "id": "string",
                "payload": {
                  "property1": null,
                  "property2": null
                }
              },
              "signal_name": "string",
              "sleep": "string",
              "stats_config": {
                "group_by": "string",
                "include_content": true
              },
              "strategy": "string",
              "subtask_ids": [
                "string"
              ],
              "task": {
                "action": "string",
                "agent": {
                  "actions": [
                    {
                      "attachments": [
                        null
                      ],
                      "cwd": {
                        "path": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "prompt": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "attachments": [
                    null
                  ],
                  "cwd": {
                    "path": "string"
                  },
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "instructions": "string",
                  "max_iterations": 0,
                  "mcps": [
                    {
                      "args": [
                        "string"
                      ],
                      "command": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "headers": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "max_sessions": 0,
                      "proto": "string",
                      "resource": "string",
                      "start_timeout": -9223372036854776000,
                      "transport": "stdio",
                      "url": "string"
                    }
                  ],
                  "memory": [
                    {
                      "id": "string",
                      "key": "string",
                      "mode": "read-write"
                    }
                  ],
                  "model": {
                    "config": {
                      "api_key": "string",
                      "api_url": "string",
                      "default": true,
                      "max_tool_iterations": 0,
                      "model": "string",
                      "organization": "string",
                      "params": {
                        "max_length": 0,
                        "max_tokens": 0,
                        "min_length": 0,
                        "repetition_penalty": 0,
                        "seed": 0,
                        "stop_words": [
                          "string"
                        ],
                        "temperature": 0,
                        "top_k": 0,
                        "top_p": 0
                      },
                      "provider": "openai"
                    }
                  },
                  "resource": "string",
                  "tools": [
                    {
                      "config": {
                        "property1": null,
                        "property2": null
                      },
                      "cwd": {
                        "path": "string"
                      },
                      "description": "string",
                      "env": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "id": "string",
                      "input": {
                        "property1": null,
                        "property2": null
                      },
                      "output": {
                        "property1": null,
                        "property2": null
                      },
                      "resource": "string",
                      "timeout": "string",
                      "with": {
                        "property1": null,
                        "property2": null
                      }
                    }
                  ],
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "attachments": [
                  null
                ],
                "batch": 0,
                "batch_size": 0,
                "clear_config": {
                  "backup": true,
                  "confirm": true
                },
                "condition": "string",
                "config": {
                  "heartbeat_timeout": "string",
                  "on_error": {
                    "next": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  },
                  "retry_policy": {
                    "backoff_coefficient": 0,
                    "initial_interval": "string",
                    "maximum_attempts": 0,
                    "maximum_interval": "string",
                    "non_retryable_error_types": [
                      "string"
                    ]
                  },
                  "schedule_to_close_timeout": "string",
                  "schedule_to_start_timeout": "string",
                  "start_to_close_timeout": "string"
                },
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "filter": "string",
                "final": true,
                "flush_config": {
                  "dry_run": true,
                  "force": true,
                  "max_keys": 0,
                  "strategy": "string",
                  "threshold": 0
                },
                "has_subtasks": true,
                "health_config": {
                  "check_connectivity": true,
                  "include_stats": true
                },
                "id": "string",
                "index_var": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "item_var": "string",
                "items": null,
                "key_template": "string",
                "max_iterations": 0,
                "max_keys": 0,
                "max_workers": 0,
                "mcps": [
                  {
                    "args": [
                      "string"
                    ],
                    "command": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "headers": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "max_sessions": 0,
                    "proto": "string",
                    "resource": "string",
                    "start_timeout": -9223372036854776000,
                    "transport": "stdio",
                    "url": "string"
                  }
                ],
                "memory": [
                  {
                    "id": "string",
                    "key": "string",
                    "mode": "read-write"
                  }
                ],
                "memory_ref": "string",
                "mode": "string",
                "model_config": {
                  "api_key": "string",
                  "api_url": "string",
                  "default": true,
                  "max_tool_iterations": 0,
                  "model": "string",
                  "organization": "string",
                  "params": {
                    "max_length": 0,
                    "max_tokens": 0,
                    "min_length": 0,
                    "repetition_penalty": 0,
                    "seed": 0,
                    "stop_words": [
                      "string"
                    ],
                    "temperature": 0,
                    "top_k": 0,
                    "top_p": 0
                  },
                  "provider": "openai"
                },
                "on_error": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_success": {
                  "next": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "on_timeout": "string",
                "operation": "read",
                "output": {
                  "property1": null,
                  "property2": null
                },
                "outputs": {
                  "property1": null,
                  "property2": null
                },
                "payload": null,
                "prompt": "string",
                "resource": "string",
                "retries": 0,
                "routes": {
                  "property1": null,
                  "property2": null
                },
                "signal": {
                  "id": "string",
                  "payload": {
                    "property1": null,
                    "property2": null
                  }
                },
                "signal_name": "string",
                "sleep": "string",
                "stats_config": {
                  "group_by": "string",
                  "include_content": true
                },
                "strategy": "string",
                "subtask_ids": [
                  "string"
                ],
                "task": {},
                "tasks": [],
                "timeout": "string",
                "tool": {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                },
                "tools": [
                  {
                    "config": {
                      "property1": null,
                      "property2": null
                    },
                    "cwd": {
                      "path": "string"
                    },
                    "description": "string",
                    "env": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "id": "string",
                    "input": {
                      "property1": null,
                      "property2": null
                    },
                    "output": {
                      "property1": null,
                      "property2": null
                    },
                    "resource": "string",
                    "timeout": "string",
                    "with": {
                      "property1": null,
                      "property2": null
                    }
                  }
                ],
                "type": "basic",
                "wait_for": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tasks": [],
              "timeout": "string",
              "tool": {
                "config": {
                  "property1": null,
                  "property2": null
                },
                "cwd": {
                  "path": "string"
                },
                "description": "string",
                "env": {
                  "property1": "string",
                  "property2": "string"
                },
                "id": "string",
                "input": {
                  "property1": null,
                  "property2": null
                },
                "output": {
                  "property1": null,
                  "property2": null
                },
                "resource": "string",
                "timeout": "string",
                "with": {
                  "property1": null,
                  "property2": null
                }
              },
              "tools": [
                {
                  "config": {
                    "property1": null,
                    "property2": null
                  },
                  "cwd": {
                    "path": "string"
                  },
                  "description": "string",
                  "env": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "id": "string",
                  "input": {
                    "property1": null,
                    "property2": null
                  },
                  "output": {
                    "property1": null,
                    "property2": null
                  },
                  "resource": "string",
                  "timeout": "string",
                  "with": {
                    "property1": null,
                    "property2": null
                  }
                }
              ],
              "type": "basic",
              "wait_for": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "timeout": "string",
          "tool": {
            "config": {
              "property1": null,
              "property2": null
            },
            "cwd": {
              "path": "string"
            },
            "description": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "resource": "string",
            "timeout": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "type": "basic",
          "wait_for": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "tool_count": 0,
    "tools": {
      "expanded": [
        {
          "config": {
            "property1": null,
            "property2": null
          },
          "cwd": "string",
          "description": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "resource": "string",
          "timeout": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "ids": [
        "string"
      ]
    },
    "triggers": [
      {
        "name": "string",
        "schema": {
          "property1": null,
          "property2": null
        },
        "type": "signal",
        "webhook": {
          "dedupe": {
            "enabled": true,
            "key": "string",
            "ttl": "string"
          },
          "events": [
            {
              "filter": "string",
              "input": {
                "property1": "string",
                "property2": "string"
              },
              "name": "string",
              "schema": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "method": "string",
          "slug": "string",
          "verify": {
            "header": "string",
            "secret": "string",
            "skew": -9223372036854776000,
            "strategy": "string"
          }
        }
      }
    ],
    "version": "string"
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

List all agents

Retrieve a list of all available agent configurations

GET
/workflows/{workflow_id}/agents

Path Parameters

workflow_idstring

Workflow ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/agents"
{
  "data": {
    "agents": [
      {
        "actions": [
          {
            "attachments": [
              null
            ],
            "cwd": {
              "path": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "prompt": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          }
        ],
        "attachments": [
          null
        ],
        "cwd": {
          "path": "string"
        },
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "instructions": "string",
        "max_iterations": 0,
        "mcps": [
          {
            "args": [
              "string"
            ],
            "command": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "headers": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "max_sessions": 0,
            "proto": "string",
            "resource": "string",
            "start_timeout": -9223372036854776000,
            "transport": "stdio",
            "url": "string"
          }
        ],
        "memory": [
          {
            "id": "string",
            "key": "string",
            "mode": "read-write"
          }
        ],
        "model": {
          "config": {
            "api_key": "string",
            "api_url": "string",
            "default": true,
            "max_tool_iterations": 0,
            "model": "string",
            "organization": "string",
            "params": {
              "max_length": 0,
              "max_tokens": 0,
              "min_length": 0,
              "repetition_penalty": 0,
              "seed": 0,
              "stop_words": [
                "string"
              ],
              "temperature": 0,
              "top_k": 0,
              "top_p": 0
            },
            "provider": "openai"
          }
        },
        "resource": "string",
        "tools": [
          {
            "config": {
              "property1": null,
              "property2": null
            },
            "cwd": {
              "path": "string"
            },
            "description": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "resource": "string",
            "timeout": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          }
        ],
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Get agent by ID

Retrieve a specific agent configuration by its ID

GET
/workflows/{workflow_id}/agents/{agent_id}

Path Parameters

workflow_idstring

Workflow ID

agent_idstring

Agent ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/agents/string"
{
  "data": {
    "actions": [
      {
        "attachments": [
          null
        ],
        "cwd": {
          "path": "string"
        },
        "id": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "prompt": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ],
    "attachments": [
      null
    ],
    "cwd": {
      "path": "string"
    },
    "env": {
      "property1": "string",
      "property2": "string"
    },
    "id": "string",
    "instructions": "string",
    "max_iterations": 0,
    "mcps": [
      {
        "args": [
          "string"
        ],
        "command": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "headers": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "max_sessions": 0,
        "proto": "string",
        "resource": "string",
        "start_timeout": -9223372036854776000,
        "transport": "stdio",
        "url": "string"
      }
    ],
    "memory": [
      {
        "id": "string",
        "key": "string",
        "mode": "read-write"
      }
    ],
    "model": {
      "config": {
        "api_key": "string",
        "api_url": "string",
        "default": true,
        "max_tool_iterations": 0,
        "model": "string",
        "organization": "string",
        "params": {
          "max_length": 0,
          "max_tokens": 0,
          "min_length": 0,
          "repetition_penalty": 0,
          "seed": 0,
          "stop_words": [
            "string"
          ],
          "temperature": 0,
          "top_k": 0,
          "top_p": 0
        },
        "provider": "openai"
      }
    },
    "resource": "string",
    "tools": [
      {
        "config": {
          "property1": null,
          "property2": null
        },
        "cwd": {
          "path": "string"
        },
        "description": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "resource": "string",
        "timeout": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ],
    "with": {
      "property1": null,
      "property2": null
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

List executions by workflow ID

Retrieve all executions for a specific workflow

GET
/workflows/{workflow_id}/executions

Path Parameters

workflow_idstring

Workflow ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/executions"
{
  "data": {
    "executions": [
      {
        "error": {
          "code": "string",
          "details": {
            "property1": null,
            "property2": null
          },
          "message": "string"
        },
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "status": "PENDING",
        "tasks": {
          "property1": {
            "action_id": "string",
            "agent_id": "string",
            "component": "workflow",
            "created_at": "string",
            "error": {
              "code": "string",
              "details": {
                "property1": null,
                "property2": null
              },
              "message": "string"
            },
            "execution_type": "basic",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "parent_state_id": "string",
            "status": "PENDING",
            "task_exec_id": "string",
            "task_id": "string",
            "tool_id": "string",
            "updated_at": "string",
            "workflow_exec_id": "string",
            "workflow_id": "string"
          },
          "property2": {
            "action_id": "string",
            "agent_id": "string",
            "component": "workflow",
            "created_at": "string",
            "error": {
              "code": "string",
              "details": {
                "property1": null,
                "property2": null
              },
              "message": "string"
            },
            "execution_type": "basic",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "parent_state_id": "string",
            "status": "PENDING",
            "task_exec_id": "string",
            "task_id": "string",
            "tool_id": "string",
            "updated_at": "string",
            "workflow_exec_id": "string",
            "workflow_id": "string"
          }
        },
        "workflow_exec_id": "string",
        "workflow_id": "string"
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Execute workflow

Trigger the execution of a workflow with provided input data

POST
/workflows/{workflow_id}/executions

Path Parameters

workflow_idstring

Workflow ID

Header Parameters

X-Correlation-ID?string

Optional correlation ID for request tracing

Workflow input data

Empty Object

Response Body

curl -X POST "https://loading/api/v0/workflows/string/executions" \
  -H "X-Correlation-ID: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "exec_id": "2Z4PVTL6K27XVT4A3NPKMDD5BG",
    "exec_url": "https://api.compozy.dev/api/v0/executions/workflows/2Z4PVTL6K27XVT4A3NPKMDD5BG",
    "workflow_id": "data-processing"
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Execute workflow synchronously

Execute a workflow and wait for completion within the provided timeout.

POST
/workflows/{workflow_id}/executions/sync

Path Parameters

workflow_idstring

Workflow ID

Header Parameters

X-Correlation-ID?string

Optional correlation ID for request tracing

Execution request

input?core.Input

Empty Object

task_id?string
timeout?integer

Timeout in seconds for synchronous execution.

Response Body

curl -X POST "https://loading/api/v0/workflows/string/executions/sync" \
  -H "X-Correlation-ID: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "exec_id": "2Z4PVTL6K27XVT4A3NPKMDD5BG",
    "output": {
      "property1": null,
      "property2": null
    },
    "workflow": {
      "error": {
        "code": "string",
        "details": {
          "property1": null,
          "property2": null
        },
        "message": "string"
      },
      "input": {
        "property1": null,
        "property2": null
      },
      "output": {
        "property1": null,
        "property2": null
      },
      "status": "PENDING",
      "tasks": {
        "property1": {
          "action_id": "string",
          "agent_id": "string",
          "component": "workflow",
          "created_at": "string",
          "error": {
            "code": "string",
            "details": {
              "property1": null,
              "property2": null
            },
            "message": "string"
          },
          "execution_type": "basic",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "parent_state_id": "string",
          "status": "PENDING",
          "task_exec_id": "string",
          "task_id": "string",
          "tool_id": "string",
          "updated_at": "string",
          "workflow_exec_id": "string",
          "workflow_id": "string"
        },
        "property2": {
          "action_id": "string",
          "agent_id": "string",
          "component": "workflow",
          "created_at": "string",
          "error": {
            "code": "string",
            "details": {
              "property1": null,
              "property2": null
            },
            "message": "string"
          },
          "execution_type": "basic",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "parent_state_id": "string",
          "status": "PENDING",
          "task_exec_id": "string",
          "task_id": "string",
          "tool_id": "string",
          "updated_at": "string",
          "workflow_exec_id": "string",
          "workflow_id": "string"
        }
      },
      "workflow_exec_id": "string",
      "workflow_id": "string"
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

List tasks for a workflow

Retrieve a list of all tasks within a specific workflow

GET
/workflows/{workflow_id}/tasks

Path Parameters

workflow_idstring

Workflow ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tasks"
{
  "data": {
    "tasks": [
      {
        "action": "string",
        "agent": {
          "actions": [
            {
              "attachments": [
                null
              ],
              "cwd": {
                "path": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "prompt": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "attachments": [
            null
          ],
          "cwd": {
            "path": "string"
          },
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "instructions": "string",
          "max_iterations": 0,
          "mcps": [
            {
              "args": [
                "string"
              ],
              "command": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "headers": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "max_sessions": 0,
              "proto": "string",
              "resource": "string",
              "start_timeout": -9223372036854776000,
              "transport": "stdio",
              "url": "string"
            }
          ],
          "memory": [
            {
              "id": "string",
              "key": "string",
              "mode": "read-write"
            }
          ],
          "model": {
            "config": {
              "api_key": "string",
              "api_url": "string",
              "default": true,
              "max_tool_iterations": 0,
              "model": "string",
              "organization": "string",
              "params": {
                "max_length": 0,
                "max_tokens": 0,
                "min_length": 0,
                "repetition_penalty": 0,
                "seed": 0,
                "stop_words": [
                  "string"
                ],
                "temperature": 0,
                "top_k": 0,
                "top_p": 0
              },
              "provider": "openai"
            }
          },
          "resource": "string",
          "tools": [
            {
              "config": {
                "property1": null,
                "property2": null
              },
              "cwd": {
                "path": "string"
              },
              "description": "string",
              "env": {
                "property1": "string",
                "property2": "string"
              },
              "id": "string",
              "input": {
                "property1": null,
                "property2": null
              },
              "output": {
                "property1": null,
                "property2": null
              },
              "resource": "string",
              "timeout": "string",
              "with": {
                "property1": null,
                "property2": null
              }
            }
          ],
          "with": {
            "property1": null,
            "property2": null
          }
        },
        "attachments": [
          null
        ],
        "batch": 0,
        "batch_size": 0,
        "clear_config": {
          "backup": true,
          "confirm": true
        },
        "condition": "string",
        "config": {
          "heartbeat_timeout": "string",
          "on_error": {
            "next": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          },
          "retry_policy": {
            "backoff_coefficient": 0,
            "initial_interval": "string",
            "maximum_attempts": 0,
            "maximum_interval": "string",
            "non_retryable_error_types": [
              "string"
            ]
          },
          "schedule_to_close_timeout": "string",
          "schedule_to_start_timeout": "string",
          "start_to_close_timeout": "string"
        },
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "filter": "string",
        "final": true,
        "flush_config": {
          "dry_run": true,
          "force": true,
          "max_keys": 0,
          "strategy": "string",
          "threshold": 0
        },
        "has_subtasks": true,
        "health_config": {
          "check_connectivity": true,
          "include_stats": true
        },
        "id": "string",
        "index_var": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "item_var": "string",
        "items": null,
        "key_template": "string",
        "max_iterations": 0,
        "max_keys": 0,
        "max_workers": 0,
        "mcps": [
          {
            "args": [
              "string"
            ],
            "command": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "headers": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "max_sessions": 0,
            "proto": "string",
            "resource": "string",
            "start_timeout": -9223372036854776000,
            "transport": "stdio",
            "url": "string"
          }
        ],
        "memory": [
          {
            "id": "string",
            "key": "string",
            "mode": "read-write"
          }
        ],
        "memory_ref": "string",
        "mode": "string",
        "model_config": {
          "api_key": "string",
          "api_url": "string",
          "default": true,
          "max_tool_iterations": 0,
          "model": "string",
          "organization": "string",
          "params": {
            "max_length": 0,
            "max_tokens": 0,
            "min_length": 0,
            "repetition_penalty": 0,
            "seed": 0,
            "stop_words": [
              "string"
            ],
            "temperature": 0,
            "top_k": 0,
            "top_p": 0
          },
          "provider": "openai"
        },
        "on_error": {
          "next": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        },
        "on_success": {
          "next": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        },
        "on_timeout": "string",
        "operation": "read",
        "output": {
          "property1": null,
          "property2": null
        },
        "outputs": {
          "property1": null,
          "property2": null
        },
        "payload": null,
        "prompt": "string",
        "resource": "string",
        "retries": 0,
        "routes": {
          "property1": null,
          "property2": null
        },
        "signal": {
          "id": "string",
          "payload": {
            "property1": null,
            "property2": null
          }
        },
        "signal_name": "string",
        "sleep": "string",
        "stats_config": {
          "group_by": "string",
          "include_content": true
        },
        "strategy": "string",
        "subtask_ids": [
          "string"
        ],
        "timeout": "string",
        "tool": {
          "config": {
            "property1": null,
            "property2": null
          },
          "cwd": {
            "path": "string"
          },
          "description": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "resource": "string",
          "timeout": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        },
        "tools": [
          {
            "config": {
              "property1": null,
              "property2": null
            },
            "cwd": {
              "path": "string"
            },
            "description": "string",
            "env": {
              "property1": "string",
              "property2": "string"
            },
            "id": "string",
            "input": {
              "property1": null,
              "property2": null
            },
            "output": {
              "property1": null,
              "property2": null
            },
            "resource": "string",
            "timeout": "string",
            "with": {
              "property1": null,
              "property2": null
            }
          }
        ],
        "type": "basic",
        "wait_for": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Get task by ID

Retrieve a specific task configuration by its ID within a workflow

GET
/workflows/{workflow_id}/tasks/{task_id}

Path Parameters

workflow_idstring

Workflow ID

task_idstring

Task ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tasks/string"
{
  "data": {
    "action": "string",
    "agent": {
      "actions": [
        {
          "attachments": [
            null
          ],
          "cwd": {
            "path": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "prompt": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "attachments": [
        null
      ],
      "cwd": {
        "path": "string"
      },
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "id": "string",
      "instructions": "string",
      "max_iterations": 0,
      "mcps": [
        {
          "args": [
            "string"
          ],
          "command": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "headers": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "max_sessions": 0,
          "proto": "string",
          "resource": "string",
          "start_timeout": -9223372036854776000,
          "transport": "stdio",
          "url": "string"
        }
      ],
      "memory": [
        {
          "id": "string",
          "key": "string",
          "mode": "read-write"
        }
      ],
      "model": {
        "config": {
          "api_key": "string",
          "api_url": "string",
          "default": true,
          "max_tool_iterations": 0,
          "model": "string",
          "organization": "string",
          "params": {
            "max_length": 0,
            "max_tokens": 0,
            "min_length": 0,
            "repetition_penalty": 0,
            "seed": 0,
            "stop_words": [
              "string"
            ],
            "temperature": 0,
            "top_k": 0,
            "top_p": 0
          },
          "provider": "openai"
        }
      },
      "resource": "string",
      "tools": [
        {
          "config": {
            "property1": null,
            "property2": null
          },
          "cwd": {
            "path": "string"
          },
          "description": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          },
          "id": "string",
          "input": {
            "property1": null,
            "property2": null
          },
          "output": {
            "property1": null,
            "property2": null
          },
          "resource": "string",
          "timeout": "string",
          "with": {
            "property1": null,
            "property2": null
          }
        }
      ],
      "with": {
        "property1": null,
        "property2": null
      }
    },
    "attachments": [
      null
    ],
    "batch": 0,
    "batch_size": 0,
    "clear_config": {
      "backup": true,
      "confirm": true
    },
    "condition": "string",
    "config": {
      "heartbeat_timeout": "string",
      "on_error": {
        "next": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      },
      "retry_policy": {
        "backoff_coefficient": 0,
        "initial_interval": "string",
        "maximum_attempts": 0,
        "maximum_interval": "string",
        "non_retryable_error_types": [
          "string"
        ]
      },
      "schedule_to_close_timeout": "string",
      "schedule_to_start_timeout": "string",
      "start_to_close_timeout": "string"
    },
    "env": {
      "property1": "string",
      "property2": "string"
    },
    "filter": "string",
    "final": true,
    "flush_config": {
      "dry_run": true,
      "force": true,
      "max_keys": 0,
      "strategy": "string",
      "threshold": 0
    },
    "has_subtasks": true,
    "health_config": {
      "check_connectivity": true,
      "include_stats": true
    },
    "id": "string",
    "index_var": "string",
    "input": {
      "property1": null,
      "property2": null
    },
    "item_var": "string",
    "items": null,
    "key_template": "string",
    "max_iterations": 0,
    "max_keys": 0,
    "max_workers": 0,
    "mcps": [
      {
        "args": [
          "string"
        ],
        "command": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "headers": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "max_sessions": 0,
        "proto": "string",
        "resource": "string",
        "start_timeout": -9223372036854776000,
        "transport": "stdio",
        "url": "string"
      }
    ],
    "memory": [
      {
        "id": "string",
        "key": "string",
        "mode": "read-write"
      }
    ],
    "memory_ref": "string",
    "mode": "string",
    "model_config": {
      "api_key": "string",
      "api_url": "string",
      "default": true,
      "max_tool_iterations": 0,
      "model": "string",
      "organization": "string",
      "params": {
        "max_length": 0,
        "max_tokens": 0,
        "min_length": 0,
        "repetition_penalty": 0,
        "seed": 0,
        "stop_words": [
          "string"
        ],
        "temperature": 0,
        "top_k": 0,
        "top_p": 0
      },
      "provider": "openai"
    },
    "on_error": {
      "next": "string",
      "with": {
        "property1": null,
        "property2": null
      }
    },
    "on_success": {
      "next": "string",
      "with": {
        "property1": null,
        "property2": null
      }
    },
    "on_timeout": "string",
    "operation": "read",
    "output": {
      "property1": null,
      "property2": null
    },
    "outputs": {
      "property1": null,
      "property2": null
    },
    "payload": null,
    "prompt": "string",
    "resource": "string",
    "retries": 0,
    "routes": {
      "property1": null,
      "property2": null
    },
    "signal": {
      "id": "string",
      "payload": {
        "property1": null,
        "property2": null
      }
    },
    "signal_name": "string",
    "sleep": "string",
    "stats_config": {
      "group_by": "string",
      "include_content": true
    },
    "strategy": "string",
    "subtask_ids": [
      "string"
    ],
    "timeout": "string",
    "tool": {
      "config": {
        "property1": null,
        "property2": null
      },
      "cwd": {
        "path": "string"
      },
      "description": "string",
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "id": "string",
      "input": {
        "property1": null,
        "property2": null
      },
      "output": {
        "property1": null,
        "property2": null
      },
      "resource": "string",
      "timeout": "string",
      "with": {
        "property1": null,
        "property2": null
      }
    },
    "tools": [
      {
        "config": {
          "property1": null,
          "property2": null
        },
        "cwd": {
          "path": "string"
        },
        "description": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "resource": "string",
        "timeout": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ],
    "type": "basic",
    "wait_for": "string",
    "with": {
      "property1": null,
      "property2": null
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

List all tools

Retrieve a list of all available tool configurations

GET
/workflows/{workflow_id}/tools

Path Parameters

workflow_idstring

Workflow ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tools"
{
  "data": {
    "tools": [
      {
        "config": {
          "property1": null,
          "property2": null
        },
        "cwd": {
          "path": "string"
        },
        "description": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "resource": "string",
        "timeout": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Get tool by ID

Retrieve a specific tool configuration by its ID

GET
/workflows/{workflow_id}/tools/{tool_id}

Path Parameters

workflow_idstring

Workflow ID

tool_idstring

Tool ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tools/string"
{
  "data": {
    "config": {
      "property1": null,
      "property2": null
    },
    "cwd": {
      "path": "string"
    },
    "description": "string",
    "env": {
      "property1": "string",
      "property2": "string"
    },
    "id": "string",
    "input": {
      "property1": null,
      "property2": null
    },
    "output": {
      "property1": null,
      "property2": null
    },
    "resource": "string",
    "timeout": "string",
    "with": {
      "property1": null,
      "property2": null
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}