--- title: "Retrieving an Object" slug: "retrieving-an-object-boto3" tags: ["5.4"] updated: 2026-10-28T01:54:03Z published: 2026-10-28T01:54:03Z canonical: "docs.vastdata.com/retrieving-an-object-boto3" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Retrieving an Object The [get_object()](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.get_object) method retrieves an object. To download a specified range of bytes of an object, use the *Range* parameter. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. ## Example In this example, we download only bytes 32-64 of the object "MyObject" from the bucket "MyBucket". ```plaintext response = S3_client.get_object(    Bucket='MyBucket',    Key='MyObject',    Range='bytes=32-64', ) ```