PolicyGet the Runtime Shield baseline policy

Get the Runtime Shield baseline policy

The effective baseline policy for the key's organization. Returns platform defaults when the organization has not customized it.

curl -X GET "https://www.agentkeeper.dev/api/v1/shield/policy" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "security_level": "strict",
  "custom_blacklist": [
    "example_string"
  ],
  "trusted_sources": [
    "example_string"
  ],
  "entropy_threshold": 4.5,
  "max_input_length": 10000,
  "auto_block": true
}
GET
/api/v1/shield/policy
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

An AgentKeeper API key, sent as Authorization: Bearer ak_live_….

An AgentKeeper API key, sent as Authorization: Bearer ak_live_….
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. An AgentKeeper API key, sent as Authorization: Bearer ak_live_….

Responses

security_levelstring
Allowed values:strictbalancedpermissive
custom_blackliststring[]
trusted_sourcesstring[]
entropy_thresholdnumber
max_input_lengthinteger
auto_blockboolean