Create Review
Create a review and ingest its documents in one call.
Accepts either multipart/form-data (file uploads) or
application/json (documents referenced by signed source URL).
Send an optional Idempotency-Key header to make the create safely
retryable: resending the SAME request with the SAME key returns the
ORIGINAL review (HTTP 200) instead of creating a duplicate (which would
re-run the expensive pipeline). Keys are scoped to the caller’s org.
Headers
Optional. A unique key (at most 255 characters) you choose for this create request. Resending the same request with the same key returns the ORIGINAL review (HTTP 200) instead of creating a duplicate, so the review pipeline runs exactly once. Keys are scoped to your organization. Distinct from 'reference_id', which rejects a duplicate with 409 rather than replaying.
Body
Create a review with either direct case-package uploads (multipart/form-data) or case packages referenced by signed source URL (application/json).
JSON body for POST /reviews (signed-source-URL variant).
The multipart/form-data variant carries the same logical fields as form
parts plus the file uploads; see reviews.create_review.
Case packages or documents to ingest by signed source URL.
Optional human-readable label shown in the dashboard.
500"Smith refinance"
Optional flat string->string metadata echoed back on reads.
{
"branch": "austin",
"loan_officer": "jsmith"
}Your external identifier for this loan package (idempotency key).
255"LN-2026-04-8812"
Review template to run (maps to an internal schema).
1 - 100"mortgage_v1"
Response
Successful Response
A review, as seen by the customer.
Returned by POST /reviews (201) and GET /reviews/{id}.
Flightline's identifier for this review.
Customer-facing review lifecycle.
A deliberately coarse projection of the internal CaseStatus. Internal
states that are not meaningful to a customer (e.g. the admin-release gate
pending_review, the publication-blocker state) collapse to
processing so we never surface internal workflow detail or
verdict-adjacent signal before the publication gate passes.
queued, awaiting_documents, processing, completed, failed Number of documents ingested.
True once the report is released and retrievable.
True for sandbox (test-mode) reviews: canned results, no real analysis.
