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

# Validate import storage

`POST /api/storages/gcs/validate`

Validate a specific GCS import storage connection.

## Request body

- object
  - `bucket` string — GCS bucket name
  - `description` string — Storage description
  - `google_application_credentials` string — The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.
  - `google_project_id` string — Google project ID
  - `id` integer — Storage ID. If set, storage with specified ID will be updated
  - `prefix` string — GCS bucket prefix
  - `presign` boolean — Presign URLs for direct download
  - `presign_ttl` integer — Presign TTL in minutes
  - `project` integer — Project ID
  - `regex_filter` string — Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.
  - `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)
