Retrieve metadata for an object in Antryk storage.Documentation Index
Fetch the complete documentation index at: https://docs.antryk.com/llms.txt
Use this file to discover all available pages before exploring further.
For Node.js applications, it is recommended to use the official
@antryk/sdk. The SDK simplifies
metadata retrieval by handling authentication, validation, and API
communication internally.This endpoint does not accept a request body. All required information
such as bucket name and object path must be passed via the URL, while
authentication must be provided using headers.
New Metadata Retrieval Approach (Recommended)
This is the recommended and modern approach for retrieving object metadata from Antryk Storage:- No request body is required.
- The bucket name and object path are defined directly in the URL.
- Authentication is handled via headers:
- x-access-key
- x-secret-key
⚠️ The older approach (sending
bucket, key, accessKey, and secretKey
in the request body) may still be supported for backward compatibility, but it
is strongly recommended to migrate to this new method.Request Parameters
The name of the storage bucket. This is specified directly in the URL.
The full path (including filename) of the object whose metadata you want to
retrieve.
Your Antryk access key used for authentication. You can obtain this from the
Antryk Console.
Your Antryk secret key used for authentication. Keep this secure and never
expose it publicly.
Examples
Example:
dsdsExample:
tutorial/fastapi-demo.mp4Example:
YOUR_ACCESS_KEYExample:
YOUR_SECRET_KEYAdditional Notes
- Metadata includes important details such as file size, MIME type, and last modified timestamp.
- This endpoint is useful for validating file uploads, auditing storage usage, or displaying file information in applications.
- Ensure the file path is correct and includes the full directory structure.
- If the object does not exist, the API may return an error.
- When using the SDK, all inputs are validated before making the request, improving reliability.

