Automation
APIs for automation creation, editing, querying, deletion, and capability
đī¸ List Endpoint Capabilities for Automation
Get the list of endpoint capabilities in all devices that can be used to create **Flow** automations. The response includes the value type and unit for each endpoint, as well as the roles they support in **Flow** automations (e.g., can be used as a trigger, condition, or action).
đī¸ Create An Automation
Create a Flow automation. The automation is triggered by events or timed; config is required, name can fall back to config.metadata.name. Returns an automationId after successful creation.
đī¸ List Automations
Get a paginated list of automation summaries, including each automation's ID, name, enable status, and creation time.
đī¸ Query Automation Details
Query automation details by automation ID.
đī¸ Edit An Automation
Edit automation name, enabled status, and configuration.
đī¸ Batch Update Automation Statuses
Update the enabled statuses of multiple automations in one request. Return successIds / failedItems item by item. Partial success still returns code=0; all failures return code=2023, REST HTTP 400.
đī¸ Update Space Association for Automations
Batch associate a space for multiple automations.
đī¸ Delete Automations
Delete multiple automations in one request. Return successIds / failedItems item by item. Partial success still returns code=0; all failures return code=2023, REST HTTP 400.