Guardrails
List Guardrails
Changed onList the guardrails that are available on the proxy server
Example Request:
curl -X GET "http://localhost:4000/guardrails/list" -H "Authorization: Bearer <your_api_key>"
Example Response:
{
"guardrails": [
{
"guardrail_name": "bedrock-pre-guard",
"guardrail_info": {
"params": [
{
"name": "toxicity_score",
"type": "float",
"description": "Score between 0-1 indicating content toxicity level"
},
{
"name": "pii_detection",
"type": "boolean"
}
]
}
}
]
}
get/guardrails/list
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/guardrails/list
- AuthAPI key in header x-litellm-api-key
Response
Successful Response
Changes
- info
api tag
Guardrailsadded - info
api tag
guardrailsremoved
- info
- info
api tag
guardrailsadded - info
api tag
Guardrailsremoved
- info