Retrieve all closed (settled) positions for an agent.
polymarket.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Wallet address (EVM or Solana depending on venue)
Trading venue (default: polymarket)
50Market condition ID filter (comma-separated for multiple)
Filter by market title keyword (max 100 chars)
100Results per page (default 10, max 50)
0 <= x <= 50Pagination offset (default 0)
0 <= x <= 100000Sort field
REALIZEDPNL, TITLE, PRICE, AVGPRICE, TIMESTAMP Sort direction
ASC, DESC