Movies:
Lead/Major Roles:
* 21 Jump Street (2012)
* 22 Jump Street (2014)
* The Wolf of Wall Street (2013)
* Moneyball (2011)
* Superbad (2007)
* Knocked Up (2007)
* Forgetting Sarah Marshall (2008)
* Get Him to the Greek (2010)
* War Dogs (2016)
* Don't Worry, He Won't Get Far on Foot (2018)
* The King of Staten Island (2020)
Supporting Roles:
* The Lego Movie (2014)
* 21 & Over (2013)
* This Is the End (2013)
* The Sitter (2011)
* Funny People (2009)
* Accepted (2006)
* Click (2006)
* Orange County (2002)
* Annie Hall (1977) (uncredited, as a child)
Voice Roles:
* How to Train Your Dragon (2010)
* How to Train Your Dragon 2 (2014)
* How to Train Your Dragon: The Hidden World (2019)
* The Lego Movie (2014)
* The Lego Movie 2: The Second Part (2019)
* Sausage Party (2016)
* F Is for Family (2015-2021)
Television:
* Maniac (2018)
* The OA (2016)
* Saturday Night Live (2011-2023) - Host
* "The Simpsons" (2010) - Voice role
* "Family Guy" (2011, 2013, 2020) - Voice role
* "Arrested Development" (2013)
* "The Tonight Show Starring Jimmy Fallon" (2015) - Guest
* "The Late Show with Stephen Colbert" (2016) - Guest
Other:
* "Mid90s" (2018) - Director, Writer, Producer
* "Stutz" (2022) - Director, Writer, Producer
This is not an exhaustive list, but it covers many of his notable projects. He has also been involved in many other productions as a writer, producer, and director. You can find a more detailed list of all his projects on websites like IMDb.