Workspace

Legacy alias: track an enrichment run (use GET /enrichment-runs/{runId})

Changed on

Deprecated alias for GET /enrichment-runs/{runId}; identical response.

get/batches/{batchId}

Request

  • Base URL
    https://origami.chat/api/v2
  • URL
    https://origami.chat/api/v2/batches/{batchId}
  • Auth
    HTTP bearer

Response

The enrichment-run detail.

object'enrichment_run' required
idstring uuid required
batchIdstring uuid required

Legacy alias of id, kept for pre-restructure consumers.

tableIdstring uuid required
typestring required

The run's work type (e.g. upsert).

statusstring required
createdAtstring date-time required
completedAtstring date-time nullable required
tableRunIdstring uuid nullable required

Linked table-run parent (enrich=true batches only). Lets consumers poll GET /tables/{tableId}/runs/{runId} or await the table.run.completed webhook without a version bump. null for enrich=false writes and pre-migration batches. Completion is first-owner scoped: overlapping cells already active under an earlier run are not adopted into this parent, so this run can complete while those cells are still executing elsewhere.

rowCountinteger required

Rows this run processed. For upsert runs this is the per-row outcome ledger length (one entry per input row).

creditsUsedinteger required

Settled credit cost. 0 until the run reaches a terminal status.

Changes

    • info

      added the required property //// to the response with the status