title: Celery task history
body: <p>I am building a framework for executing tasks on top of Celery framework.</p>
  
  <p>I would like to see the list of recently executed tasks (for the recent 2-7 days).</p>
  
  <p>Looking on the API I can find <code>app.backend</code> object, but cannot figure out how to make a query to fetch tasks.</p>
  
  <p>For example I can use backends like Redis or database. I do not want to explicitly write SQL queries to database.</p>
  
  <p>Is there a way to work with task history/results with API?</p>
  
  <p>I tried to use Flower, but it can only handle events and cannot get history before its start.</p>