Get object metadata without downloading its content
scaleway_s3_head_objectRetrieve S3 object metadata (content-type, size, etag, last-modified, user metadata) without downloading the body, reducing costs when only metadata is required.
Instructions
Fetch an object's metadata (content-type, size, etag, last-modified, user metadata) without transferring its body. Cheaper than scaleway_s3_get_object when you don't need the content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (the full path within the bucket), e.g. 'invoices/2026-08/inv-001.pdf'. | |
| bucket | Yes | Bucket name, e.g. 'payments-backups'. | |
| region | No | Region the bucket lives in. Defaults to the server's configured region (fr-par). |