Skip to main content
POST
Get Agent Task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Represents a JSON-RPC request for the tasks/get method.

id
required
params
TaskQueryParams · object
required

Defines parameters for querying a task, with an option to limit history length.

jsonrpc
string
default:2.0
Allowed value: "2.0"
method
string
default:tasks/get
Allowed value: "tasks/get"

Response

Agent task retrieved successfully

Represents a successful JSON-RPC response for the tasks/get method.

result
Task · object
required

Represents a single, stateful operation or conversation between a client and an agent.

id
jsonrpc
string
default:2.0
Allowed value: "2.0"