Retrieve a list of objects (files and folders) from a specific directory in Antryk Storage. This endpoint allows you to fetch all files and subfolders داخل a given path within a bucket. It is commonly used to browse directories, build file explorers, or manage stored content programmatically. By defining the bucket name and directory path directly in the URL, this API follows a clean and RESTful design with no request body required.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
object listing by handling authentication, validation, and API communication
internally.This endpoint does not accept a request body. All required information
such as bucket name and directory path must be passed via the URL, while
authentication must be provided using headers.
New Object Listing Approach (Recommended)
This is the recommended and modern approach for retrieving objects from Antryk Storage:- No request body is required.
- The bucket name and directory 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 directory path whose contents you want to retrieve. This can represent a
folder or prefix inside the bucket.
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/docsExample:
YOUR_ACCESS_KEYExample:
YOUR_SECRET_KEYAdditional Notes
- This endpoint returns both files and folders within the specified path.
- Use / or an empty path (depending on implementation) to list root-level objects.
- Useful for building file managers, dashboards, or content browsers.
- Ensure the directory path is correctly structured to avoid unexpected results.
- When using the SDK, inputs are validated before making requests, improving reliability and developer experience.

