Reference
Remy Reference/agent/BatchStepInput
?

BatchStepInput

Type
One action in an executeStepBatch request: a step type and its config.

One entry in the array executeStepBatch takes: stepType names the SDK action and step is its input, exactly as you would pass to the action on its own. Every entry in the batch runs in parallel.

BatchStepInput.ts
interface BatchStepInput {
  stepType: string
  step: Record<string, unknown>
}
Fields
stepType
string
The action to run, e.g. 'generateImage' or 'searchGoogle'.
step
object
The action's input, the same shape the single-action call takes.
A batch step
const steps: BatchStepInput[] = [
  { stepType: 'generateImage', step: { prompt: 'a sunset' } },
  { stepType: 'textToSpeech', step: { text: 'hello' } },
];