Inspect metadata for a specific object.
Section: S3API Object Commands
Read object metadata
bash
bash
aws s3api head-object --bucket my-bucket --key backups/db.dumpExplanation
A very common way to confirm size, etag, storage class, and metadata.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing S3API Object Commands
Upload an object with s3api
Put a single object using low-level API options.
Delete a specific object version
Remove one version from a versioned bucket.