Stream and admit an NDJSON workflow batch manifest
The first line is a `batch` header with workflow_version_id, priority and configured_concurrency. Every later line is an `item` with variables. The service validates each line as it arrives and accepts at most 100,000 items.
The first line is a batch header with workflow_version_id, priority and configured_concurrency. Every later line is an item with variables. The service validates each line as it arrives and accepts at most 100,000 items.
Authorization
BrowserWorkflowApiKey batches:writeX-API-Key<token>
Project- and environment-scoped browser workflow API key.
In: header
Scope: batches:write
Path Parameters
projectId*string
Format
uuidenvironmentId*string
Format
uuidworkflowId*string
Format
uuidHeader Parameters
Idempotency-Key?string
Optional. When omitted, the server generates a unique internal key for this submission.
Length
8 <= length <= 200Request Body
application/x-ndjson
TypeScript Definitions
Use the request body type in TypeScript.
body*file
Format
binaryResponse Body
curl -X POST "https://example.com/api/v1/browser/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/environments/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/batches/manifest" \ -H "Content-Type: application/x-ndjson" \ -d '{"type":"batch","workflow_version_id":"9c9b9538-e27b-4d40-a8ae-a50aa2ea701b","priority":0,"configured_concurrency":4} {"type":"item","variables":{"url":"https://example.com/a"}}'Empty