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#
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.
| Role | Goal | Read first (in order) |
|---|---|---|
| Fleet / operations manager | See 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 technician | Mount the sensor unit correctly and confirm it is uplinking. | Hardware, Installation, Connectivity |
| Integration / backend engineer | Pull rides, events, and diagnoses into the systems you already have. | API reference, Data model, AI chatbox (streaming chat API) |
| Firmware / full-stack developer | Change the firmware, API, or dashboard while keeping the docs accurate. | System overview, Developer guide, Data model, this page |
| Security / compliance reviewer | Check 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.
| Type | What it does | Written for | Where |
|---|---|---|---|
| Introduction | Gets a new reader to a first result without assuming anything. | Everyone, on a first visit | Get started; signing in on the Dashboard guide |
| How-to guides | Numbered steps for one task, written from the reader's goal. | Installers, dashboard users, integrators | Installation; Open the chatbox in three steps; Authenticate on the API reference |
| Explanation | Why the system behaves as it does, so readers can predict it. | Managers and engineers | System overview; Sound diagnosis; Driving intelligence; Connectivity |
| Reference | Exact names, fields, endpoints, and thresholds, to look up rather than read through. | Integration engineers | API reference; Data model; Glossary; event thresholds |
| Troubleshooting | Symptom, likely cause, what to do. | Installers and support | If something goes wrong (Installation); FAQ |
| Developer guide | Where the code lives, how to run it, and how to verify a change. | Developers | Developer guide |
| Code comments | Explain why a decision was made. What the code does is already in the code. | Developers reading the source | The repositories; see the conventions on the Developer guide |
| Sources | Numbered references behind the hardware, connectivity, and architecture claims. | Anyone checking a claim | References, and the citation links on each page |
Why documentation matters for MantAI#
- One API, many clients: the dashboard at
mantai-api.mantai-backend.workers.devruns on the exact same/v1surface 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/, anddashboard/, and reach fordocs/protocol.mdwhen you need packet-level detail. - Deployed dashboard & API:
https://mantai-api.mantai-backend.workers.dev/ - This site: docs.mantai.io, built from
app/documentationin 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:
- Branch from
mainand edit the page’s section file underapp/documentation/sections/. - Use the shared building blocks in
doc-ui.tsx, link to other pages withDocLink, and cite sources withDocCite. - Run
npm run build. It type-checks, lints, and pre-renders every page. - 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:
- 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. - Dashboard pages or UX: update Dashboard guide and AI chatbox if Ask MantAI or the navigation changed.
- Firmware thresholds or sampling: update Driving intelligence, Sound diagnosis, or Hardware.
- New endpoints or entities: update the Data model and the search keywords in
documentation-search-data.ts. - User-facing FAQ: add or adjust entries in FAQ once the same question has come up twice in support.
- Edition bump: for any meaningful release, increment
DOCUMENTATION_EDITIONindocumentation-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 buildin the website repo so the static doc routes generate cleanly.
Documentation changelog#
| Edition | Focus |
|---|---|
| 2026.11 | A 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.10 | Multi-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.01 | First external documentation on mantai.io, shipped as a password-protected preview. |
Documentation is part of shipping