Create new storage

Create a new target storage connection to Google Cloud Storage.

For information about the required fields and prerequisites, see Google Cloud 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 exported until you sync your connection.

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Request

This endpoint expects an object.
can_delete_objectsbooleanOptional
Deletion from storage enabled.
titlestringOptional
Storage title
descriptionstringOptional
Storage description
projectintegerOptional
Project ID
bucketstringOptional
GCS bucket name
prefixstringOptional
GCS bucket prefix
google_application_credentialsstringOptional

The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.

google_project_idstringOptional
Google project ID

Response

can_delete_objectsboolean or null
Deletion from storage enabled.
titlestring or null
Storage title
descriptionstring or null
Storage description
projectinteger or null
Project ID
bucketstring or null
GCS bucket name
prefixstring or null
GCS bucket prefix
google_application_credentialsstring or null

The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.

google_project_idstring or null
Google project ID