Resources

Audiences & maintaining documentation

Written for
Anyone deciding what to read first, and everyone who edits these pages.

This site covers the whole MantAI product you run in production: the sensor unit, the Cloudflare-backed API, and the fleet dashboard at mantai-api.mantai-backend.workers.dev. We keep it in step with the mantai-sensor-unit repository (firmware, backend, and dashboard), so that engineers, operators, and integrators are all working from the same source of truth.

Edition 2026.11. Hardware, connectivity, and architecture claims cite numbered sources; each citation links to its entry, and the full list is on the References page. Each page carries a section number in the sidebar, and you can jump to any topic in three clicks at most using Next / Previous or search with ⌘K (Ctrl+K on Windows and Linux): open search, pick a result, and read.

Who reads these pages#

Two readers shaped every page on this site. Dana runs a fleet and wants answers without learning the stack. Ravi builds on the API and wants exact names and behavior. Most other readers are close to one of them, so if you are new here, start with whichever sounds like you.

Dana

Fleet operations manager at a 40-vehicle rental branch

Already knows
Her fleet, her rental software, and what a repair costs. Not sensors, and not APIs.
Needs to learn
Which vehicle needs attention today, whether an alert can be trusted, and evidence when a renter disputes damage.

User stories

  • As a fleet manager, I want to see which vehicles have a high-risk sound finding today, so that I can pull them before the next rental.
  • As a fleet manager, I want proof of when and where an impact happened, so that I can settle a damage dispute with a renter.

Reads first: Get started, Dashboard guide, Monitoring & alerts, Sound diagnosis

Ravi

Integration engineer at a fleet-software vendor

Already knows
REST, JSON, and bearer-token auth. Not MantAI's data model, and not what the sensor measures.
Needs to learn
Stable endpoints, exact field names, and the meaning of each event and status so his import never guesses.

User stories

  • As an integration engineer, I want to pull every ride finalized since last night, so that maintenance planning runs on MantAI data.
  • As an integration engineer, I want the event types and their thresholds, so that I can map them onto our own driver-scoring rules.

Reads first: System overview, API reference, Data model, Driving intelligence

A reader’s journey#

DOESREADSRISK1 · EVALUATEWatches the demo,reads Get startedGet started,System overviewIs the hardwareworth the effort?2 · INSTALLMounts the unit,registers the carInstallation,HardwareWrong spot, or theunit never wakes3 · FIRST RIDEWatches Live map,waits for finalizeInstallation:test checklistNo ride shows up.Is it connected?4 · FIRST ALERTOpens a finding,plays the clipSound diagnosis,MonitoringActing on a risklevel blindly5 · ROUTINEReviews scores,asks the chatboxDriving intelligence,AI chatbox, APIData stuck inthe dashboard
Fig. 09Dana's path from first visit to routine use: what she does at each step, the page that answers it, and the risk that page is there to remove.

The map is why Installation ends with a test checklist and a troubleshooting table, why Sound diagnosis explains what a risk level does not promise, and why every dashboard page points at the API. Ravi’s path is shorter: System overview, API reference, Data model, then back here for the release checklist.

Reading order by role#

Start from the row that matches your job. Nobody needs to read everything.

RoleGoalRead first (in order)
Fleet / operations managerSee the value, keep an eye on the live fleet, and act on alerts and sound risk.Get started, Dashboard guide, Monitoring & alerts, AI chatbox
Installer / field technicianMount the sensor unit correctly and confirm it is uplinking.Hardware, Installation, Connectivity
Integration / backend engineerPull rides, events, and diagnoses into the systems you already have.API reference, Data model, AI chatbox (streaming chat API)
Firmware / full-stack developerChange the firmware, API, or dashboard while keeping the docs accurate.System overview, Developer guide, Data model, this page
Security / compliance reviewerCheck how we handle privacy, retention, and access control.Security & privacy, FAQ

Types of documentation on this site#

Each page does one job. The type was chosen for the reader, not the other way round: Dana gets steps and plain explanations, Ravi gets reference tables he can scan.

TypeWhat it doesWritten forWhere
IntroductionGets a new reader to a first result without assuming anything.Everyone, on a first visitGet started; signing in on the Dashboard guide
How-to guidesNumbered steps for one task, written from the reader's goal.Installers, dashboard users, integratorsInstallation; Open the chatbox in three steps; Authenticate on the API reference
ExplanationWhy the system behaves as it does, so readers can predict it.Managers and engineersSystem overview; Sound diagnosis; Driving intelligence; Connectivity
ReferenceExact names, fields, endpoints, and thresholds, to look up rather than read through.Integration engineersAPI reference; Data model; Glossary; event thresholds
TroubleshootingSymptom, likely cause, what to do.Installers and supportIf something goes wrong (Installation); FAQ
Developer guideWhere the code lives, how to run it, and how to verify a change.DevelopersDeveloper guide
Code commentsExplain why a decision was made. What the code does is already in the code.Developers reading the sourceThe repositories; see the conventions on the Developer guide
SourcesNumbered references behind the hardware, connectivity, and architecture claims.Anyone checking a claimReferences, and the citation links on each page

Why documentation matters for MantAI#

  • One API, many clients: the dashboard at mantai-api.mantai-backend.workers.dev runs on the exact same /v1 surface we document here, so integrators are never second-class.
  • Safety and trust: before a fleet mounts hardware on its vehicles, it deserves straight answers on cabin privacy, data retention, and what a sound diagnosis does not promise.
  • Team velocity: the firmware, backend, and dashboard all live in one repository, and accurate docs cut down on repeated questions and on mistaken assumptions, such as which parts of the retired Bluetooth flow still apply.
  • Release quality: if you ship a feature without updating the docs, we count the release as unfinished (see the checklist below).

Source of truth#

  • Product code: github.com/Sentino2/mantai-sensor-unit. Look in firmware/, backend/, and dashboard/, and reach for docs/protocol.md when you need packet-level detail.
  • Deployed dashboard & API: https://mantai-api.mantai-backend.workers.dev/
  • This site: docs.mantai.io, built from app/documentation in the website repository. These pages are written for people; protocol.md stays the engineer's packet-level spec.

Propose a change#

These pages live in the website repository and change through the same review flow as code. The full guide is in CONTRIBUTING.md at the root of that repository; the short version:

  1. Branch from main and edit the page’s section file under app/documentation/sections/.
  2. Use the shared building blocks in doc-ui.tsx, link to other pages with DocLink, and cite sources with DocCite.
  3. Run npm run build. It type-checks, lints, and pre-renders every page.
  4. Open a pull request that says what was wrong and why the change fixes it.

Maintaining documentation (release checklist)#

Whenever you change the product, update the docs in the same pull request, or right after you deploy. Here is the checklist we follow:

  1. API or auth: update API reference along with any curl examples, and double-check the base URL is still mantai-api.mantai-backend.workers.dev.
  2. Dashboard pages or UX: update Dashboard guide and AI chatbox if Ask MantAI or the navigation changed.
  3. Firmware thresholds or sampling: update Driving intelligence, Sound diagnosis, or Hardware.
  4. New endpoints or entities: update the Data model and the search keywords in documentation-search-data.ts.
  5. User-facing FAQ: add or adjust entries in FAQ once the same question has come up twice in support.
  6. Edition bump: for any meaningful release, increment DOCUMENTATION_EDITION in documentation-meta.tsx.

Review before merge

  • Read the changed page out loud. If a fleet manager would trip over it, simplify.
  • Click your way to the updated topic through the sidebar and search (⌘K or Ctrl+K), and make sure it still takes three clicks or fewer.
  • Run npm run build in the website repo so the static doc routes generate cleanly.

Documentation changelog#

EditionFocus
2026.11A consistency pass against the product source (telemetry rates, install times, event types, status values), named reader personas with user stories and a journey map, an audience and prerequisites line on every page, a first-ride quickstart, a glossary, linked citations with per-page bibliographies, heading anchors, an accessible search dialog, and a contributing guide.
2026.10Multi-page docs brought in line with the LTE product and the mantai-api dashboard, plus a personas page, an AI chatbox guide, API curl examples, and a set of SVG architecture diagrams.
2026.01First external documentation on mantai.io, shipped as a password-protected preview.

Documentation is part of shipping

If a behavior is not documented, treat it as a bug. These pages are held to one standard: clear structure, accurate diagrams, a path that fits each reader, and docs that ship with the code rather than trail behind it.