Blocks
Every command below also accepts the global options.
Get block
sim blocks get <blockId>Arguments
| Argument | Required | Description |
|---|---|---|
blockId | Yes | Block type identifier. An unversioned base type resolves to the newest version, and the response echoes the resolved id. |
List blocks
sim blocks list [options]Options
| Option | Required | Description |
|---|---|---|
--search <value> | No | Case-insensitive substring match against the block id, name, and description. |
--category <value> | No | Restrict to one toolbar category. Accepted values: blocks, tools, triggers. |
--capability <value> | No | Restrict to blocks that can start a workflow — the triggers category, blocks declaring triggerAllowed, and blocks with trigger-mode fields. Accepted values: trigger. |
--source <value> | No | Restrict to shipped blocks or to this workspace’s deployed custom blocks. Accepted values: builtin, custom. |
--sort-by <value> | No | Field used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: id, name, category. |
--sort-order <value> | No | Sort direction. Accepted values: asc, desc. |
--limit <n> | No | Maximum items to return (0 for everything). Defaults to 100. |