/api/agent-network/guardrails/{guardrailId}Update an Agent Network guardrail
Replaces the configuration of an existing Agent Network guardrail. When you send a body, include name and checks; checks must include model_allowlist and prompt_capture, each with its required fields. A 200 response returns the updated guardrail, including its identifier and creation and update timestamps.
Guardrail update request. Include name and checks; description is optional.
A 400 is returned when the request is invalid, including when name or checks is missing or a check object omits a required field. A 401 is returned when authentication is missing, and a 403 when you are not permitted to update the guardrail. The guardrailId path parameter must identify an existing guardrail or a 404 is returned; a 409 indicates a conflict, and a 500 indicates an internal server error.