---
title: "Validate import storage"
method: POST
path: "/api/storages/s3/validate"
tags: ["Storage: S3"]
---

# Validate import storage

`POST /api/storages/s3/validate`

Validate a specific S3 import storage connection.

## Request body

- object
  - `aws_access_key_id` string — AWS_ACCESS_KEY_ID
  - `aws_secret_access_key` string — AWS_SECRET_ACCESS_KEY
  - `aws_session_token` string — AWS_SESSION_TOKEN
  - `aws_sse_kms_key_id` string — AWS SSE KMS Key ID
  - `bucket` string — S3 bucket name
  - `description` string — Storage description
  - `id` integer — Storage ID. If set, storage with specified ID will be updated
  - `prefix` string — S3 bucket prefix
  - `presign` boolean — Presign URLs for download
  - `presign_ttl` integer — Presign TTL in minutes
  - `project` integer — Project ID
  - `recursive_scan` boolean — Scan recursively
  - `regex_filter` string — Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.
  - `region_name` string — AWS Region
  - `s3_endpoint` string — S3 Endpoint
  - `title` string — Storage title
  - `use_blob_urls` boolean — 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 `200`

Validation successful

---

[API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.dev/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/bcbdfd8a482f/schema)
