获取任务列表
GET
/v1/tasks 返回当前账号通过 /v1/tasks 创建的任务,按 created 倒序。
Authorization Bearer YOUR_API_KEY 必填 账号 API Key,所有请求必填。
page int 可选 页码,>= 1。
size int 可选 每页条数,1 ≤ size ≤ 100。
page / size 超出范围会被服务端归一化为默认值。
{ "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 } ] }}