API ReferenceExport StorageLocal

List export storages

GET

You can connect a local file directory to Label Studio as a source storage or target storage. Use this API request to get a list of all local file export (target) storage connections for a specific project.

The project ID can be found in the URL when viewing the project in Label Studio, or you can retrieve all project IDs using List all projects.

For more information about working with external storage, see Sync data from external storage.

Query parameters

projectintegerOptional
Project ID

Response

This endpoint returns a list of objects
project
integer
A unique integer value identifying this project.
id
integerOptional
type
stringOptionalDefaults to localfiles
synchronizable
booleanOptional
path
stringOptional
Local path
regex_filter
stringOptional
Regex for filtering objects
use_blob_urls
booleanOptional
Interpret objects as BLOBs and generate URLs
last_sync
datetimeOptional
Last sync finished time
last_sync_count
integerOptional
Count of tasks synced last time
last_sync_job
stringOptional
Last sync job ID
status
enumOptional
Allowed values: initializedqueuedin_progressfailedcompleted
traceback
stringOptional
Traceback report for the last failed sync
meta
map from strings to anyOptional
Meta and debug information about storage processes
title
stringOptional
Cloud storage title
description
stringOptional
Cloud storage description
created_at
datetimeOptional
Creation time
can_delete_objects
booleanOptional
Deletion from storage enabled