---
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

- GCSImportStorageValidateRequest
  - `bucket` string, nullable — GCS bucket name
  - `description` string, nullable — Cloud storage description
  - `google_application_credentials` string, nullable — The content of GOOGLE_APPLICATION_CREDENTIALS json file
  - `google_project_id` string, nullable — Google project ID
  - `id` integer — Storage ID. If set, storage with specified ID will be updated
  - `prefix` string, nullable — GCS bucket prefix
  - `presign` boolean
  - `presign_ttl` integer — Presigned URLs TTL (in minutes)
  - `project` integer, required — A unique integer value identifying this project.
  - `recursive_scan` boolean, nullable — Perform recursive scan over the bucket content
  - `regex_filter` string, nullable — Cloud storage regex for filtering objects
  - `synchronizable` boolean
  - `title` string, nullable — Cloud storage title
  - `use_blob_urls` boolean — Interpret objects as BLOBs and generate URLs

## Response `200`

Validation successful

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
