Skip to main content
A block is a single node in the canvas DAG. The blocks field on POST /v1/run accepts a JSON array of block-type strings that constrains what the agents are allowed to create — overriding whatever template you passed.

Valid block types

Each API block type maps 1:1 to a block in the visual app. Follow the link to see what the block produces, its inputs, and example use cases.

When to use blocks vs template

  • Use a template when you want an opinionated output — the template was tuned for that shape.
  • Use blocks when you need to add or remove a specific block type, e.g. forcing a table-block into a research run, or excluding image-block for cost reasons.
See Templates for the full template matrix.