API ReferenceGuardrails
Authorization
bearerAuth AuthorizationBearer <token>
appSecret or sessionToken
In: header
Request Body
application/json
sessionId*string
Client session ID
content*string
Content to check
direction*string
"input" or "output"
Response Body
application/json
curl -X POST "https://your-convex-deployment.convex.site/api/guardrails/check" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "string", "content": "string", "direction": "string" }'{}Edit on GitHub
Last updated on