Workspace
生成 Agent Token
为 Agent 生成新的 JWT Token
post/workspace/{workspaceId}/agents/{agentId}/token
Request
- Base URLhttp://localhost:3200/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspaceIdstring required
agentIdstring required
Response
成功
Example response
{
"ok": true,
"data": {
"expiresIn": "7d"
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.