Skip to main content
The GET /api/list-assets endpoint returns a list of all uploaded media assets in the project’s public assets images directory. Studio’s image picker calls this endpoint to populate the asset browser whenever you open an image field — giving you a visual grid of every image already available in your project so you can pick one without uploading again. The endpoint scans the project’s assets images directory and returns the results as a JSON array.
You can also call this endpoint from your own tooling to discover available images programmatically — for example, to validate that all image references in your content files resolve to real assets, or to build a custom asset browser for a headless workflow.

Request

  • Method: GET
  • Path: /api/list-assets
  • Authentication: None required
  • Parameters: None

Response

200 OK — Returns a JSON array of public URL strings, one per available asset. Each string matches the url values returned by POST /api/upload-asset.
string
The public path to an asset — for example "/assets/images/readme-first.jpg".

Error responses