Test Policies And Guardrails
Changed onApply policies and/or guardrails to inputs (for compliance UI testing).
Use inputs_list for batch testing: each input is processed as a separate call so per-input block/allow and errors are returned.
Use inputs for a single call (legacy).
Request
- Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sea-lion.ai/utils/test_policies_and_guardrails
- Auth: API key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
- breaking
the
///////request property type changed fromobjectto no type - warning
removed the request property
//////// - warning
removed the request property
//////// - warning
removed the request property
//////// - info
api tag
policiesadded - info
api tag
utilsremoved - info
added the new optional request property
// - info
added the new optional request property
////// - info
added the new optional request property
////////// - info
added the new optional request property
////// - info
added the new optional request property
////////// - info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
///// - info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
////// - info
added the new optional request property
///////// - info
added the new optional request property
////// - info
added the new optional request property
//// - info
added the new optional request property
///// - info
added the new optional request property
//// - info
added the new optional request property
///// - info
added to the
///////request propertyanyOflist - info
request property
/////////list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
/////////list-of-types was widened by adding typesnullto media typeapplication/json - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking