Copilot recommendation history
GET /v1/perps/copilot-history — Returns local Agent recommendations for the current account, symbol and sub-wallet, merged with legacy upstream history.
GET /v1/perps/copilot-history
Returns local Agent recommendations for the current account, symbol and sub-wallet, merged with legacy upstream history. Pass executionSymbol to scope local history to an exact contract. Local records remain available if the legacy service fails; with no local records and no upstream response, returns an empty list with connected: false.
| Method | GET |
| Path | /v1/perps/copilot-history |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | perps |
Response body
{ "recommendations": [{ "id": "copilot-1", "direction": "long", "entryPrice": 65000, "takeProfitPrice": 68000, "stopLossPrice": 63000, "initialMarginUsd": 1000, "reasons": ["Venue momentum and current catalysts support the setup"], "risks": ["Funding and volatility may invalidate the setup"], "source": "local_agent", "marketMode": "perps", "executionSymbol": "BTC", "exchange": "hyperliquid", "subAccountId": "sub_123", "research": { "tools": [{ "tool": "web_search", "ok": true, "retrievedAt": "2026-09-16T00:00:00.000Z" }], "skills": [] } }], "connected": true }