GET 查询我的私有模板列表
GET /loom/v1/users/me/templates 查询我的私有模板列表
所属分组:User Templates · 用户私有模板
Returns private template summaries for the authenticated user. The response intentionally excludes workflow specs, hidden prompts, runtime config, and Market release package internals.
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
GET/loom/v1/users/me/templatesList my private templates
Returns private template summaries for the authenticated user. The response intentionally excludes workflow specs, hidden prompts, runtime config, and Market release package internals.
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
status | query / any | Template status filter. Default active. |
pageSize | query / any | Page size. Default 100, max 500. |
pageOffset | query / any | Page offset. Default 0. |
请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/users/me/templates' \
-H 'Authorization: Bearer YOUR_API_KEY'响应
200 OK
application/json
| 字段 | 类型 | 说明 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items | array | 展开结构
数组元素
| |||||||||||||||||||||||||||
totalCount | integer |
{
"items": [
{
"description": "string",
"latestVersionId": "string",
"name": "string",
"primaryOutputType": "string",
"publishedVersionId": "string",
"status": "string",
"templateId": "string",
"updatedAtUnix": 0
}
],
"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"
}500 Internal Server Error
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}