POST /v1/decide
Live today: billing flagship + P1 stub templates.Source of truth:
GET /openapi.json · interactive /docs
template_idis additive. Omitting it keeps today’s Kit/billing behavior (billing_v1). Unknown ids return 400.
Summary
Paste ticket + invoice → recommend-only decision with confidence, rationale, findings, and optional dollars-avoided estimate. Fence: Merilane never auto-refunds. Money movement stays in your stack. Capabase = Free / $0 discovery. Cash = merilane.io/kit ($29 Kit).Live template registry
Request
Header alternative:
X-Merilane-Template (same rules as body template_id). If both body and header are set, they must match or the API returns 400.
Auth + metering
Public unauthenticated paste (if enabled) is IP rate-limited → 429; not a cash path.
Template selection
Response
Exact schema: OpenAPI — do not hardcode from this page if the live doc diverges.
Error shapes (as shipped)
Related routes
Plan notes:
docs/drafts/MULTI-TEMPLATE-UNDERWRITE-PLAN.md (P2 engines / open outcomes[] still later — not required for live P1 stubs).