GET
/
v2
/
guardrails
/
{guardrails_id}
Get Guardrails (One Set)
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"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

guardrails_id
string
required

The unique identifier of the guardrails.

Example:

"g12345"

Response

200
application/json

Successfully retrieved guardrails

The response is of type object.