plugins array, or turn it on for the whole workspace under Settings > Plugins so it applies without a plugins array on each call. Each plugin is identified by an id discriminator.
PII Redaction
Replace personally identifiable information with placeholders before the
provider sees it, then restore the original values in the response.
Response Healing
Repair malformed JSON in model output, such as markdown code fences,
trailing commas, and missing brackets.
Trace Scrubbing
Mask selected fields in stored traces, without changing the live request,
the response, or the payload the provider receives.
Supported endpoints
Theplugins array is accepted on the following AI Gateway endpoints:
POST /v3/router/responsesPOST /v3/router/chat/completionsPOST /v3/router/completionsPOST /v3/router/embeddings: input only, no restorePOST /v3/router/rerank: input only, echoed text restoredPOST /v3/router/images/generations: input only, no restore