agent-swarm.devagent-swarm.dev

WorkflowEvents

Subscribe to and manage workflow lifecycle events — run status, step completions, failures, and convergence gates for DAG orchestration

POST
/api/workflow-events

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "http://localhost:3013/api/workflow-events" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "ok": true,
  "name": "string"
}
{
  "error": "string",
  "property1": null,
  "property2": null
}
POST
/api/workflow-runs/{runId}/events

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

runId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:3013/api/workflow-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/events" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "ok": true,
  "name": "string",
  "runId": "string"
}
{
  "error": "string",
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "property1": null,
  "property2": null
}