ข้ามไปยังเนื้อหา

REST API — Workflow Backtests

เนื้อหานี้ยังไม่มีในภาษาของคุณ

Method Path What it does
GET /api/workflows/{workflow_id}/backtests/configs List a workflow’s backtest configs. Any member can view.
POST /api/workflows/{workflow_id}/backtests/configs Create a backtest config. Members and owners.
DELETE /api/workflows/{workflow_id}/backtests/configs/{config_id} Delete a config. Members and owners. Its runs cascade with it.
PATCH /api/workflows/{workflow_id}/backtests/configs/{config_id} Update a config. Members and owners. Past runs are unaffected (they scored against their snapshot + dataset fingerprint).
POST /api/workflows/{workflow_id}/backtests/configs/{config_id}/lifecycle Manual lifecycle override (disable / reactivate). Members and owners. Automatic evaluation owns monitoring/decayed; a manual reactivation puts the strategy back under scan.
GET /api/workflows/{workflow_id}/backtests/runs List recent backtest runs (denormalized summaries — single query).
POST /api/workflows/{workflow_id}/backtests/runs Start a backtest sweep. Members and owners.
GET /api/workflows/{workflow_id}/backtests/runs/{run_id} One run with its per-step decisions (execution_id deep-links).
GET /api/workflows/{workflow_id}/backtests/studies List recent studies (denormalized summaries — single query).
POST /api/workflows/{workflow_id}/backtests/studies Create and start a study: a search over the config’s params and/or the base version’s prompts. Members and owners.
GET /api/workflows/{workflow_id}/backtests/studies/{study_id} One study with its candidates — the leaderboard’s data source.
POST /api/workflows/{workflow_id}/backtests/studies/{study_id}/cancel Request cancellation of a running study. Members and owners.