--- title: "Get Object Details" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/get-object-details/ description: "This page describes the method to execute circuits in your application with sample code snippets." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Stratus Help Documentation" url: /en/cloud-scale/help/stratus/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/cloud-scale/stratus/object-details/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/cloud-scale/stratus/object-details/ - name: "iOS SDK Documentation" url: /en/sdk/ios/v2/cloud-scale/stratus/overview/ - name: "Android SDK Documentation" url: /en/sdk/android/v2/cloud-scale/stratus/overview/ - name: "Flutter SDK Documentation" url: /en/sdk/flutter/v2/cloud-scale/stratus/overview/ - name: "REST API Documentation" url: /en/api/code-reference/cloud-scale/stratus/get-all-objects/#GetAllObjects repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Get Object Details > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/overview/#prerequisites) to use this SDK method. ### Get Details of All Objects You can use the `getDetails()` SDK method to get the details of all the objects that stored in a bucket in Stratus. The `objectIns`, object reference used in the following code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/create-object-instance/). > **Note:** If [Versioning](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning) is enabled for your bucket, and no `versionId` is provided while using this SDK method, then the SDK method will only return the latest version's object details. ```javascript const objectRes = await objectIns.getDetails(); console.log(objectRes); ``` #### Example of Expected Response ```javascript { "key": "sam/out/sample.txt", "size": 1, "content_type": "text/plain", "last_modified": "May 22, 2024 12:25 PM", "meta_data": { "author": "John" }, "object_url": "https://zcstratus12345-development.zohostratus.com/sam/out/sample.txt", "cached_object_url": "https://zcstratus12345-development.nimbuslocaledge.com/sam/out/sample.txt" } ``` ### Get Details of a Particular Version of the Object #### Parameters Used
| Parameter Name | Data Type | Definition |
|---|---|---|
| `versionId` | **String** | An **optional** parameter. Needs to be used to refer to the required version of the object. |