Create a Copilot price recommendation
POST /v1/perps/copilot-analysis — Requests a read-only Copilot price recommendation for a perp symbol. This endpoint does not preview, create, or execute
POST /v1/perps/copilot-analysis
Requests a read-only Copilot price recommendation for a perp symbol. This endpoint does not preview, create, or execute an order.
| Method | POST |
| Path | /v1/perps/copilot-analysis |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | perps |
Request body
{ "symbol": "BTC", "style": "day", "initialMarginUsd": 1000, "subAccountId": "sub_123" }Response body
{ "recommendation": { "id": "copilot-1", "direction": "long", "entryPrice": 65000, "takeProfitPrice": 68000, "stopLossPrice": 63000, "initialMarginUsd": 1000, "leverage": 10, "reasons": ["Momentum is positive"] }, "connected": true }