as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
generate an api endpoint that returns a list of items
user
the api endpoint should take a few parameters such as the type of items, a range, and any filters. it should then construct a query based on the parameters and execute this query on the database to return a list of items satisfying the parameters. the api should also provide pagination to allow for easy navigation of large datasets.
assistant