Tasks

Task management operations

Task management operations

List tasks

List tasks with cursor pagination. Optionally filter by workflow usage.

GET
/tasks

Query Parameters

project?string

Project override

workflow_id?string

Return only tasks referenced by the given workflow

limit?integer

Page size (max 500)

cursor?string

Opaque pagination cursor

q?string

Filter by task ID prefix

expand?array<string>

Expand fields (repeatable). E.g., expand=tools&expand=subtasks

Response Body

curl -X GET "https://loading/api/v0/tasks?project=string&workflow_id=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
    },
    "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"
        },
        "etag": "abc123",
        "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": {
            "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
          }
        },
        "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": [
                {
                  "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
            }
          }
        ],
        "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
}
{
  "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"
}

Export tasks

Write task YAML files for the active project.

POST
/tasks/export

Response Body

curl -X POST "https://loading/api/v0/tasks/export"
{
  "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
}

Import tasks

Read task YAML files from the project directory.

POST
/tasks/import

Query Parameters

strategy?string

seed_only|overwrite_conflicts

Value in"seed_only" | "overwrite_conflicts"

Response Body

curl -X POST "https://loading/api/v0/tasks/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 task

Retrieve a task configuration by ID.

GET
/tasks/{task_id}

Path Parameters

task_idstring

Task ID

Query Parameters

project?string

Project override

expand?array<string>

Expand fields (repeatable). E.g., expand=tools&expand=subtasks

Response Body

curl -X GET "https://loading/api/v0/tasks/string?project=string&expand=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"
    ],
    "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
    }
  },
  "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 task

Delete a task configuration. Returns conflict when referenced.

DELETE
/tasks/{task_id}

Path Parameters

task_idstring

Task ID

Query Parameters

project?string

Project override

Response Body

curl -X DELETE "https://loading/api/v0/tasks/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"
}

Create or update task

Create a task configuration when absent or update an existing one using strong ETag concurrency.

PUT
/tasks/{task_id}

Path Parameters

task_idstring

Task ID

Query Parameters

project?string

Project override

expand?array<string>

Expand fields (repeatable). E.g., expand=tools&expand=subtasks

Header Parameters

If-Match?string

Strong ETag for optimistic concurrency

Task configuration payload

Empty Object

Response Body

curl -X PUT "https://loading/api/v0/tasks/string?project=string&expand=string" \
  -H "If-Match: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "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"
    ],
    "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
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "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"
    ],
    "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
    }
  },
  "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"
}
{
  "code": "invalid_cursor",
  "detail": "Invalid cursor parameter",
  "instance": "/api/v0/workflows",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Execute task synchronously

Execute a task and wait for the output in the same HTTP response.

POST
/tasks/{task_id}/executions

Path Parameters

task_idstring

Task ID

Header Parameters

X-Idempotency-Key?string

Optional idempotency key to prevent duplicate execution

Execution request

timeout?integer

Timeout in seconds for synchronous execution.

with?core.Input

With passes structured input parameters to the task execution.

Empty Object

Response Body

curl -X POST "https://loading/api/v0/tasks/string/executions" \
  -H "X-Idempotency-Key: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "exec_id": "2Z4PVTL6K27XVT4A3NPKMDD5BG",
    "output": {
      "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
}
{
  "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
}

Start task execution asynchronously

Start an asynchronous task execution and return a polling handle.

POST
/tasks/{task_id}/executions/async

Path Parameters

task_idstring

Task ID

Header Parameters

X-Correlation-ID?string

Optional correlation ID for request tracing

Execution request

timeout?integer

Timeout in seconds for synchronous execution.

with?core.Input

With passes structured input parameters to the task execution.

Empty Object

Response Body

curl -X POST "https://loading/api/v0/tasks/string/executions/async" \
  -H "X-Correlation-ID: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "exec_id": "2Z4PVTL6K27XVT4A3NPKMDD5BG",
    "exec_url": "https://api.compozy.dev/api/v0/executions/tasks/2Z4PVTL6K27XVT4A3NPKMDD5BG"
  },
  "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
}