{"api_version":"v1","released":"2026-06-24","build":"N+14 · parity-complete","docs":{"openapi":"/openapi.json","swagger_ui":"/docs"},"note":"legacy /api/* mirrors every endpoint below (dev surface · same shapes)","endpoints":{"extract":"POST /api/v1/extract","extract_id":"POST /api/v1/extract-id","preflight":"POST /api/v1/preflight","jobs_list":"GET /api/v1/jobs","jobs_get":"GET /api/v1/jobs/{id}","jobs_stats":"GET /api/v1/jobs/stats","jobs_lookup":"GET /api/v1/jobs/lookup","jobs_extraction":"GET /api/v1/jobs/{id}/extraction","jobs_page_image":"GET /api/v1/jobs/{id}/pages/{n}/image","jobs_page_text":"GET /api/v1/jobs/{id}/pages/{n}/text","jobs_delete":"DELETE /api/v1/jobs/{id}","cases_get":"GET /api/v1/cases/{id}","compare":"POST /api/v1/compare","cost_summary":"GET /api/v1/cost-summary","improve_objective":"POST /api/v1/improve-objective","improve_expected_results":"POST /api/v1/improve-expected-results","improve_problem_background":"POST /api/v1/improve-problem-background","applicants_search":"GET /api/v1/applicants/search","applicants_documents":"GET /api/v1/applicants/{id}/documents","applicants_timeline":"GET /api/v1/applicants/{id}/timeline","applicants_compare":"POST /api/v1/applicants/{id}/compare","webhooks":"GET|POST /api/v1/webhooks · GET /api/v1/webhooks/{id} · POST /api/v1/webhooks/{id}/{disable|delete|rotate-secret}"},"required_fields_on_extract":["file","external_id","applicant_id"],"headers":{"Idempotency-Key":"optional · 24hr dedup","X-Force-Reextract":"optional · bypass cache"},"features":{"computed_status":{"description":"_status block embedded in extraction response","supported_doc_types":["thai_id_card","pnd50","full_fs","5yr_summary","boj5","bookbank","passport"],"examples":{"thai_id_card":["is_expired","days_to_expiry","age_years","nid_valid"],"pnd50":["tax_id_valid","is_profitable","profit_margin_pct","revenue_band"],"full_fs":["current_ratio","debt_to_equity","is_solvent","roa_pct"],"passport":["is_expired","expires_within_6_months"]}},"field_selector":{"description":"?fields= supports dot-notation in /extraction","example":"?fields=extraction.revenue,_status.is_expired"},"compare":{"description":"POST /compare for generic delta calc","supports":["job-vs-job","job-vs-values","values-vs-values"]}}}