Update policy

Path parameters

policyIdstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired

A descriptive name for the policy

policy_mode"IO"Required

Set to “IO” for screening model inputs and outputs

input_detectorslist of objectsRequired

List of detector configurations to apply to LLM inputs

output_detectorslist of objectsRequired

List of detector configurations to apply to LLM outputs

Response

Policy updated

namestring

A descriptive name for the policy

policy_mode"IO"

Set to “IO” for screening model inputs and outputs

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