Test Organization Guardrail
Changed onPost some text to the guardrails service a mandate names and return its verdict.
Organization owners and admins only. Uses the mandate's own endpoint and credential, or the deployment's guardrails URL when it names none, and faces the same safety check a request does. Nothing is stored. validate_kwargs replaces the stored arguments for this call, a *** in it keeps the value stored under that name, and omitting it sends the stored arguments.
A mandate that runs a configured guardrail answers 409: test that guardrail through /api/v1/organizations/me/guardrail-definitions. So does one with nowhere to send the check. A service that cannot be reached, or answers something malformed, answers 502, and the reason is in the gateway's log only.
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Path parameters
Request body
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info