Update policy
Path parameters
policyId
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
A descriptive name for the policy
policy_mode
Set to “IO” for screening model inputs and outputs
input_detectors
List of detector configurations to apply to LLM inputs
output_detectors
List of detector configurations to apply to LLM outputs
Response
Policy updated
name
A descriptive name for the policy
policy_mode
Set to “IO” for screening model inputs and outputs
input_detectors
List of detector configurations to apply to LLM inputs
output_detectors
List of detector configurations to apply to LLM outputs