API ReferenceGuardrails
Authorization
bearerAuth AuthorizationBearer <token>
appSecret or sessionToken
In: header
Request Body
application/json
violationId*string
Violation record ID
correctness*string
true_positive | false_positive
annotatedBy?string
Reviewer identifier
Response Body
application/json
curl -X PATCH "https://your-convex-deployment.convex.site/api/guardrails/violations" \ -H "Content-Type: application/json" \ -d '{ "violationId": "string", "correctness": "string" }'{}Edit on GitHub
Last updated on