/a2a method calls use JSON-RPC 2.0 over HTTPS. Public agent discovery uses GET /.well-known/agent-card.json.
Endpoints
Base URL:
https://api.clix.so
Headers
JSON-RPC Methods
SendMessage
Creates and executes a task synchronously. The response returns when the task reaches a terminal or interrupted state. RequestSendStreamingMessage
Creates a task and streams task events over Server-Sent Events. The SSE stream does not emit rawStreamResponse objects. Each data: line contains a JSON-RPC response envelope:
Current built-in Clix skills emit
statusUpdate events. They do not currently emit artifactUpdate events during streaming.GetTask
Reads a task by ID. RequestGetTask returns the task directly as result, not inside result.task.
ListTasks
Lists tasks with cursor pagination. Supported params:
Request
On the first page,
totalSize contains the total matching count. On later cursor requests, the current Clix implementation returns 0.CancelTask
Cancels a non-terminal task. Requestresult, with status.state set to canceled.
SubscribeToTask
Streams the current state of an existing task over SSE. RequestThe current Clix implementation emits a single status snapshot for the current task state and closes the stream. It does not resume a live execution stream.
CreateTaskPushNotificationConfig
Registers a webhook for task events. RequestGetTaskPushNotificationConfig
Reads a single task webhook config. RequesttaskId and id are required.
ListTaskPushNotificationConfigs
Lists webhook configs for a task. RequestnextPageToken.
DeleteTaskPushNotificationConfig
Deletes a task webhook config. RequesttaskId and id are required.
Response
GetExtendedAgentCard
Returns the authenticated Agent Card. RequestData Types
Task
Message
Part
Artifact
TaskPushNotificationConfig
Task States
Error Codes
JSON-RPC Standard Errors
A2A-Specific Errors
Idempotency Conflicts
SendMessage uses idempotency. If the same idempotency key is already in progress, or if the same key is reused with a different request body, Clix responds with HTTP 409 Conflict and a JSON-RPC error body using code -32603.