GET /.well-known/agent-card.json HTTP/1.1
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "SendMessage",
"params": {
"message": {
"messageId": "msg-1",
"role": "ROLE_USER",
"parts": [{"text": "Hello"}]
}
}
}
POST / HTTP/1.1
Content-Type: application/json
Accept: text/event-stream
{
"jsonrpc": "2.0",
"id": 2,
"method": "SendStreamingMessage",
"params": {
"message": {
"messageId": "msg-1",
"role": "ROLE_USER",
"parts": [{"text": "Hello"}]
}
}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 3,
"method": "GetTask",
"params": {"id": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 4,
"method": "ListTasks",
"params": {}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 5,
"method": "CancelTask",
"params": {"id": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
Accept: text/event-stream
{
"jsonrpc": "2.0",
"id": 6,
"method": "SubscribeToTask",
"params": {"id": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 7,
"method": "CreateTaskPushNotificationConfig",
"params": {
"taskId": "task-123",
"url": "https://example.com/webhook"
}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 8,
"method": "GetTaskPushNotificationConfig",
"params": {"id": "config-1", "taskId": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 9,
"method": "ListTaskPushNotificationConfigs",
"params": {"taskId": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 10,
"method": "DeleteTaskPushNotificationConfig",
"params": {"id": "config-1", "taskId": "task-123"}
}
POST / HTTP/1.1
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 11,
"method": "GetExtendedAgentCard",
"params": {}
}