List Guardrails

List the guardrails that are available on the proxy server

👉 Guardrail docs

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"
            }
            ]
        }
        }
    ]
}
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!