Skip to main content
POST
curl --request POST \
  --url http://localhost:3773/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "message/send",
  "params": {
    "message": {
      "role": "user",
      "parts": [
        {
          "kind": "text",
          "text": "provide sunset quote"
        }
      ],
      "kind": "message",
      "messageId": "550e8400-e29b-41d4-a716-446655440038",
      "contextId": "550e8400-e29b-41d4-a716-446655440038",
      "taskId": "550e8400-e29b-41d4-a716-446655440078"
    },
    "configuration": {
      "acceptedOutputModes": [
        "application/json"
      ]
    }
  },
  "id": "550e8400-e29b-41d4-a716-446655440024"
}
'
{
  "jsonrpc": "2.0",
  "result": {
    "task": {
      "taskId": "550e8400-e29b-41d4-a716-446655440078",
      "contextId": "550e8400-e29b-41d4-a716-446655440038",
      "status": {
        "state": "completed",
        "timestamp": "2025-10-26T14:47:52.183416+00:00"
      },
      "artifacts": [
        {
          "kind": "text",
          "text": "The sunset paints the sky with hope for tomorrow."
        }
      ]
    }
  },
  "id": "550e8400-e29b-41d4-a716-446655440024"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
string
required

JSON-RPC method name

id
string
required

Request identifier

params
object

Method-specific parameters

Response

200 - application/json

JSON-RPC response (success or error)

jsonrpc
enum<string>
required
Available options:
2.0
id
string
required
result
object

Result object (present on success)

error
object

Error object (present on error)