Engine API v1 · AI Agents
Connect AI agents directly to our simulation engine.
With our versioned REST API v1, AI agents and custom scripts talk directly to the Rust engine — headless, OpenAPI 3.1 native, version-pinned, and built for structured trade evaluation.
- Active engine
- backtester-v1.1.0
- Specification
- OpenAPI 3.1.0
- Pro batch limit
- Up to 10,000 variants
{
"apiVersion": "v1",
"currentEngineVersion": "backtester-v1.1.0",
"contractVersion": "strategy-frame-v2",
"liveBacktester": {
"currentSemver": "1.1.0",
"capabilities": [
"single-backtest",
"batch-permutation",
"on-demand-scenario-inspect"
]
}
}Connected in 3 steps
How AI agents work with the simulation engine.
No fragile browser automation: clean JSON contracts, explicit engine versions, and structured results.
- 01
Read OpenAPI 3.1 & engine version
Your AI agent fetches /api/v1/openapi.json and /api/v1/engine/versions to discover every endpoint, field, and capability automatically.
- 02
Submit JSON strategies & run tests
Define entry and exit rules as clean JSON and launch single backtests or batch parameter sweeps.
- 03
Evaluate trades & metrics
Receive exact buy/sell executions, fees, drawdowns, returns, and explicit engine version headers.
REST API v1 overview
All core endpoints at a glance.
Public discovery endpoints work without a key; simulations, batch sweeps, and trade inspection are unlocked on Pro and Enterprise plans.
| Method | Endpoint | Access | Purpose |
|---|---|---|---|
| GET | /api/v1/engine/versions | Public | Inspect active engine release, frame contract, and live Rust status |
| GET | /api/v1/openapi.json | Public | Machine-readable OpenAPI 3.1.0 specification for AI agents |
| POST | /api/v1/strategies | Pro / Enterprise | Compile a declarative JSON strategy DSL into a runnable snapshot |
| POST | /api/v1/backtests | Pro / Enterprise | Execute a single backtest pinned to a specific engineVersion |
| POST | /api/v1/backtests/batch | Pro / Enterprise | Launch an asynchronous batch sweep across thousands of parameter variants |
| POST | /api/v1/backtests/:runId/scenarios/:rank/inspect | Pro / Enterprise | Reconstruct OHLC candles and exact buy/sell markers for any scenario |
| GET | /api/v1/backtests/:runId | Pro / Enterprise | Poll run progress or fetch completed single and batch metrics |
API FAQ
Key details before you integrate.
Clear answers for developers, research teams, and AI agent builders.
Can AI agents operate the engine completely without the UI?
Yes. With a Pro or Enterprise API key, AI agents run the full workflow via REST: create strategies in JSON, run single or batch simulations, poll status, and inspect individual trades.
Which plan is required for the Engine API?
Engine version discovery and the OpenAPI 3.1 schema are public. Creating API keys and running simulations on /api/v1 requires an active Pro or Enterprise plan.
How do results stay reproducible across future engine updates?
Every response includes X-Umbre-Engine-Version (currently backtester-v1.1.0) and X-Umbre-Contract-Version (strategy-frame-v2). You can pin engineVersion explicitly in every request for full reproducibility.
Does the API place live orders on exchanges?
No. The Engine API is strictly for historical simulations, parameter sweeps, and benchmarks — with zero broker access or live execution risk.
Connected research
Continue through the research workflow.
Important risk information
Backtests and sweetspot analyses are hypothetical simulations based on historical data and selected assumptions. They can omit market effects and do not guarantee future results. Umbre Trading does not provide investment advice or execute trades.
MethodologyReady to integrate
Connect your scripts or AI agents to Umbre.
Create your scoped API key in the Pro workspace or inspect the public OpenAPI 3.1 schema first.