Skip to main content
POST
/
tasks
/
get
Get Task Status
curl --request POST \
  --url http://localhost:3773/tasks/get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "tasks/get",
  "params": {
    "taskId": "550e8400-e29b-41d4-a716-446655440013"
  },
  "id": "550e8400-e29b-41d4-a716-446655440014"
}'
{
"jsonrpc": "2.0",
"id": "550e8400-e29b-41d4-a716-446655440025",
"result": {
"id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"kind": "task",
"status": {
"state": "completed",
"timestamp": "2025-11-03T13:01:44.366282+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": "provide sunset caption"
}
],
"role": "user"
},
{
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "Which platform should I format the sunset caption for? (Options: Instagram, Pinterest, General, Other)"
}
],
"kind": "message",
"message_id": "a4d0c7d8-8046-4eb6-8958-d533086d15a0",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038"
},
{
"message_id": "550e8400-e29b-41d4-a716-446655440027",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"kind": "message",
"parts": [
{
"kind": "text",
"text": "instagram"
}
],
"role": "user"
},
{
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "\"Chasing sunsets and dreams. πŸŒ… #SunsetLovers #GoldenHour\""
}
],
"kind": "message",
"message_id": "c4ae54a1-4b34-450d-86ff-2ef00f1d4719",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038"
}
],
"artifacts": [
{
"artifact_id": "bbdc65fc-cacc-40d0-8c8a-fe3101c9a92b",
"name": "result",
"parts": [
{
"kind": "text",
"text": "\"Chasing sunsets and dreams. πŸŒ… #SunsetLovers #GoldenHour\"",
"metadata": {
"did.message.signature": "5sssfiNSSLJPQ91qFWFbtfyobQoBLagN1jLnBRbc3v3ygP8ttXqhT8sX84YMZmr8PhSrqcKo7NqfGMjjjvfVwkkL"
}
}
]
}
]
}
}

Authorizations

Authorization
string
header
required

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required
Available options:
tasks/get
params
object
required
id
string
required

Response

200 - application/json
jsonrpc
enum<string>
required
Available options:
2.0
result
object
required
id
string
required