Get Guardrail
Get one project’s guardrails.
Needs view_security_rules or manage_security_rules, and
view_org_settings or manage_org_settings.
Authentication
AuthorizationBearer
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
project_id
The project’s id.
Response
The project's guardrails
controls
The project’s vendor, region and zero-data-retention controls.
dlp_settings
The project's DLP settings.
pi_settings
The project's prompt injection settings.
project_id
The project's id.
project_name
The project's name.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error