GetRLTrajectory
Retrieves the multi-turn generation details of a single RL trajectory for a DLC job.
Operation description
Retrieves the multi-turn generation details of a single RL trajectory for a DLC job.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/jobs/{JobId}/rltrace/trajectory HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The job ID. |
dlc5yfk7eyg95lac |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PromptUid |
string |
Yes |
The sample UID. |
3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c |
| SampleIndex |
string |
Yes |
The trajectory index. |
14 |
| StartTime |
string |
No |
The start time of the query window in UTC RFC 3339 format. Default value: EndTime-7d. |
2026-08-04T00:00:00Z |
| EndTime |
string |
No |
The end time of the query window in UTC RFC 3339 format. Default value: now. |
2026-08-07T00:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| JobId |
string |
The job ID. |
dlc-20210114104214-vf9lowjt3pso |
| PromptUid |
string |
The sample UID. |
3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c |
| SampleIndex |
string |
The trajectory index. |
14 |
| Turns |
array<object> |
The raw sgl-metric rows for each turn. The schema is dynamic and retains Logstore column names. JSON strings are parsed back into objects, and system fields with the __ prefix are excluded. |
|
|
object |
The multi-turn generation record. |
{"prompt_uid":"3afcfbdf-3956-4ab2-b9cb-f9c204b8fc9c","sample_index":"14","turns":[{"turn_index":0,"completion_text":"hi"}]} |
|
| TotalCount |
integer |
The number of turn rows. The maximum number of turns per trajectory is 100. |
1 |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"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"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.