GET List run step executions
GET /loom/v1/users/me/runs/{run}/stepExecutions
所属分组:Runs · 任务运行
Returns each node execution of one run: the stored input snapshot, outputs, errors, Code attempts with diagnostics, model call bills and Loop rounds. Only the caller who owns both the run and the template version it ran can read it; Market runs are not readable. Files appear as "artifact:<id>"; storage locations and signed URLs are never returned.
https://router.shengsuanyun.com/apiAuthorization: Bearer YOUR_API_KEY端点列表
GET/loom/v1/users/me/runs/{run}/stepExecutionsList run step executions
Returns each node execution of one run: the stored input snapshot, outputs, errors, Code attempts with diagnostics, model call bills and Loop rounds. Only the caller who owns both the run and the template version it ran can read it; Market runs are not readable. Files appear as "artifact:<id>"; storage locations and signed URLs are never returned.
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
run必填 | path / any | Run ID |
taskId | query / any | Only this task |
pageSize | query / any | Page size. Default 20, max 100. |
pageToken | query / any | Page token |
请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/users/me/runs/{run}/stepExecutions' \
-H 'Authorization: Bearer YOUR_API_KEY'响应
200 OK
application/json
| 字段 | 类型 | 说明 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items | array | 展开结构
数组元素
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
loopIterations | array | LoopIterations are the rounds of every Loop in the tasks on this page.展开结构LoopIterations are the rounds of every Loop in the tasks on this page.
数组元素
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nextPageToken | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
totalCount | integer |
{
"items": [
{
"artifacts": [
{
"artifactId": "string",
"contentSha256": "string",
"mimeType": "string",
"portId": "string",
"sizeBytes": 0
}
],
"code": {
"attempts": [
{
"attemptIndex": 0,
"committed": false,
"errorCode": "string",
"errorMessage": "string",
"finishedAtUnix": 0,
"startedAtUnix": 0,
"status": "string"
}
],
"diagnostic": {}
},
"errorCode": "string",
"errorMessage": "string",
"executionId": "string",
"executionIndex": 0,
"finishedAtUnix": 0,
"input": {},
"inputUnavailable": "string",
"iteration": 0,
"loopId": "string",
"model": {
"completionTokens": 0,
"cost": 0,
"currency": "string",
"gatewayRequestId": "string",
"imageCount": 0,
"modelName": "string",
"promptTokens": 0,
"provider": "string",
"providerRequestId": "string"
},
"runtimeKind": "string",
"sourceRowIndex": 0,
"startedAtUnix": 0,
"status": "string",
"stepId": "string",
"taskId": "string",
"values": [
{
"portId": "string",
"value": "string"
}
]
}
],
"loopIterations": [
{
"decisionAction": "string",
"decisionKind": "string",
"decisionPortId": "string",
"decisionStepId": "string",
"finishedAtUnix": 0,
"iteration": 0,
"loopId": "string",
"reason": "string",
"startedAtUnix": 0,
"state": {},
"stateOmitted": false,
"status": "string",
"taskId": "string"
}
],
"nextPageToken": "string",
"totalCount": 0
}400 Bad Request
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}401 Unauthorized
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}403 Forbidden
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}404 Not Found
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}500 Internal Server Error
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}