Patch Sentinel

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates a sentinel and returns it. All body fields are optional. Its local_guardrail_config maps each guardrail type (secrets, pii, rudeness, language_checker, json_schema_enforcer, image_resolution, or image_sharpness_level) to a redact or block setting.

When to use it

Use it to change which guardrails a sentinel applies, and whether each one redacts or blocks.

Required parameters

  • sentinel_id (path): the ID of the sentinel.

Optional body fields: name, description, location, local_guardrail_config, tokens_optimization_config, version.

Response

A successful call returns 200 OK with the SentinelSchema object, including id, name, location, local_guardrail_config, status (active or pending), version, and heartbeat_at.

Related: Get a sentinel, Get a sentinel's guardrail metrics, Delete a sentinel

Path Params
string
required
Body Params
length ≤ 95
LocalGuardrailConfig | null
TokensOptimizationConfig | null
Responses

401

Unauthorized

403

Forbidden

404

Not Found

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json