Home / API

Jobs

A job is one bid: its drawings, its specification, the takeoff read from them and the estimate priced from that takeoff.

Create a job

POST /v1/jobs, as multipart/form-data. The takeoff starts as soon as the upload finishes. The answer is 202 with the job's status.

FieldRequiredWhat it is
nameYesThe job's name. Unique in your company (ignoring case); a name already used answers 409.
drawingsYesOne or more PDFs. Send the field once per file; several files are read as one set, in the order sent. Up to 400 MB together.
specificationNoThe specification PDF. Its insulation sections decide the material and thickness ahead of your company standard.
systemsNoComma-separated codes to take off (below). CW,HW,HWR,STORM when left out.
request_idNoAny string unique to this upload. Send the same one when retrying after a timeout: the answer is the job the first call started, never a second job.

Systems

PlumbingCW cold water, HW hot water, HWR hot water return, TW tempered water, SAN sanitary waste, VENT vent, STORM storm
Mechanical pipingCHWS/CHWR chilled water, HHWS/HHWR heating hot water, STM steam, SCR steam condensate, PCR pumped condensate, REFS/REFL refrigerant suction and liquid, CD condensate drain
DuctworkSA supply, RA return, OA outside air, EA exhaust, MUA make-up air; add :indoor or :outdoor to take off one location only (SA:outdoor)
curl -X POST https://insulengine.com/v1/jobs \
  -H "Authorization: Bearer $INSULENGINE_API_KEY" \
  -F name="TCO Blaine" \
  -F drawings=@P1-P3.pdf -F drawings=@M1-M4.pdf \
  -F specification=@spec.pdf \
  -F systems=CW,HW,HWR,STORM,SA,RA,OA \
  -F request_id=erp-4471

Job status

GET /v1/jobs/{id}

{
  "job": {"id": "c74f3ef7-…", "name": "Hope 4 Youth", "location": null,
          "created_at": "2026-11-21T14:02:11+00:00"},
  "status": "ready",
  "message": null,
  "takeoff_version": 1,
  "estimate": {"id": "5e6f7321-…", "version": 3, "status": "DRAFT", "sell_price": 11073.32,
               "material_total": 3501.16, "labor_hours": 61.25, "labor_total": 5758.9,
               "updated_at": "2026-11-21T14:09:40+00:00"},
  "api_version": "2026-11-21"
}
statusMeaning
no_drawingsThe job has no drawings yet.
analyzingThe takeoff is running. Wait for the takeoff.completed webhook, or ask again in a minute.
readyA takeoff is done and priced. Read the takeoff and the estimate.
needs_reviewA takeoff is done but something keeps it from being fully priced (message says what, for example a price missing from your price list). Quantities are readable.
failedThe drawings could not be read. message says why. Write to info@insulengine.com with the job's id and we will look at it.

takeoff_version goes up when the job is read again (for example after drawings are added). The API always shows the version the app shows; see Versions. Rather than asking for the status, you can have a webhook tell you when it changes.

List jobs

GET /v1/jobs?limit=50: your company's jobs, newest first, up to 200.

{"jobs": [{"id": "c74f3ef7-…", "name": "Hope 4 Youth", "location": null,
           "created_at": "2026-11-21T14:02:11+00:00"}],
 "api_version": "2026-11-21"}