AletheionGuard API v1.1.0
Epistemic auditor for LLM outputs with Managed and BYO-HF modes
OAS 3.1 | /openapi.json
Base URL
All API requests should be made to this base URL. Check https://aletheionguard.onrender.com/docs for interactive documentation.
Core Endpoints
/Root endpoint.
/healthHealth check endpoint. No authentication required.
Response (200 OK)
/v1/auditAudit a single LLM response. Supports both Managed and BYO-HF modes:
- Managed mode: Uses default HF_ENDPOINT_URL and HF_TOKEN from env
- BYO-HF mode: Uses X-HF-Token and X-HF-Endpoint headers from client
Headers (Optional - BYO-HF mode)
X-HF-Token: Your Hugging Face tokenX-HF-Endpoint: Your Hugging Face endpoint URLRequest Body
Response (200 OK)
Response (422 Validation Error)
/v1/batchAudit multiple responses in batch.
Request Body
Response (200 OK)
Response (422 Validation Error)
/v1/compareCompare calibration quality across multiple model outputs. Ranks models by epistemic uncertainty (Q2) and calibration metrics. Lower Q2 = more confident/reliable prediction.
Request Body
Response (200 OK)
Response (422 Validation Error)
/v1/calibratePerform audit with optional online calibration feedback. Supports optional ground truth or human feedback for online learning. Future versions will use this feedback to improve calibration.
Request Body
Response (200 OK)
Response (422 Validation Error)
Need Help?
Explore interactive documentation or get in touch