统一模型接入与用量管理 立即注册
蓝天
原站参考文档

以下为胜算云公开资料。文中的原站账号、地址、定价和专有服务不属于蓝天;蓝天可用模型以当前 sub2api 配置为准。接入蓝天请先查看 快速开始。

查看原文

GET 查询任务结果行

GET /loom/v1/users/me/runs/{run}/resultRows 查询任务结果行
所属分组:Runs · 任务运行
Returns row-level input and result aggregation for one LoomLoom run. The caller's credential is forwarded to LoomLoom Core for access control.

BASE URLhttps://router.shengsuanyun.com/api
认证方式Authorization: Bearer YOUR_API_KEY

端点列表

← 上一页
查询任务产物列表
下一页 →
下载任务结果工作簿

接口参考

以下为原文协议定义与示例,原站地址不代表蓝天已开通对应能力。蓝天接入地址和模型以本地配置为准。

蓝天 API 密钥
GET/loom/v1/users/me/runs/{run}/resultRowsList run result rows

Returns row-level input and result aggregation for one LoomLoom run. The caller's credential is forwarded to LoomLoom Core for access control.

请求参数

参数位置 / 类型说明
run必填path / anyRun ID
pageSizequery / anyPage size. Default 50, max 200.
pageTokenquery / anyPage token

请求示例

参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。

curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/users/me/runs/{run}/resultRows' \
  -H 'Authorization: Bearer YOUR_API_KEY'

响应

200 OK

application/json

字段类型说明
itemsarray
展开结构

array

数组元素
字段类型说明
artifactsarray
展开结构

array

数组元素
字段类型说明
accessUrlstring
artifactIdstring
createdAtUnixinteger
inlineTextstring
mimeTypestring
portNamestring
stepIdstring
errorMessagestring
inputJsonstring
loopsarray
展开结构

array

数组元素
字段类型说明
acceptedIterationinteger
actualCostinteger
costIncompleteboolean
feesarray
展开结构

array

数组元素

嵌套结构:object

iterationsinteger
loopIdstring
statusstring
rowIndexinteger
statusstring
stepErrorsarray
展开结构

array

数组元素
字段类型说明
errorCodestring
errorMessagestring
errorUrlstring
statusstring
stepIdstring
stepLabelstring
valuesarray
展开结构

array

数组元素
字段类型说明
executionIdstring
portIdstring
stepIdstring
valueany
nextPageTokenstring
totalCountinteger
{
  "items": [
    {
      "artifacts": [
        {
          "accessUrl": "string",
          "artifactId": "string",
          "createdAtUnix": 0,
          "inlineText": "string",
          "mimeType": "string",
          "portName": "string",
          "stepId": "string"
        }
      ],
      "errorMessage": "string",
      "inputJson": "string",
      "loops": [
        {
          "acceptedIteration": 0,
          "actualCost": 0,
          "costIncomplete": false,
          "fees": [
            {
              "completionTokens": null,
              "cost": null,
              "costKnown": null,
              "executionId": null,
              "iteration": null,
              "modelId": null,
              "promptTokens": null,
              "status": null,
              "stepId": null
            }
          ],
          "iterations": 0,
          "loopId": "string",
          "status": "string"
        }
      ],
      "rowIndex": 0,
      "status": "string",
      "stepErrors": [
        {
          "errorCode": "string",
          "errorMessage": "string",
          "errorUrl": "string",
          "status": "string",
          "stepId": "string",
          "stepLabel": "string"
        }
      ],
      "values": [
        {
          "executionId": "string",
          "portId": "string",
          "stepId": "string",
          "value": "string"
        }
      ]
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
400 Bad Request

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
401 Unauthorized

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
403 Forbidden

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
404 Not Found

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
500 Internal Server Error

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}