--- title: "Get Object Details" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/stratus/object-details/ description: "This page lists the Java SDK method to get details of objects stored in a bucket." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Stratus Component Help Documentation" url: /en/cloud-scale/help/stratus/introduction - name: "Objects Help Documentation" url: /en/cloud-scale/help/stratus/objects/introduction/ - name: "JavaScript SDK Documentation" url: /en/sdk/javascript/v1/cloudscale/stratus/get-object-details/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/stratus/object-details/ - name: "iOS SDK" url: /en/cloud-scale/help/stratus/introduction - name: "Android SDK" url: /en/cloud-scale/help/stratus/introduction - name: "Flutter SDK" url: /en/cloud-scale/help/stratus/introduction - name: "REST API" url: /en/api/code-reference/cloud-scale/stratus/get-all-buckets/#GetAllBuckets --- # Get Object Details ### Get Details of an Object Using this SDK method, you will be able to get all details of an object and all its versions. The Object reference used in the below code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/stratus/create-object-instance/). > **Info:** To use this SDK method, you need intialize it with **Admin** scope. You can learn more about this requirement from this [section](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/overview/#initialize-sdk-with-scopes) #### Sample Code Snippet **Package Imports** ```java import com.zc.component.stratus.ZCObject; ``` ```java ZCObject objectRes = object.getDetails(); System.out.println(objectRes); ``` > **Note:** If [Versioning](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning) is enabled, then using this SDK method will only return the latest version's object details. ### Get Details of a Particular Version of the Object Using this SDK method, you will be able to get all details of a particular object's version. > **Info:** To use this SDK method, you need intialize it with **Admin** scope. You can learn more about this requirement from this [section](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/overview/#initialize-sdk-with-scopes) **Parameters Used**
| Parameter Name | Data Type | Definition |
|---|---|---|
| `versionId` | **String** | An **Optional** parameter. If [Versioning](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning) is enabled for your bucket then, this param will help you refer to a particular version using its unique Version ID. |