Authorizations
Body
application/json
curl --request POST \
--url http://localhost:3773/tasks/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tasks/list",
"params": {},
"id": "550e8400-e29b-41d4-a716-446655440099"
}'{
"jsonrpc": "2.0",
"id": "550e8400-e29b-41d4-a716-446655440099",
"result": [
{
"id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"kind": "task",
"status": {
"state": "completed",
"timestamp": "2025-11-03T12:49:02.412720+00:00"
},
"history": [
{
"message_id": "550e8400-e29b-41d4-a716-446655440038",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"kind": "message",
"parts": [
{
"kind": "text",
"text": "whats the capital if india"
}
],
"role": "user"
},
{
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "The capital of India is New Delhi."
}
],
"kind": "message",
"message_id": "fd8005a5-d6b5-4034-8b9c-69eba430df51",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038"
}
],
"artifacts": [
{
"artifact_id": "06f49bb5-b613-456a-867f-325695fb83e8",
"name": "result",
"parts": [
{
"kind": "text",
"text": "The capital of India is New Delhi.",
"metadata": {
"did.message.signature": "46H7kmidBa2vvThxLfkSi2mZiseEDQw9surE8SC8bPsbthBM2arzLqdBbhTCtxhzJCJhBtrQPGsf3CinEMseMdWr"
}
}
]
}
]
}
]
}Get a list of all tasks
curl --request POST \
--url http://localhost:3773/tasks/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tasks/list",
"params": {},
"id": "550e8400-e29b-41d4-a716-446655440099"
}'{
"jsonrpc": "2.0",
"id": "550e8400-e29b-41d4-a716-446655440099",
"result": [
{
"id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"kind": "task",
"status": {
"state": "completed",
"timestamp": "2025-11-03T12:49:02.412720+00:00"
},
"history": [
{
"message_id": "550e8400-e29b-41d4-a716-446655440038",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"kind": "message",
"parts": [
{
"kind": "text",
"text": "whats the capital if india"
}
],
"role": "user"
},
{
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "The capital of India is New Delhi."
}
],
"kind": "message",
"message_id": "fd8005a5-d6b5-4034-8b9c-69eba430df51",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038"
}
],
"artifacts": [
{
"artifact_id": "06f49bb5-b613-456a-867f-325695fb83e8",
"name": "result",
"parts": [
{
"kind": "text",
"text": "The capital of India is New Delhi.",
"metadata": {
"did.message.signature": "46H7kmidBa2vvThxLfkSi2mZiseEDQw9surE8SC8bPsbthBM2arzLqdBbhTCtxhzJCJhBtrQPGsf3CinEMseMdWr"
}
}
]
}
]
}
]
}Was this page helpful?