add a timeline representation into the api