cURL
curl --request POST \ --url https://api.naviml.com/v1/{team_id}/verify \ --header 'Content-Type: application/json' \ --data '{ "messages": [ { "role": "user", "content": "<string>" } ], "verifiers": [ { "id": "<string>", "type": "policy-verifier", "parameters": { "threshold": 0.5 } } ], "explain": true }'
{ "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "action": "allow", "result": { "verifiers": [ { "id": "<string>", "result": "<string>", "explanation": { "text": "<string>" }, "action": "allow", "details": {}, "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 } } ], "action": "allow" } }
Verify content API endpoint allows to verify LLM response against your custom policies
Team ID of the team owning the resources and under which the verifiers are executed
OK
The response is of type object.
object