List a batch job's results
/lang2fhir/batch/{job_id}/resultsA lighter status page. Returns the same per-item status entries as
GET /lang2fhir/batch/{job_id}, but without the job record or counts,
and the entries carry result_size rather than any result content. Use
each entry's item_id to fetch that item's result from
GET /lang2fhir/batch/{job_id}/results/{item_id}.
Entries are listed in a stable order that is not upload order and is
the same across pages. Match each entry to your own records by its id
(your correlation label) or item_id (from the upload response),
never by position.
Path parameters
job_idstringrequiredQuery parameters
cursorstringoptionalOpaque pagination cursor from a previous page's next_cursor.
limitintegeroptionaldefault 20Page size. Defaults to 20; values above 100 are clamped to 100.
A page of per-item result statuses
Response fields
resultsobject[]requireditem_idstringrequiredServer-assigned opaque item ID, used in result URLs.
idstringoptionalThe caller's correlation label, echoed back; omitted when none was supplied.
statusstringrequiredItem status.
pendingprocessingsucceededfailedattemptsintegerrequiredNumber of processing attempts so far. An item runs up to 3 attempts, and only an interruption — a worker preemption or a recovered internal error — is retried; a conversion error fails the item with no retry.
detect_retriesinteger (int64)optionalHow many times concept detection was re-run for the item because a pass returned no concepts. Present only on a succeeded item whose detection re-ran at least once; omitted otherwise.
result_sizeinteger (int64)optionalSize in bytes of the item's stored result. Present once the item has succeeded.
errorobjectoptionalA job- or item-level failure. Never contains document or patient content.
kindstringrequiredShort stable token to branch on. Item-level kinds: invalid_input
(the stored body was not a valid create/document request),
processing_failed (the conversion failed), budget_exceeded (the
item ran past its time budget — 600s for a document item, 450s for a
create item), result_too_large (the result exceeded the storage
cap), input_unavailable (the input could not be read), and
retries_exhausted / attempts_exhausted (buried after too many
failed attempts).
Job-level kinds: timeout (the job did not finish within 36 hours
of creation).
messagestringrequiredHuman-readable description of the failure.
completed_atstring (date-time)optionalWhen the item finished. Absent until then.
next_cursorstringoptionalCursor for the next page, when has_more is true.
has_morebooleanrequiredWhether more results remain beyond this page.