devices:provision
These endpoints are used by factory tools to create devices and write their credentials before shipping. See Fleet batches for the full workflow.
Every device you create counts toward your workspace device rent. See Device rent.
Create devices in bulk
Returns
201 with the batch summary and one result per device, including its device_id and device_secret_id. Returns 402 if the balance does not cover the batch.
Get a provisioning bundle
?format=json to receive keys_json instead of the default keys_h file.
Factory line
When several stations work on the same batch, each station claims a device first so two operators never flash the same unit. A claim lasts 5 minutes.
A claim by another station returns
409. A stale or wrong claim_token also returns 409.