Get policy

Authentication

AuthorizationBearer

Bearer authentication using API key. Generate an API key from the Lakera platform. Example: Bearer sk_123…

Path parameters

policyIdstringRequired

Response

Policy details
namestring
A descriptive name for the policy
policy_modeenum
Set to "IO" for screening model inputs and outputs
Allowed values:
input_detectorslist of objects
List of detector configurations to apply to LLM inputs
output_detectorslist of objects
List of detector configurations to apply to LLM outputs