cURL
curl --request GET \ --url https://tavusapi.com/v2/guardrails \ --header 'x-api-key: <api-key>'
{ "data": [ { "guardrails_id": "g12345", "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" } ], "total_count": 15 }
This endpoint returns a list of all sets of guardrails.
The number of guardrails to return per page. Default is 10.
The page number to return. Default is 1.
Successfully retrieved guardrails
Show child attributes
Unique identifier for the guardrails
"g12345"
ISO 8601 timestamp of when the guardrails were created
"2024-01-15T10:30:00Z"
ISO 8601 timestamp of when the guardrails were last updated
The total number of guardrails
15