AI agents
Replace your agent policy
put/v1/agent/policy
Request
- Base URL: https://www.layercall.com
- URL: https://www.layercall.com/v1/agent/policy
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Response
Success
Example response
{
"note": "Rules are evaluated in order; the first match wins. Defaults apply when none match.",
"rules": [
{
"action": "deny",
"methods": [
"POST"
],
"reason": "Write on nobody's behalf",
"trigger": "crawler"
}
],
"saved": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.