Returns result artifacts for one LoomLoom run. The caller's credential is forwarded to LoomLoom Core for access control.
请求参数 参数 位置 / 类型 说明 run必填 path / any Run ID pageSizequery / any Page size. Default 100, max 200.
请求示例 参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
cURL Python JavaScript
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/users/me/runs/{run}/artifacts' \
-H 'Authorization: Bearer YOUR_API_KEY'响应 200 OKapplication/json 字段 类型 说明 itemsarray 展开结构 array
数组元素 字段 类型 说明 accessUrlstring artifactIdstring createdAtUnixinteger inlineTextstring mimeTypestring portNamestring sourceRowIndexinteger stepIdstring taskIdstring
totalCountinteger
{
"items": [
{
"accessUrl": "string",
"artifactId": "string",
"createdAtUnix": 0,
"inlineText": "string",
"mimeType": "string",
"portName": "string",
"sourceRowIndex": 0,
"stepId": "string",
"taskId": "string"
}
],
"totalCount": 0
}400 Bad Requestapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}401 Unauthorizedapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}403 Forbiddenapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}404 Not Foundapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}500 Internal Server Errorapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}