Military Manuals — Military Doctrine RAG API

Search and retrieve information from military doctrine documents using natural language queries. Our RAG (Retrieval-Augmented Generation) API provides semantic search across curated military publications, enabling fast access to relevant operational guidance and procedures.

Live Search

Collections

Collection Description Documents
Loading…

Query Example with Metadata Filtering

curl -X POST https://militarymanuals.ai/api/query \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "collection": "army",
    "query": "How do I conduct urban operations?",
    "metadata_filter": {
      "category": "field-manual",
      "classification": "unclassified"
    }
  }'

Authentication

API Key

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Discovery

🔗 How ZK Provenance Works

Each passage in these search results is anchored to the Horizen blockchain at the time documents are registered. The ZK circuit proves the following without revealing the full document:

  1. Poseidon Hash: The passage text is hashed using the Poseidon function into a leaf hash.
  2. Merkle Proof: The circuit proves this leaf is a member of the Merkle tree for this document.
  3. Chain Anchor: The Merkle root was anchored on Horizen mainnet when the document was registered — verified on-chain.
  4. ZK Verification: Anyone can verify this proof on Horizen via zkVerify — without downloading the document or trusting a third party.

This allows third parties to cryptographically verify that a passage existed in a document at a specific block — provably — without requiring access to the original file. Click "🔗 Not verified" on any passage to generate and submit a ZK proof.