Access of Optix GAS BVH structure

Is there a way to access the GAS structure?
I like to access the BVH hierarchy and want to know how many bounding boxes are made and what are there positions and sizes and many more. I basically want access to the BVH structure. I am working on a monte Carlo technique and I need this structural info for my work.

That information is not available.

It’s intentionally abstracted because the acceleration structures are very implementation specific, means they will differ among OptiX versions, GPU architectures, and OptixBuildFlags.

You can only query the top-most AABB inside an OptiX acceleration structure via the OptixAccelPropertyType OPTIX_PROPERTY_TYPE_AABBS.