Skip to content

Export Files as CSV

By Anne-Marie Fletcher, Customer Success TeamUpdated

Open this page in a new chat

Short answer

Right-click a folder and choose Export file list to CSV for a spreadsheet of your files, or click CSV on search results. On paid plans you can filter by file type and date added. You can also list a public folder over HTTP or read it with the REST API.

After reading this you will know

  • How to export a list of files as a CSV
  • Which filters and columns the export has
  • Other ways to list a folder: over HTTP, as JSON or with the API

Easily create a list of files in CSV format from your Sirv account. Right-click a folder (or click its ”…” menu) and choose “Export file list to CSV”. Inside a folder, right-click an empty space for the same item:

Export file list to CSV in a folder's menu

When performing an export, you can specify certain file types or dates:

  • File type(s) - images, spins, videos, audio, PDFs, folders and other files. All are ticked by default.
  • Date added - any time, today, yesterday, the last 24 hours, 7 days or 30 days, on, before or after a date, or a date range.
  • Include subfolders - ticked by default.

The filters need a paid plan. On the Free plan, the export lists every file in the folder.

Export file list to CSV dialog with its filters

The CSV file will contain the following columns:

Field titleExample content
File/folder-name/file-name.spin
URLhttps://your-account.sirv.com/folder-name/file-name.spin
Namefile-name.spin
Typespin
Size (bytes)2837
Date created2022-06-07T17:13:52.686Z
Date modified2022-06-07T17:14:30.056Z
TitleMy image title here
DescriptionMy image description here
Tagstag1,tag2,tag3

To create a CSV from search results, search with the box at the top of your library. Then click the CSV button next to the number of results:

CSV button next to the search results count

An alternative to downloading a CSV is to get a list of files by HTTP. Simply request the folder location, for example: https://demo.sirv.com/my-folder/

Or get the contents in JSON format via a callback: https://demo.sirv.com/my-folder?callback=hello

Folder listings are hidden by default. Follow these steps to permit folder listing:

  1. Go to https://app.sirv.com/assets/library
  2. Right-click the folder (or click its ”…” menu) and choose “Folder settings”.
  3. Set “Publicly visible listing” to Yes and click Save changes.
Publicly visible listing in Folder settings

You can also use the Sirv REST API to check the contents of a folder.

The read folder contents API method will return the filename, mimetype, content type and file size. Depending on your needs, you may also wish to consider other ways to query Sirv.

Back to top