v1
latestSwagger 2.02026-07-172964242.9 KBHost
List host tasks
Lists all tasks for a host.
get/v1/hosts/{host_id}/tasks
Path parameters
host_idstring required
A user-specified identifier. Must be 1-36 characters, contain only lower-cased letters and hyphens, start and end with a letter or number, and not contain consecutive hyphens.
Query parameters
after_task_idstring uuid
ID of the task to start from.
limitinteger
Maximum number of tasks to return.
sort_order'asc' | 'ascend' | 'ascending' | 'desc' | 'descend' | 'descending'
Sort order for the tasks.
Response
OK response.
Example response
{
"tasks": [
{
"completed_at": "2025-06-18T17:54:36Z",
"created_at": "2025-06-18T17:54:28Z",
"entity_id": "host-1",
"host_id": "host-1",
"scope": "host",
"status": "completed",
"task_id": "0197842d-9082-7496-b787-77bd2e11809f",
"type": "remove_host"
}
]
}