Guardrail Validate

Route handler delegating guardrail validate to the service layer.

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

Validates a list of guardrules and returns a result for each one.

When to use it

Use it to check a set of guardrules before you save them in a guardrail version.

Required parameters

  • guardrules (body): the guardrules to validate.

Response

A successful call returns 200 OK with a JSON array of rule results. Each has the rule name, its type, whether it is valid, and a message.

Related: Get the guardrule JSON schema, Create a guardrail version, Run guardrules

Body Params
guardrules
array
required
Guardrules*
Responses

401

Unauthorized

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