Added sample: Retrieve metadata