← Back to Documentation

Code Examples

Runnable code examples for integrating the AXIMUR Claim Verification API.

Start API Access — $49/mo
Prerequisites: Get an API key at https://aximur.com and set it as an environment variable: export AXIMUR_API_KEY=your_api_key_here

Examples Overview

cURL

Python

Node.js

Quickstart

# Set your API key
export AXIMUR_API_KEY=your_api_key_here

# Run an example
cd examples/python
python basic_verify.py

Use Cases

RAG Answer Verification

Verify that AI-generated answers are supported by retrieved documents. Use the rag_answer_guardrail.py example to integrate verification into your RAG pipeline.

AI-Agent Pre-Action Verification

Verify claims before an agent takes irreversible actions (posting, submitting, spending). Use the pre_action_guardrail.mjs example to implement guardrails.

Hallucination Detection

Detect when AI systems make unsupported claims. All examples show how to branch on SUPPORTED, UNSUPPORTED, and UNCERTAIN verdicts.

Evidence-Grounded QA

Build QA systems that provide evidence-backed answers. Use the basic examples to understand the API response structure.

Verdict Handling

All examples show how to handle the three possible verdicts:

API Reference

Support

Start API Access — $49/mo
← Back to Documentation