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.

POST
/api/v1/browser/projects/{projectId}/environments/{environmentId}/workflows/{workflowId}/batches/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.

Authorization

BrowserWorkflowApiKey batches:write
X-API-Key<token>

Project- and environment-scoped browser workflow API key.

In: header

Scope: batches:write

Path Parameters

projectId*string
Formatuuid
environmentId*string
Formatuuid
workflowId*string
Formatuuid

Header Parameters

Idempotency-Key?string

Optional. When omitted, the server generates a unique internal key for this submission.

Length8 <= length <= 200

Request Body

application/x-ndjson

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response 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