Backtest V2 API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
3 endpoints in this group.
GET /api/backtests/v2/ai-strategy/capabilities
Capabilities
Responses
| Code | Description |
|---|---|
200 | Successful Response |
POST /api/backtests/v2/ai-strategy/draft
Draft Strategy
DEFERRED — returns 501 until sandbox-foundation PR + cost-guard #2780 land.
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
POST /api/backtests/v2/ai-strategy/validate
Validate Strategy
Validate user code inside the #2838 restricted subprocess sandbox.
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |