A2A: JSON-RPC

A2A JSON-RPC endpoint

A2A JSON-RPC 2.0 endpoint. The method field selects the operation; params must match that method's schema (see the oneOf below).

Supported methods:

  • SendMessage — Send a message to the agent (returns a Task or response Message).
  • SendStreamingMessage — Send a message and receive a Server-Sent Events stream.
  • GetTask — Fetch a task by ID.
  • ListTasks — List tasks with pagination and filtering.
  • CancelTask — Cancel an in-progress task.
  • CreateTaskPushNotificationConfig — Register a push-notification config on a task.
  • GetTaskPushNotificationConfig — Read a single push-notification config.
  • ListTaskPushNotificationConfigs — List all push-notification configs for a task.
  • DeleteTaskPushNotificationConfig — Delete a push-notification config.
  • SubscribeToTask — Subscribe to task events via Server-Sent Events.
  • GetExtendedAgentCard — Fetch the authenticated extended agent card.
post/a2a

Request

  • Base URL: https://api.moltrust.ch (the document declares no server; this is the origin it was published from)
  • URL: https://api.moltrust.ch/a2a
  • Auth: none declared. Required headers: A2A-Version

Headers

A2A-Version'1.0' required

Request body

jsonrpc'2.0' required
method'SendMessage' | 'SendStreamingMessage' | 'GetTask' | 'ListTasks' | 'CancelTask' | 'CreateTaskPushNotificationConfig' | 'GetTaskPushNotificationConfig' | 'ListTaskPushNotificationConfigs' | 'DeleteTaskPushNotificationConfig' | 'SubscribeToTask' | 'GetExtendedAgentCard' required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.