Overview
A2ARemoteWorkflow wraps a remote workflow endpoint, making it callable like a local workflow.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Agentium 4.0.0 · Upgrade from 3.x.
Execute remote workflow endpoints
A2ARemoteWorkflow wraps a remote workflow endpoint, making it callable like a local workflow.
import { A2ARemoteWorkflow } from "@agentium/core";
const remoteWorkflow = new A2ARemoteWorkflow({
url: "https://api.example.com",
name: "data-pipeline",
});
const result = await remoteWorkflow.run({ startDate: "2024-01-01" });
console.log(result);
| Option | Type | Default | Description |
|---|---|---|---|
url | string | required | Base URL of the remote server |
name | string | "remote-workflow" | Workflow name |
headers | Record<string, string> | — | Custom headers |
timeoutMs | number | 120000 | Request timeout |