NIYAM AI Developer Documentation

Welcome to the official developer documentation for NIYAM AI. NIYAM provides deterministic, low-latency language model APIs designed for enterprise applications, compliance verification, and qualitative research synthesis.

Unlike probabilistic chatbots, every NIYAM model runs through a formally verified inference pipeline: identical inputs produce identical outputs, every response carries a proof trace, and no customer data is ever retained. This makes NIYAM suitable for regulated industries — legal, medical, financial — where auditability is not optional.

Note: All API requests use SSL encryption and require an enterprise vault API key passed via standard HTTP headers. See Authentication for details.

What you can build

Deterministic Chat & Reasoning

Zero-hallucination completions with proof traces via 70b-sovereign. Ideal for contracts, filings, and compliance Q&A.

Multimodal Understanding

Vision, video, and audio analysis with omni-vision — from 4K focus-group footage to scanned documents.

Offline & Edge Inference

Run edge-3b fully offline in the browser via WebAssembly. No data ever leaves the device.

Research Synthesis

Synthesize interviews, diaries, and panels into codebooks and sentiment maps with reproducible pipelines.

API environments

EnvironmentBase URLUse for
productionhttps://api.niyam.ai/v3Live workloads, air-gapped Swiss clusters
sandboxhttps://sandbox.niyam.ai/v3Free testing, rate-limited, non-retained

Start here

  1. Quickstart — make your first API call in under five minutes.
  2. Authentication — keys, vaults, rotation, and headers.
  3. Model Overview — pick the right engine for your workload.
  4. Chat Completions — full endpoint reference with examples.
  5. Errors & Rate Limits — handle failures and back off correctly.
  6. SDKs — Python and Node.js client libraries.
  7. Glossary — platform and model terms.
  8. Changelog — what shipped recently.