Stream batch items (Phase 2)
Changed onPhase 2 of 2-phase batch API. Accepts an NDJSON stream of batch items and enqueues them. Each line in the body should be a valid BatchItemNDJSON object. The stream is processed with backpressure - items are enqueued as they arrive. The batch is sealed when the stream completes successfully.
Request
- Base URL: https://api.trigger.dev
- URL: https://api.trigger.dev/api/v3/batches/{batchId}/items
- Auth: HTTP bearer
Path parameters
The batch ID returned from POST /api/v3/batches
Response
Items successfully processed
Changes
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info