Apply Guardrail
Changed onApply a guardrail to text input and return the processed result.
This endpoint allows testing guardrails by applying them to custom text inputs.
Request
- Base URLhttps://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-litellm-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
api tag
guardrailsadded - 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
CA_SINenum value to the request property// - info
added the new
DE_BSNRenum value to the request property// - info
added the new
DE_FUEHRERSCHEINenum value to the request property// - info
added the new
DE_HANDELSREGISTERenum value to the request property// - info
added the new
DE_HEALTH_INSURANCEenum value to the request property// - info
added the new
DE_ID_CARDenum value to the request property// - info
added the new
DE_KFZenum value to the request property// - info
added the new
DE_LANRenum value to the request property// - info
added the new
DE_PASSPORTenum value to the request property// - info
added the new
DE_PLZenum value to the request property// - info
added the new
DE_SOCIAL_SECURITYenum value to the request property// - info
added the new
DE_TAX_IDenum value to the request property// - info
added the new
DE_TAX_NUMBERenum value to the request property// - info
added the new
DE_VAT_IDenum value to the request property// - info
added the new
ES_PASSPORTenum value to the request property// - info
added the new
IN_GSTINenum value to the request property// - info
added the new
KR_BRNenum value to the request property// - info
added the new
KR_DRIVER_LICENSEenum value to the request property// - info
added the new
KR_FRNenum value to the request property// - info
added the new
KR_PASSPORTenum value to the request property// - info
added the new
KR_RRNenum value to the request property// - info
added the new
MAC_ADDRESSenum value to the request property// - info
added the new
NG_NINenum value to the request property// - info
added the new
NG_VEHICLE_REGISTRATIONenum value to the request property// - info
added the new
PH_PASSPORTenum value to the request property// - info
added the new
PH_TINenum value to the request property// - info
added the new
PH_UMIDenum value to the request property// - info
added the new
SE_ORGANISATIONSNUMMERenum value to the request property// - info
added the new
SE_PERSONNUMMERenum value to the request property// - info
added the new
TH_TNINenum value to the request property// - info
added the new
TR_LICENSE_PLATEenum value to the request property// - info
added the new
TR_NATIONAL_IDenum value to the request property// - info
added the new
UK_DRIVING_LICENCEenum value to the request property// - info
added the new
UK_PASSPORTenum value to the request property// - info
added the new
UK_POSTCODEenum value to the request property// - info
added the new
UK_VEHICLE_REGISTRATIONenum value to the request property// - info
added the new
US_MBIenum value to the request property// - info
added the new
US_NPIenum value to the request property// - info
added the new
UUIDenum value to the request property// - info
added the new
ZA_ID_NUMBERenum value to the request property// - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info