Run a self-authored XStrategy on a wallet (two-step confirm)
POST /v1/autopilot/managed/xstrategy/:strategyId/deploy — Deploy an XStrategy onto the selected sub-wallet by cloning the existing deployment's config (version / universe / inter
POST /v1/autopilot/managed/xstrategy/:strategyId/deploy
Deploy an XStrategy onto the selected sub-wallet by cloning the existing deployment's config (version / universe / interval / policy) and re-binding the wallet. Fund-moving, two-step preview → confirm. One active deployment per strategy — an already-running strategy returns a conflict.
| Method | POST |
| Path | /v1/autopilot/managed/xstrategy/:strategyId/deploy |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | autopilot |
Request body
{ "deploymentId": "dep_…", "subAccountId": "sub_…", "confirm": false, "idempotencyKey": "<uuid-v4>" }Response body
{ "confirmed": false, "preview": { "strategyId": "str_…", "subAccountId": "sub_…", "warning": "…" } }