Docs
Open the app

Architecture & Infrastructure

This page is the wide-angle view: what the NAUT API is, how a request travels through it, and the layers that sit between your key and the data. If you want the step-by-step version, see Request Lifecycle.

The shape

The API is a versioned REST plane in front of the same database that powers the app. Your systems talk to it; it talks to the data, applies the same people-first rules the app uses, and returns JSON.

How a request moves through the API: key check (401), per-account throttle (429 RATE_LIMITED), scope (403 FORBIDDEN), plan and balance (403 UNPAID_PLAN, or a free-plan sample), data read, billing (402, or 429 TRIAL_DAILY_LIMIT), then a 200 response

The layers

  • Metering, not filtering. What keeps the data plane fair is the per-account throttle, the reveal ceiling and credit billing, all applied in the API itself. You meet them only far past normal use, as a clear 429. See Access & Rate Limits.
  • Versioned /v1 plane. Every data endpoint lives under /v1. The version sits in the path, so a future /v2 can change shape without breaking your existing calls. Every response also carries a NAUT-API-Version header (currently 1.7.0; the same value is also sent as Compass-API-Version) for the build of the plane.
  • Key authentication. Each request carries a bearer key. The server hashes the key and looks up the matching account. Nothing about your session or cookies is involved, which makes the API safe to call from a server. See Authentication & API Keys.
  • Scope and access. A key carries scopes: read:metadata for data calls and read:contacts for revealing a contact's private channels. Keys are minted with both.
  • Credit metering. Every call is charged in credits: 5 for a data call, 10 for a private contact reveal, and 0 for /v1/me. The charge comes after the data is read, so a read that fails costs nothing. Credits come from your plan, its 7-day free trial, or referrals. On a paid plan, a call with too few credits returns 402 and is charged nothing; on the free plan it returns a sample. A trial's credits open a share a day, and private reveals are not open on a trial or another unpaid plan (403 UNPAID_PLAN). See Pricing & Quotas.
  • Data and serialization. Records come back in the same people-first shape as the app, with internal fields removed. You get the person, their team, their role, and how they connect, not NAUT's private bookkeeping.

Design principles

  • People-first. The API exists to bring the right person, and the way you connect to them, into your own systems.
  • Stateless and versioned. Keys instead of sessions, a version in every path.
  • Honest metering. Billed in the same credits as the app, /v1/me free, and contact channels priced so the API never undercuts an in-app unlock.