Skip to main content
PUT
/
agents
/
{agentId}
/
guardrails
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "organizationId": "<string>",
      "appliesToSkillType": "<string>",
      "config": {},
      "isEnabled": true
    }
  ],
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

agentId
string
required

Body

application/json
id
string
required
agentId
string
required
organizationId
string
required
policyType
enum<string>
required
Available options:
verify_before_disclose,
allowed_fields,
write_gate,
rate_limit,
business_hours,
content_policy
appliesToSkillType
string
config
object
isEnabled
boolean

Response

Saved policies.

success
boolean
required
data
object[]
required
message
string
errors
object[]