Get a project's prompt injection settings

Returns the project’s override, the effective policy after merging with the organization’s, and which fields are inherited. A project pinned to an API key uses this policy as written. A project named per request (project_id body field or X-Project-Id header) may only tighten the organization policy; anything that loosens it is ignored at request time.

Authentication

AuthorizationBearer

A management key (prefixed mgmt_), created in the dashboard under Settings, API keys, Management keys. Distinct from a regular gateway API key, and never used to call models.

Path parameters

project_idstringRequiredformat: "uuid"

Response

The project's settings, with the effective policy resolved.
overrideobjectOptional
What this project sets. Fields it does not set are null here
effectiveobjectOptional
The policy a request to this project runs under, assuming the project is pinned to an API key
inherited_fieldslist of stringsOptional
Fields taken from the organization policy because the project does not set them

Errors

403
Forbidden Error
404
Not Found Error