Execute Batch Swarm Completions
Execute multiple swarm completions concurrently using optimized thread pool execution. This is a premium-only feature.
Headers
Body
The name of the swarm, which serves as an identifier for the group of agents and their collective task.
100A comprehensive description of the swarm's objectives, capabilities, and intended outcomes.
A list of agents or specifications that define the agents participating in the swarm.
The maximum number of execution loops allowed for the swarm, enabling repeated processing if needed.
The classification of the swarm, indicating its operational style and methodology.
AgentRearrange, MixtureOfAgents, SequentialWorkflow, ConcurrentWorkflow, GroupChat, MultiAgentRouter, AutoSwarmBuilder, HierarchicalSwarm, auto, MajorityVoting, CouncilAsAJudge, HeavySwarm, BatchedGridWorkflow, LLMCouncil, DebateWithJudge, RoundRobin, PlannerWorkerSwarm Instructions on how to rearrange the flow of tasks among agents, if applicable.
The specific task or objective that the swarm is designed to accomplish.
An optional image URL that may be associated with the swarm's task or representation.
A list of tasks that the swarm should complete.
- Messages · object[]
- Messages · object
A flag indicating whether the swarm should stream its output.
The model name to use for the question agent in the heavy swarm.
The model name to use for the worker agent in the heavy swarm.
For HeavySwarm: which agent variant to run. One of 'default', 'medium', or 'heavy'.
For CouncilAsAJudge: the model name used by the judge that delivers the final ruling.
For LLMCouncil: the model name used by the chairman that synthesizes the council's responses.
Inject the multi-agent collaboration prompt so agents coordinate with one another. Set False to disable.
For HeavySwarm: the maximum number of loops each agent in the heavy swarm may run.
Whether to list all agents and their descriptions to one another so each agent is aware of the others.
Response
Successful Response