Workspace

生成 Agent Token

为 Agent 生成新的 JWT Token

post/workspace/{workspaceId}/agents/{agentId}/token

Path parameters

workspaceIdstring required
agentIdstring required

Response

成功

okboolean

Example response

{
  "ok": true,
  "data": {
    "expiresIn": "7d"
  }
}

Changes

No recorded changes to this endpoint across all 4 revisions of this API.