// Reading the shelf: Redline Fieldbook Atrium v2.0.4 · 2026-04
Documentation / Redline · API /API API · v2.0.4

REST & webhook API.

The complete Redline surface — analysis, export, Sentinel, Ledger, and webhooks — over HTTP + JSON, with OpenAPI for every route and HMAC-SHA256 for every callback.

TypeAPI
Reading20 min
Revisedv2.0.4 · 2026-04
Applies toRedline · all products

/ 01Overview

Three logical APIs are mounted on the engine: the analysis engine (/api/v1/*), Sentinel (/api/sentinel/v1/*), and Ledger (/api/ledger/v1/*). They share authentication, rate limiting, and audit middleware.

All routes return JSON. All errors follow RFC 9457 (Problem Details). All timestamps are RFC 3339 UTC.

/ 02Authentication

Three modes, configured per tenant:

ModeHeaderUse case
AnonymousBeta, evaluation, demo
API KeyX-Redline-Key: ...Server-to-server
SSO (Clerk)Authorization: Bearer ...Browser / Word add-in

RBAC scopes

API keys and JWTs carry product:role tuples. E.g. sentinel:admin, lens:editor, ledger:viewer. See Getting started for the role grid.

/ 03Analyse routes

POST/api/v1/analyseAnalyse a plain-text document. Blocks for up to 60s.
POST/api/v1/analyse-docxMulti-part upload of a DOCX file. Returns the same shape as /analyse.
POST/api/v1/upload-and-analyseAuto-detects the upload format (DOCX, PDF, plain text).
POST/api/v1/analyse/streamServer-Sent Events stream of per-pass progress.
GET/api/v1/analyse/{id}Retrieve a stored analysis by ID.

/ 04Export routes

POST/redline-docxDOCX with tracked changes.
POST/report/pdfBranded PDF report.
POST/export/combined-docxCombined report + annotated document + appendix.
POST/export/fieldbookPortable .fieldbook ZIP.
POST/export/fieldbook-htmlSelf-contained HTML viewer.

See Export formats & their guarantees for the per-format contract.

/ 05Sentinel routes

GET/api/sentinel/v1/impactsList impact assessments.
GET/api/sentinel/v1/feedPaginated change feed.
POST/api/sentinel/v1/bills/pollForce a poll against a source.
GET/api/sentinel/v1/dashboard/overviewPortfolio health summary.
PUT/api/sentinel/v1/alerts/preferencesUpdate alert preferences.

Full Sentinel surface: see Sentinel feeds & webhook payloads.

/ 06Ledger routes

GET/api/ledger/v1/obligationsList obligations.
GET/api/ledger/v1/obligations/overduePast deadline, unsatisfied.
PUT/api/ledger/v1/obligations/{id}/statusUpdate lifecycle state with audit trail.
GET/api/ledger/v1/calendar.icsVCALENDAR feed.
POST/api/ledger/v1/escalationsScan for escalation triggers.

/ 07Webhooks

Configure webhook destinations under Settings → Webhooks. Each destination has a secret used to sign outgoing payloads.

EventTrigger
analysis.completedAn /analyse call finishes
sentinel.impact.detectedImpact assessment with severity ≥ minor
ledger.obligation.overdueObligation crosses its deadline
ledger.escalation.triggeredEscalation tier advances

Signing: X-Parelion-Signature: sha256=<hex> over the raw body with the destination secret. Replay protection via X-Parelion-Timestamp (±5 minutes).

/ 08Rate limits

TierPer minutePer day
A · Free10200
B · Paid605,000
C · Enterprise240Unlimited

Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. Exceeded → HTTP 429 with Retry-After.

/ 09OpenAPI

The full spec is served from the engine itself:

GET/openapi.jsonOpenAPI 3.1 document for the engine + Sentinel + Ledger. Use this with codegen tools.
GET/docsSwagger UI rendering of the same spec.

Read carefully. Then begin.

Request access Back to documentation