更新时间:2025-11-28 GMT+08:00
获取仿真子任务输出文件-GetSimulationSubtaskListExportFile
功能介绍
本接口用于获取仿真子任务输出文件。
URI
GET https://{hostURL}/v2/{project_id}/sim/pm/simulations/{id}/files
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
project_id | 是 | String | 项目ID。 |
id | 是 | String | 仿真子任务ID |
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
type | 是 | String | 文件类型信息,支持如下4个选项:
|
请求参数
无
响应参数
状态码:200
参数 | 参数类型 | 描述 |
|---|---|---|
algorithm_log_url | String | 算法日志链接。 |
evaluation_log_url | String | 评测日志链接。 |
sim_osi_url | String | 仿真pb文件链接。 |
evaluation_url | String | 评测pb文件链接。 |
请求示例
http://{endpoint}/v2/{project_id}/sim/pm/simulations/41994/files?type=algorithm_log
http://{endpoint}/v2/{project_id}/sim/pm/simulations/41994/files?type=evaluation_log
http://{endpoint}/v2/{project_id}/sim/pm/simulations/41994/files?type=sim_osi
http://{endpoint}/v2/{project_id}/sim/pm/simulations/41994/files?type=evaluation 响应示例
状态码:200
请求成功
type=algorithm_log响应:
{
"algorithm_log_url": "https://obs.cn-north-x.xxx.huawei.com/octopus-raw-xxx"
}
type=evaluation_log响应:
{
"evaluation_log_url": "https://obs.cn-north-x.xxx.huawei.com/octopus-raw-xxx.eva.log?xxx"
}
type=sim_osi响应:
{
"sim_osi_url": "https://obs.cn-north-x.xxx.huawei.com/octopus-raw-xxx.osi.pb?xxx"
}
type=evaluation响应:
{
"sim_osi_url": "https://obs.cn-north-x.xxx.huawei.com/octopus-raw-xxx.eva.pb?xxx"
} 状态码
状态码 | 描述 |
|---|---|
200 | 请求成功 |
错误码
请参见错误码。
父主题:仿真子任务

