Submit a job
Generate one synthetic patient. Returns at once with the job, queued; poll it with GET /v1/jobs/{job_id} until it has succeeded, then download its results.
Authentication
An API key, or an OAuth 2.0 access token, with the synth:process scope.
Headers
Optional, recommended: retrying with the same key and body returns the original job (200) instead of creating, and charging for, a second one. Per organization, for 24 hours. 1-128 of [A-Za-z0-9_.:-].
Request
1 = healthy, routine care only; 10 = multiple serious chronic conditions with frequent specialist and inpatient care. Random if omitted.
Clinical documents to generate. A visit produces one; a hospital stay can produce several (H&P, progress notes, consults, operative note, discharge summary).
Only these document types. Generator chooses if omitted. To get a normal chart that also has certain types, use include_document_types instead.
Make sure the chart has at least one document of each of these types; the rest are the chart’s usual mix (of document_types, if given). At most num_documents types.
fhir: a FHIR R4 bundle; notes: the documents as text; pdf: each document as a PDF, plus the whole chart as one. The patient’s full record (result) is always included.
Response
Idempotent retry: the job already created with this Idempotency-Key
Times processing started; a job interrupted on our side is retried.

