cURL
curl --request GET \ --url https://tavusapi.com/v2/guardrails/{guardrails_id} \ --header 'x-api-key: <api-key>'
{ "data": { "guardrails_name": "Healthcare Compliance Guardrail", "guardrails_prompt": "Never discuss competitor products, share sensitive medical information, or provide medical advice outside approved guidelines", "modality": "verbal", "callback_url": "https://your-server.com/guardrails-webhook", "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" } }
This endpoint returns a single set of guardrails by its unique identifier.
The unique identifier of the guardrails.
"g12345"
Successfully retrieved guardrails
The response is of type object.
object