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
enum<string>
required
Available options:
message/send
params
object
required
id
string
required

Request identifier

Response

200 - application/json

Successful JSON-RPC response

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

Method-specific result

id
string
required