guardrails

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"
            }
            ]
        }
        }
    ]
}
get/guardrails/list

Response

Successful Response

Changes

Changed in 12 of the 42 revisions of this API.26

    • ○

      api tag guardrails added

      api-tag-added

    • ○

      api tag Guardrails removed

      api-tag-removed

    • ○

      api tag Guardrails added

      api-tag-added

    • ○

      api tag guardrails removed

      api-tag-removed

    • ○

      api tag guardrails added

      api-tag-added

    • ○

      api tag Guardrails removed

      api-tag-removed

    • ○

      api tag Guardrails added

      api-tag-added

    • ○

      api tag guardrails removed

      api-tag-removed

    • ○

      api tag guardrails added

      api-tag-added

    • ○

      api tag Guardrails removed

      api-tag-removed

    • ○

      api tag Guardrails added

      api-tag-added

    • ○

      api tag guardrails removed

      api-tag-removed

    • ○

      added to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed from the // response property anyOf list for the response status

      response-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 guardrails added

      api-tag-added

    • ○

      api tag Guardrails removed

      api-tag-removed

    • ○

      api tag Guardrails added

      api-tag-added

    • ○

      api tag guardrails removed

      api-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 guardrails added

      api-tag-added

    • ○

      api tag Guardrails removed

      api-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 Guardrails added

      api-tag-added

    • ○

      api tag guardrails removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog