How to get Task's author/creator/owner Id through API?

How to get Task's author/creator/owner Id through API?

I would like to get creator/author loginID for tasks but I dont see a way to do this.

ownerId seems to be coming in the <Details></Details> section but if a task has multiple owners, the section does not seem to carry all of them. How do I get all owners?

Thank you