Change /list endpoint to /queries.