Skip to main content
Sign up and grab your api keys at https://console.halios.ai/sign-up.

Authentication

Include your API key in the X-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

  1. Before LLM Call: Send user input to evaluate endpoint
  2. Check Results: If any guardrail triggered, block the request
  3. Proceed: If no triggers, continue with LLM processing
  4. After LLM Call: Optionally evaluate LLM response
See the OpenAPI docs for complete endpoint details.