查询运行时清单

查询指定运行时清单。

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"

字段

类型

必填

说明

workspace_id

string

读取清单的工作区 ID。

manifest_id

string

运行时清单 ID。

成功响应

成功时返回 200 和运行时清单。

{"code":0,"data":{"id":"manifest_01"}}

字段

类型

说明

data.id

string

清单 ID。

data.task_id

string

关联的运行时任务 ID。

data.runtime_provider

string

本次运行选择的提供方。

data.runtime_profile

string

本次运行选择的 Profile。

错误响应

{"code":5,"message":"manifest not found"}

字段

类型

说明

code

integer

错误代码。

message

string

面向调用者的错误信息。

最后更新于