Global Export of task and all subtask for all projects

Good morning,
I’m trying to extract the list of tasks and sub-tasks from the projects I created.
I would like to perform this export via an API request. I only find queries to get the tasks of ONE project or the subtasks of ONE task. I have 1178 projects and I’m looking for an efficient method.
Could you help me please ?

Hi @Nicolas_Geneste-Sami and welcome to the forum,

The only way it can be accomplished in one API call, without going project by project, is via the Organizational Export feature. Note that, as stated in the docs, this is only available for service accounts on Enterprise plans (and while the docs don’t specify, I think for existing plans you’ll need Enterprise+).