Skip to main content
PATCH
Guardrail aktualisieren
Erfordert guardrails:write. Nicht angegebene Felder behalten ihre aktuellen Werte.

Autorisierungen

Authorization
string
header
erforderlich

Authentifizierung mit Bearer-Token

Pfadparameter

id
string<uuid>
erforderlich

Guardrail-Kennung.

Body

application/json
name
string
Required string length: 1 - 200
description
string | null
enabled
boolean
privacyEnablePaidMayTrain
boolean | null
privacyEnableFreeMayTrain
boolean | null
privacyEnableFreeMayPublishPrompts
boolean | null
privacyEnableInputOutputLogging
boolean | null
privacyZdrOnly
boolean | null
providerRestrictionMode
enum<string>
Verfügbare Optionen:
none,
allowlist,
blocklist
providerRestrictionProviderIds
string[]
providerRestrictionEnforceAllowed
boolean
modelRestrictionMode
enum<string>
Verfügbare Optionen:
none,
allowlist,
blocklist
allowedApiModelIds
string[]
promptInjectionEnabled
boolean
promptInjectionAction
enum<string>
Verfügbare Optionen:
flag,
block
sensitiveInfoEnabled
boolean
sensitiveInfoDefaultAction
enum<string>
Verfügbare Optionen:
flag,
redact,
block
sensitiveInfoRules
object[]
budgets
object

Antwort

Sicherheitsleitplanke aktualisiert

data
object
erforderlich
Zuletzt geändert am 2. Oktober 2026