Send task, send message, or get task

post

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

Execute a JSON-RPC operation against a published workflow. Supported methods are `tasks/send`, `message/send`, and `tasks/get`.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match One Schema
Show Source
Nested Schema : SendTaskJSONRPCRequest
Type: object
Show Source
Nested Schema : SendMessageJSONRPCRequest
Type: object
Show Source
Nested Schema : GetTaskJSONRPCRequest
Type: object
Show Source
Nested Schema : TaskSendRequest
Match All
Show Source
Nested Schema : TaskQueryRequest
Match All
Show Source
Nested Schema : TaskIdRequest
Type: object
Show Source
Nested Schema : TaskQueryRequest-allOf[1]
Type: object
Show Source
Nested Schema : TaskSendRequest-allOf[1]
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Optional metadata associated with the request.
Nested Schema : Message
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : parts
Type: array
Show Source
Nested Schema : TextPart
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : MessageSendParams
Type: object
Show Source
Nested Schema : MessageSendConfiguration
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : acceptedOutputModes
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Operation completed or task state retrieved.
Body ()
Root Schema : schema
Match One Schema
Show Source
Nested Schema : TaskResponse
Type: object
Show Source
Nested Schema : SendMessageResponse
Type: object
Show Source
Nested Schema : JSONRPCError
Type: object
Show Source
Nested Schema : Task
Type: object
Show Source
Nested Schema : artifacts
Type: array
Show Source
Nested Schema : history
Type: array
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : TaskStatus
Type: object
Show Source
Nested Schema : Artifact
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : parts
Type: array
Show Source
Nested Schema : TextPart
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : Message
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : parts
Type: array
Show Source

400 Response

Invalid request or unsupported JSON-RPC method.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

Workflow not found.
Back to Top