Skip to navigation

Get object metadata

Returns one object’s size, SHA-256 (for a file uploaded whole with a checksum, as upload links always do), ETag, content type, last change and custom metadata without downloading it. Use it to confirm an upload made with a link: compare size_bytes and checksum_sha256 with the file you sent. 404 when no object has this key. Requires scope: object-storage.read.

# Example request with curl (set IBEE_API_TOKEN to a platform API token and WORKSPACE_ID to the workspace first).
# BUCKET_NAME: Logical bucket name
# OBJECT_PATH: The object's key, such as `photos/2026/cat
curl "https://api.ibee.ai/v1/object-storage/buckets/$BUCKET_NAME/objects/$OBJECT_PATH/metadata?workspace_id=$WORKSPACE_ID" \
-H "Authorization: Bearer $IBEE_API_TOKEN"

Authentication

AuthorizationBearer

IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.

Path parameters

bucket_namestringRequired
Logical bucket name.
object_pathstringRequired>=1 character

The object’s key, such as photos/2026/cat.jpg, sent with plain / between segments; percent-encode other reserved characters in a segment (a space as %20). At most 1,024 bytes. A key with an empty, . or .. segment, or with ?, #, %, \ or a control character, is refused with 400.

Query parameters

workspace_idstringRequiredformat: "^[1-9][0-9]*$">=1 character

The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.

Response

The object's metadata.
namestring
The object's key.
bucketstring
The bucket's name.
size_byteslong
Size in bytes.
checksum_sha256string or nullOptional

The base64 SHA-256 kept for a file uploaded whole with a checksum (upload links always send one); null otherwise.

last_modifieddatetime or nullOptional
etagstring or nullOptional
The object's ETag, as S3 tools show it.
content_typestring or nullOptional
metadatamap from strings to any or nullOptional
The object's custom metadata.
is_publicbooleanOptional
Whether anyone can read the object without a link.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error