Storage

Get the permanent public URL for a file

Returns the permanent public CDN URL for a file. The URL does not expire and requires no authentication or signed token to access. The file must be publicly accessible in the bucket (which is the default for files uploaded through this API).

This is a pure URL construction operation — no network call is made and the file's existence is not verified.

Compatible with the Supabase Storage getPublicUrl API.

get/api/storage/{project_id}/public-url

Request

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

Path parameters

project_idstring required
Example:my-project-123

Unique identifier for the project

Query parameters

pathstring required
Example:uploads/550e8400-e29b-41d4-a716-446655440000.png

Relative path to the file within the project bucket

Response

Public URL constructed successfully

Example response

{
  "data": {
    "publicUrl": "https://cdn.blink.new/projects/my-project-123/uploads/550e8400-e29b-41d4-a716-446655440000.png"
  }
}

Changes

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