Import StorageLocal

Validate import storage

POST
Validate a specific local file import storage connection. This is useful to ensure that the storage configuration settings are correct and operational before attempting to import data.

Request

This endpoint expects an object.
id
integerOptional
Storage ID. If set, storage with specified ID will be updated
title
stringOptional
Storage title
description
stringOptional
Storage description
project
integerOptional
Project ID
path
stringOptional
Path to local directory
regex_filter
stringOptional
Regex for filtering objects
use_blob_urls
booleanOptional
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.
POST
1curl -X POST http://localhost:8080/api/storages/localfiles/validate \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{}'