Storage: S3

Validate import storage

Validate a specific S3 import storage connection.

post/api/storages/s3/validate

Request body

aws_access_key_idstring

AWS_ACCESS_KEY_ID

aws_secret_access_keystring

AWS_SECRET_ACCESS_KEY

aws_session_tokenstring

AWS_SESSION_TOKEN

aws_sse_kms_key_idstring

AWS SSE KMS Key ID

bucketstring

S3 bucket name

descriptionstring

Storage description

idinteger

Storage ID. If set, storage with specified ID will be updated

prefixstring

S3 bucket prefix

presignboolean

Presign URLs for download

presign_ttlinteger

Presign TTL in minutes

projectinteger

Project ID

recursive_scanboolean

Scan recursively

regex_filterstring

Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.

region_namestring

AWS Region

s3_endpointstring

S3 Endpoint

titlestring

Storage title

use_blob_urlsboolean

Interpret objects as BLOBs and generate URLs. For example, if your bucket 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

Validation successful

Changes