That’s exactly how it works. You need to organise the geometry in Grasshopper with further development in mind and feed it to relevant SDDisplayGeomtery outputs. Depending on the data structure (list or tree), the geometry is accessible as one or list of objects with the api.scene.get()
call.
This video explains how to manage data in Grasshopper for online apps: