跳到主要内容

工作区状态

GET/research/workspace/status在线调试
GET https://api.shengkezhi.com/open/v1/research/workspace/status
等效 curl
curl "https://api.shengkezhi.com/open/v1/research/workspace/status" \
  -H "Authorization: Bearer sk_xxx"

GET /research/workspace/status — 工作区状态。

需在请求头携带 Authorization: Bearer sk_xxx

响应

响应 dataWorkspaceStatus

字段类型必填说明
initializedboolean当前用户 workspace 是否已初始化;false 时客户端应引导调用 init 拷贝模板数据。

数据模型

所有 $ref 引用的字段级定义,来自代码 DTO。

调用示例

curl "https://api.shengkezhi.com/open/v1/research/workspace/status" -H "Authorization: Bearer sk_xxx"
{
"code": 0,
"data": {
"initialized": true
},
"msg": "ok"
}