查询运行时清单¶
查询指定运行时清单。
GET https://moi.matrixorigin.cn/newmoi/workspaces/{workspace_id}/agent-runtime-manifests/{manifest_id}
调用前准备¶
准备具有目标工作区访问权限的个人访问令牌和目标工作区 ID。
请求参数¶
curl "https://moi.matrixorigin.cn/newmoi/workspaces/$WORKSPACE_ID/agent-runtime-manifests/$MANIFEST_ID" -H "X-API-Key: $AI_STUDIO_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
字段 |
类型 |
必填 |
说明 |
|---|---|---|---|
|
string |
是 |
读取清单的工作区 ID。 |
|
string |
是 |
运行时清单 ID。 |
成功响应¶
成功时返回 200 和运行时清单。
{"code":0,"data":{"id":"manifest_01"}}
字段 |
类型 |
说明 |
|---|---|---|
|
string |
清单 ID。 |
|
string |
关联的运行时任务 ID。 |
|
string |
本次运行选择的提供方。 |
|
string |
本次运行选择的 Profile。 |
错误响应¶
{"code":5,"message":"manifest not found"}
字段 |
类型 |
说明 |
|---|---|---|
|
integer |
错误代码。 |
|
string |
面向调用者的错误信息。 |
最后更新于