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
blockswhen you need to add or remove a specific block type, e.g. forcing atable-blockinto a research run, or excludingimage-blockfor cost reasons.