Query custom fields in "Get member details" API function

It is possible to define custom fields in the front end when a user registers. However, it seems it is not possible to later query this information over the api using "get member details". It is only possible to get the core fields + Armembers in-built custom fields.