GetRLTrajectory - 查询 DLC 作业 RL 轨迹多轮生成明细

更新时间:
复制 MD 格式

获取DLC作业单条RL轨迹的多轮生成明细。

接口说明

获取 DLC 作业单条 RL 轨迹的多轮生成明细

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /api/v1/jobs/{JobId}/rltrace/trajectory HTTP/1.1

路径参数

名称

类型

必填

描述

示例值

JobId

string

是

作业 ID

dlc5yfk7eyg95lac

请求参数

名称

类型

必填

描述

示例值

PromptUid

string

是

样本 uid

3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c

SampleIndex

string

是

轨迹序号

14

StartTime

string

否

查询窗口起始(UTC RFC3339),缺省 EndTime-7d

2026-08-04T00:00:00Z

EndTime

string

否

查询窗口截止(UTC RFC3339),缺省 now

2026-08-07T00:00:00Z

返回参数

名称

类型

描述

示例值

object

Schema of Response

JobId

string

作业 ID

dlc-20210114104214-vf9lowjt3pso

PromptUid

string

样本 uid

3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c

SampleIndex

string

轨迹序号

14

Turns

array<object>

sgl-metric 逐 turn 原始行(动态 schema,保留 logstore 列名,字符串形态 JSON 已解析回对象,剔除 __ 前缀系统字段)

object

多轮生成记录

{"prompt_uid":"3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c","sample_index":"14","turns":[{"turn_index":0,"completion_text":"hi"}]}

TotalCount

integer

turn 行数(单轨迹上限 100)

1

RequestId

string

请求 ID

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

示例

正常返回示例

JSON格式

{
  "JobId": "dlc-20210114104214-vf9lowjt3pso",
  "PromptUid": "3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c",
  "SampleIndex": "14",
  "Turns": [
    {
      "prompt_uid": "3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c",
      "sample_index": "14",
      "turns": [
        {
          "turn_index": 0,
          "completion_text": "hi"
        }
      ]
    }
  ],
  "TotalCount": 1,
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidParameter The specified parameter is not valid.
500 InternalServerError An internal error has occurred. Try again later.
403 OperationForbidden You are not authorized to access the specified job.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。