Skip to main content
PATCH
ガードレールを更新
guardrails:write が必要です。省略したフィールドは現在の値を維持します。

承認

Authorization
string
header
必須

Bearer トークンによる認証

パスパラメータ

id
string<uuid>
必須

Guardrail の識別子。

ボディ

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>
利用可能なオプション:
none,
allowlist,
blocklist
providerRestrictionProviderIds
string[]
providerRestrictionEnforceAllowed
boolean
modelRestrictionMode
enum<string>
利用可能なオプション:
none,
allowlist,
blocklist
allowedApiModelIds
string[]
promptInjectionEnabled
boolean
promptInjectionAction
enum<string>
利用可能なオプション:
flag,
block
sensitiveInfoEnabled
boolean
sensitiveInfoDefaultAction
enum<string>
利用可能なオプション:
flag,
redact,
block
sensitiveInfoRules
object[]
budgets
object

レスポンス

ガードレールを更新しました

data
object
必須
最終更新日 2026年10月2日