Storage

List files and directories in project storage

Returns files and directories at the given path level within the project's storage bucket. Uses a directory delimiter so only items at the specified depth are returned (non-recursive). Both file objects and directory prefixes are included in the response array.

Response format is compatible with the Supabase Storage list API.

Server only: requires the project's secret key (or service token). End-user tokens and publishable keys get 403 — listing would hand every user's file URLs to any visitor.

get/api/storage/{project_id}/list

Request

  • Base URL
    https://core.blink.new
  • URL
    https://core.blink.new/api/storage/{project_id}/list
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:my-project-123

Unique identifier for the project

Query parameters

pathstring
Example:images/avatars

Folder prefix to list. Omit or pass empty string for the project root.

limitinteger
Example:100

Maximum number of file objects to return

offsetinteger

Number of file objects to skip (applied after search filter, for pagination)

searchstring
Example:avatar

Case-insensitive substring filter applied to file names

Response

List of files and directories at the given path

Changes

No recorded changes to this operation across all 1 revision of this API.