Authentication
Include your API key in theX-HALIOS-API-KEY
header:
Core Endpoint
POST/api/v3/agents/{agent_id}/evaluate
Evaluates content against configured guardrails for a specific agent.
Messages need to be in OpenAI compatible message format.
invocation_type accepts two values - request and response, indicating whether you are evaluating ai request or response.
Request Body
Response
Integration Flow
- Before LLM Call: Send user input to evaluate endpoint
- Check Results: If any guardrail triggered, block the request
- Proceed: If no triggers, continue with LLM processing
- After LLM Call: Optionally evaluate LLM response