Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • All guides
      • Uploading an object
      • Uploading an object via multipart upload
      • Getting a list of objects in a bucket
      • Getting information about an object
      • Download an object
      • Restoring an object version
      • Renaming and moving an object
      • Copying an object
      • Downloading an object via a pre-signed URL
      • Uploading an object via a pre-signed URL
      • Enabling an object lock
      • Deleting an object
      • Deleting all objects
      • Deleting a partially uploaded object
      • Edit an object’s ACL
      • Managing object labels
      • Managing custom object metadata
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Objects
  3. Getting information about an object

Getting information about an object

Written by
Yandex Cloud
Improved by
Tania L.
Updated at November 2, 2026
View in Markdown
Management console
Yandex Cloud CLI
API
  1. In the management console, select a folder.
  2. Navigate to Object Storage.
  3. Select the bucket from the list and go to the Objects tab.
  4. Click the name of the object you need.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for getting information about an object:

    yc storage s3api head-object --help
    
  2. Get a list of buckets in the default folder:

    yc storage bucket list
    

    Result:

    +------------------+----------------------+-------------+-----------------------+---------------------+
    |       NAME       |      FOLDER ID       |  MAX SIZE   | DEFAULT STORAGE CLASS |     CREATED AT      |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    | first-bucket     | b1gmit33ngp6******** | 53687091200 | STANDARD              | 2022-12-16 13:58:18 |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    
  3. Run this command:

    yc storage s3api head-object \
      --bucket <bucket_name> \
      --key <object_key>
    

    Where:

    • --bucket: Name of your bucket.
    • --key: Object key.

    Result:

    etag: '"d41d8cd98f00b204e9800998********"'
    request_id: 6428ce25********
    accept_ranges: bytes
    content_type: application/octet-stream
    last_modified_at: "2024-10-08T12:36:36Z"
    server_side_encryption: aws:kms
    sse_kms_key_id: abj497vtg3h0********
    

To get information about an object, use the getObjectMeta S3 API method.

Was the article helpful?

Previous
Getting a list of objects in a bucket
Next
Download an object
© 2026 Direct Cursus Technology L.L.C.