--- title: "Get Object Details" url: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/stratus/object-details/ description: "This page lists the Node.js 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: "Versioning Help Documentation" url: /en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/stratus/object-details/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/stratus/check-object-availability/ - name: "JavaScript SDK Documentation" url: /en/sdk/javascript/v1/cloudscale/stratus/rename-move/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/stratus/overview/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/stratus/overview/ - name: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/stratus/overview/ - name: "REST API" url: /en/api/code-reference/cloud-scale/stratus/get-all-buckets/#GetAllBuckets --- # Get Object Details > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/get-object-details/) now. ### Get Details of All Objects Use the following SDK method to get details of all the objects stored in the bucket. The Object reference used in the below code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/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) ```javascript const objectRes = await objectIns.getDetails(); console.log(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 To get the details of a particular version of the object, you need to pass the versionId of the object to `getDetails()` SDK method. > **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. |