accessing debug logs for all runs under a project via API

##correct endpoints to access debug log for all runs in a project via API - i have tried several but none are working

What I’ve already tried

i am trying to fetch debug logs for entire project and load them into our datalake,
all i could run is GET for api/v2/accounts/accountID/runs/, but
if i try to run this
api/v2/accounts/accountID/projects/PROJECT ID/?include_related=[“run_steps”,“debug_logs”]
says Resource not found

appreciate if you can share some ideas or tips here

It’s not possible to fetch the debug logs for ALL runs at one go. You need to do it one run at a time.

Note: @Jeremy Yeo originally posted this reply in Slack. It might not have transferred perfectly.