Execute multi-agent plan
Multi-Agent Planning (MAP) endpoint for complex, multi-step tasks.
How MAP Works
- Decomposition: LLM analyzes query and breaks into sub-tasks
- Planning: Creates workflow with dependencies
- Execution: Runs tasks (parallel when possible)
- Aggregation: Synthesizes results into final response
Provider routing
The organization's route rows (allowed_providers, preferred_provider) bind every LLM call a plan makes, as they bind /api/v1/process (#4249): the two calls that generate the plan and each llm-call step when it runs, decided over the prompt the call sends. When several applying rows name a preferred_provider, the last applying row in evaluation order (priority descending, then newest first) wins it; allowed_providers intersect across every applying row. Rows that permit no provider refuse the call before any provider is called (no_compliant_provider, or segment_not_established), and a route that cannot be established refuses it (segment_resolution_failed, decision_enforcement_unavailable). Plan generation answers such a refusal 403; a refused step fails with the reason.
Execution Modes
- auto: Automatically determines parallel/sequential (recommended)
- parallel: Force parallel execution of all independent steps
- sequential: Force sequential step-by-step execution
- balanced: I/O-bound connector steps parallel, LLM steps sequential
- confirm: Every step requires explicit approval (Enterprise only)
- step: First step auto-executes, subsequent require approval (Enterprise only)
Domains
- travel: Flights, hotels, itineraries
- healthcare: Medical queries
- finance: Financial analysis
- generic: General-purpose tasks
Plan steps are automatically routed to matching connectors based on capabilities. Community: Subject to connector limits (2 connectors). Enterprise: Unlimited connectors with multi-connector fallback support.
Requires authentication: Requests must come through the Agent.
Request
- Base URLhttps://orchestrator.getaxonflow.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Plan executed successfully
Example response
{
"version": 1,
"complexity": "medium",
"domain": "travel"
}Changes
No recorded changes to this operation across all 1 revision of this API.