Create import storage
Create a new source storage connection to a local file directory.
For information about the required fields and prerequisites, see Local storage in the Label Studio documentation.
After you add the storage, you should validate the connection before attempting to sync your data. Your data will not be imported until you sync your connection.
Headers
Authorization
Header authentication of the form Token <token>
Request
This endpoint expects an object.
title
Storage title
description
Storage description
project
Project ID
path
Path to local directory
regex_filter
Regex for filtering objects
use_blob_urls
Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
Response
title
Storage title
description
Storage description
project
Project ID
path
Path to local directory
regex_filter
Regex for filtering objects
use_blob_urls
Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.