StableOps
API 参考

Get agent policy

Returns the current agent policy for the organization and environment, or the default policy if none exists.

GET/v1/agent/policy

Authorization

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"
}

这篇文档怎么样?

最后更新