Trigger workflow stream

post

<servername>/orchestrator/internal/agent/v1/api/fusion-ai/orchestrator/a2a/v1/{workflowCode}

Trigger an agent workflow and stream the generated response back to the caller.

Request

Path Parameters
Query Parameters
  • Identifier for the caller triggering the workflow.
    Example:
    chatbot
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : agentConfig
Type: object
Additional Properties Allowed: true
Agent configuration used for triggering the workflow.
Nested Schema : llmConfig
Type: object
Additional Properties Allowed: true
Large language model configuration used for triggering the workflow.
Nested Schema : InvocationRequest
Type: object
Show Source
Nested Schema : toolsConfig
Type: object
Additional Properties Allowed: true
Tool configuration available to the agent for triggering the workflow.
Nested Schema : workflowConfig
Type: object
Additional Properties Allowed: true
The configuration used for triggering the workflow.
Back to Top

Response

Supported Media Types

200 Response

Workflow triggered successfully. Response is streamed to the caller.
Body ()
Root Schema : InvokeStreamEvent
Type: string
Server-sent event stream containing incremental agent response chunks, tool events, metadata, and completion events.

400 Response

Could not trigger workflow because the request is invalid.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

401 Response

Authentication failed.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

Workflow not found.

500 Response

Internal server error while triggering the workflow.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Back to Top