Skip to main content
GET
Export policy

Authorizations

Authorization
string
header
required

Enter your API key (starts with 'ek-')

Path Parameters

policy_id
string
required
Pattern: ^[a-z0-9-]{1,40}$

Response

Success

policyId
string
Pattern: ^[a-z0-9-]{1,40}$
name
string
schemaVersion
integer
Example:

4

mode
enum<string>

custom evaluates custom.rules first.

Available options:
auto,
custom
auto
object
custom
object
models
object
guardrails
object
cache
object

Response cache for repeated requests.