GET
/api/tasks
Authentication
Bearer Token (BearerAuth)
Headers
X-Target-Serverstringrequired
Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)
Responses
200
Paginated list of tasks
Response Fields:
page(integer)page_size(integer)tasks(object[])total(integer)
Example:
{
"page": 0,
"page_size": 0,
"tasks": [
{
"id": "string",
"status": "string",
"created_at": "string",
"last_activity_at": "string",
"request_count": 0,
"summary": "string"
}
],
"total": 0
}