Skip to content
English

List Tasks

GET /v1/tasks

Returns the tasks the current account created via /v1/tasks, ordered by created descending.

Authorization Bearer YOUR_API_KEY required

Account API key. Required on every request.

page int optional

Page number, >= 1.

default 1
size int optional

Items per page, 1 ≤ size ≤ 100.

default 10

Out-of-range page / size are normalized to defaults server-side.

{
"code": 200,
"message": "success",
"data": {
"page": 1,
"size": 10,
"total": 42,
"tasks": [
{
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../result.mp4",
"type": "video",
"expireAt": 1777886899
}
]
},
{
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282010,
"completed": 0
}
]
}
}