List recommendations
list_recommendationsYour Gambit agent's trade recommendations for YOUR account (the API key's user). status=pending for ones awaiting a response, status=history for the past ledger. Each row is the lean agent-facing ticket: id, instrument_id, direction, setup_family, entry_price, the exit plan (invalidation_rule, exit_method, targets), thesis, ts, the response fields (user_response, user_response_at, execution_id), and user_facing_recommendation — the same slice generate_recommendation returns (state, reason, strength, sizing, trade_ticket, validity, live_market). By default your wallet address and USD book (current position, portfolio value) are omitted — use get_account_balances / get_positions when you need the book. include_diagnostics: true switches to the full stored row instead: the pipeline snapshot (several kB per row) INCLUDING your wallet address and position values in your context — set it only when you actually need the internals. Row ids are the same ids generate_recommendation returns as recommendation_id and respond_to_recommendation accepts. Not every generated id is listed here: a watch mints no id, and a run whose ledger.status is recorded (a different recommendation on the same instrument/direction was already pending) has a respondable id that is NOT in the pending list — the pending one is its ledger.existing_pending_recommendation_id. generate_recommendation explains each case under ledger. (Requires api:read.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| status | Yes | ||
| include_diagnostics | No | return each row's full stored row (pipeline snapshot, several kB per row, including your wallet address and position values) instead of the lean agent-facing row; default false |