API 参考
Get agent policy
Returns the current agent policy for the organization and environment, or the default policy if none exists.
GET
/v1/agent/policyAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/agent/policy"{
"id": "string",
"allowed_tools": [
"string"
],
"require_approval": true,
"created_at": "string",
"updated_at": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}这篇文档怎么样?
最后更新
Restore an agent session POST
恢复指定标识对应的已撤销 StableOps Agent 会话,使其能够在原组织和环境范围内再次请求动作;适用于管理员确认风险已解除后恢复受控访问,同时保留既有会话身份与审计链路。查阅请求参数、鉴权要求和返回结构,把会话恢复操作安全接入管理后台或运维流程。
Upsert agent policy POST
为当前组织和环境创建或更新 StableOps Agent 策略,配置允许的工具、审批阈值与相关限制,让自动化动作始终遵守明确授权边界,并为后续请求保留可审计的策略依据。查阅请求字段、校验规则和响应结构,将策略配置可靠接入管理后台或基础设施自动化流程。