AI agents

Read your agent policy

get/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

Response

Success

defaults_apply_when_no_rule_matchesboolean
docsstring
processing_time_secnumber
request_idstring
updated_atstring

Example response

{
  "defaults_apply_when_no_rule_matches": true,
  "docs": "https://www.layercall.com/docs/agents",
  "processing_time_sec": 0.331,
  "request_id": "req_5d422a53-dd81-471f-9a22-56f646234324",
  "rules": [
    {
      "action": "deny",
      "methods": [
        "POST"
      ],
      "reason": "Write on nobody's behalf",
      "trigger": "crawler"
    }
  ],
  "updated_at": "2026-08-06T23:44:16.908+00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.