Stream and admit an NDJSON workflow batch manifest
The first line is a `batch` header with workflow_version_id, priority, configured_concurrency, and optional proxy_type and max_credits_per_request. These optional settings apply to every item in the batch. 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, configured_concurrency, and optional proxy_type and max_credits_per_request. These optional settings apply to every item in the batch. Every later line is an item with variables. The service validates each line as it arrives and accepts at most 100,000 items.
BrowserWorkflowApiKeyX-API-Key<token>Project- and environment-scoped browser workflow API key.
projectId*stringuuidenvironmentId*stringuuidworkflowId*stringuuidIdempotency-Key?stringOptional. Generate a unique value before a write and retain it for an exact-body retry; replay is free and a different body returns 409 IDEMPOTENCY_CONFLICT.
8 <= length <= 200body*fileapplication/x-ndjsonbinaryAdmitted workflow batch Error body uses the documented PublicError DTO.
application/json- response
id*stringuuidparent_batch_id*|uuidproject_id*stringuuidenvironment_id*stringuuidworkflow_id*stringuuidworkflow_version_id*stringuuidrequested_by?integer|nullstatus*stringconfigured_concurrency*integerpriority*integerestimate_units*integeractual_cost_units*integeraccepted_count*integerrejected_count*integercompleted_count*integerfailed_count*integercreated_at*stringdate-timestarted_at*|date-timefinished_at*|date-timecurl -X POST 'https://api.runharvester.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,"proxy_type":"premium","max_credits_per_request":100}{"type":"item","variables":{"url":"https://example.com/a"}}' \ --header "X-API-Key: ${RUNHARVESTER_BROWSER_API_KEY:?Set your Browser Workflow API key}" \ --header "Idempotency-Key: ${RUNHARVESTER_IDEMPOTENCY_KEY:?Set a unique key for this submission; reuse it for retries}"{ "id": "9a20bd58-ed33-4a5b-b63f-b52bb1a62248", "status": "pending"}