How to find Order which is open or closed?

Which OrderApi do i need to use or How to i find which order is active(open) or closed??

@Savio_Silveira

To find out which orders are active (open) or closed, you can use the Order Book API. This API provides all orders placed today along with their most recent statuses. You can implement logic in your application to filter these orders based on their status. For more details on the Order Book API, please visit: Upstox Order Book API Documentation.

Thanks!!