Skip to main content
POST
Run a chain of actions

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Path Parameters

workspaceId
string<uuid>
required

Workspace UUID. Caller must have access.

deviceId
string
required

Device id (paired into the workspace).

Body

application/json
steps
object[]
required
Required array length: 1 - 20 elements

One step in a chain. The params shape is correlated with the verb discriminator via OpenAPI 3.1 discriminator.mapping — each variant carries the exact params shape its verb accepts.

capture
enum<string>

Top-level capture policy for a chain request. Per-step capture always overrides this default. 'each' captures every step; 'final' captures only the last; 'none' (default) captures nothing.

Available options:
each,
final,
none

Response

Chain executed

ok
boolean
required

True iff every step's ok was true.

steps
object[]
required