GET guardrails

This section describes when to use the GET guardrails.

Use the GET guardrails endpoints to:

  • Retrieve the list of guardails.

    Use the /api/v1/guardrails (GET) endpoint as detailed in Guardrail payload example to get the list of guardrails that are enabled for the tenant.

  • Retrieve details of a single guardrail.

    Use the /api/v1/guardrails/{guardrail_id} (GET) endpoint as detailed in Guardrail payload example to retrieve details of a single guardrail. You can retrieve the valid guardrail_id value from the /api/v1/guardrails (GET) endpoint.