Skip to main content
GET
Get Guardrail

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-Guardrail
string
required

The guardrail name

Example:

"My Guardrail"

X-Enkrypt-Refresh-Cache
boolean

Refresh the cache if data is stale

Example:

false

Response

200 - application/json

Successful Response

name
string
required

The guardrail name

Example:

"My Guardrail"

description
string

Optional description of the guardrail

Example:

"Guardrail for production chatbot"

input
GuardrailsDetectorsObject · object

Detector configuration applied to input/prompt text

output
GuardrailsDetectorsObject · object

Detector configuration applied to output/response text

created_at
string
Example:

"2025-03-01T11:23:03.695943+00:00"

updated_at
string
Example:

"2025-03-01T11:23:03.695943+00:00"

policy_id
integer
Example:

1234567890

project_name
string
Example:

"default"

created_by
string
Example:

"user@example.com"

updated_by
string
Example:

"user@example.com"

is_sample
boolean
Example:

false