List Guardrails
List 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"
}
]
}
}
]
}
Response
Successful Response
Changes
Changed in 12 of the 42 revisions of this API.26
- ○
api tag
guardrailsaddedapi-tag-added
- ○
api tag
Guardrailsremovedapi-tag-removed
- ○
- ○
api tag
Guardrailsaddedapi-tag-added
- ○
api tag
guardrailsremovedapi-tag-removed
- ○
- ○
api tag
guardrailsaddedapi-tag-added
- ○
api tag
Guardrailsremovedapi-tag-removed
- ○
- ○
api tag
Guardrailsaddedapi-tag-added
- ○
api tag
guardrailsremovedapi-tag-removed
- ○
- ○
api tag
guardrailsaddedapi-tag-added
- ○
api tag
Guardrailsremovedapi-tag-removed
- ○
- ○
api tag
Guardrailsaddedapi-tag-added
- ○
api tag
guardrailsremovedapi-tag-removed
- ○
added to the
//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed from the
//response propertyanyOflist for the response statusresponse-property-any-of-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
guardrailsaddedapi-tag-added
- ○
api tag
Guardrailsremovedapi-tag-removed
- ○
- ○
api tag
Guardrailsaddedapi-tag-added
- ○
api tag
guardrailsremovedapi-tag-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
guardrailsaddedapi-tag-added
- ○
api tag
Guardrailsremovedapi-tag-removed
This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
Guardrailsaddedapi-tag-added
- ○
api tag
guardrailsremovedapi-tag-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○