The ZED SDK provides both RGB and depth information with many different data structures (depth map, disparity map, point cloud, etc.)
Unfortunately, capturing and saving raw data is not possible as the image stream is processed onboard by an ISP and only YUYV422 color data can be retrieved.
You can look at the zed-open-capture Github repository to have more information about this process.