Skip to navigation

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_idstringRequiredformat: "uuid"

The project’s id.

Response

The project's guardrails
controlsobject

The project’s vendor, region and zero-data-retention controls.

dlp_settingsobject
The project's DLP settings.
pi_settingsobject
The project's prompt injection settings.
project_idstringRead-onlyformat: "uuid"
The project's id.
project_namestring
The project's name.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error