!!! info "[ApiOrderHistoryRequest](/../../schemas/api_order_history_request)" Retrieves the order history for the account.

Pagination works as follows:
|Name
`Lite`|Type|Required
`Default`| Description | |-|-|-|-| |sub_account_id
`sa` |string|True|The subaccount ID to filter by| |kind
`k` |[Kind]|False
`all`|The kind filter to apply. If nil, this defaults to all kinds. Otherwise, only entries matching the filter will be returned| |base
`b` |[string]|False
`all`|The base filter to apply. If nil, this defaults to all bases. Otherwise, only entries matching the filter will be returned| |quote
`q` |[string]|False
`all`|The quote filter to apply. If nil, this defaults to all quotes. Otherwise, only entries matching the filter will be returned| |start_time
`st` |string|False
`0`|The start time to apply in nanoseconds. If nil, this defaults to all start times. Otherwise, only entries matching the filter will be returned| |end_time
`et` |string|False
`now()`|The end time to apply in nanoseconds. If nil, this defaults to all end times. Otherwise, only entries matching the filter will be returned| |limit
`l` |integer|False
`500`|The limit to query for. Defaults to 500; Max 1000| |cursor
`c` |string|False
`''`|The cursor to indicate when to start the query from| ??? info "[Kind](/../../schemas/kind)" The list of asset kinds that are supported on the GRVT exchange
|Value| Description | |-|-| |`PERPETUAL` = 1|the perpetual asset kind| |`FUTURE` = 2|the future asset kind| |`CALL` = 3|the call option asset kind| |`PUT` = 4|the put option asset kind|