列出训练任务
GET
/v3/training此 API 可帮助获取所有用户培训任务的信息。
请求参数
Header 参数
Authorization
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
array [oneOf]
可选
array[string]
可选
object
可选
task_name
string
任务名称
task_id
string
任务编号
task_type
string
任务类型
task_status
string
任务训练状态
created_at
integer
任务创建时间戳
models
array [object {2}]
必需
object
可选
next_cursor
string
可选
示例
[
[
{
"task_name": "test_01",
"task_id": "a0c4cc90-0296-4972-a1d8-e6e227daf094",
"task_type": "subject",
"task_status": "SUCCESS",
"created_at": 1699325415,
"models": [
{
"model_name": "model_1699325939_E83A88DAC5.safetensors",
"model_status": "SERVING"
}
]
},
{
"task_name": "test_02",
"task_id": "51e9bf41-8f7a-464d-b5ad-2fa217a1ec93",
"task_type": "subject",
"task_status": "SUCCESS",
"created_at": 1699267268,
"models": [
{
"model_name": "model_1699267603_27F0D9C81C.safetensors",
"model_status": "SERVING"
}
]
},
{
"task_name": "test_03",
"task_id": "7bd205ab-63e9-452b-9a66-39c597000eaa",
"task_type": "subject",
"task_status": "FAILED",
"created_at": 1699264338,
"models": []
}
],
{
"next_cursor": "c_10"
}
]
最后修改时间: 1 年前