---
title: "Test storage backend with raw config"
method: POST
path: "/storage-backends/test"
tags: ["StorageBackend"]
---

# Test storage backend with raw config

`POST /storage-backends/test`

Test connectivity for the provided storage configuration without persisting it. Returns success=false with a sanitized error message on failure (the HTTP status stays 200).

## Request body

- InternalHandlerStorageBackendRequest
  - `config` GithubComTencentWeKnoraInternalTypesStorageBackendConfig
    - `access_key_id` string
    - `app_id` string
    - `bucket_name` string
    - `endpoint` string
    - `force_path_style` boolean
    - `mode` string
    - `path_prefix` string
    - `region` string
    - `secret_access_key` string
    - `temp_bucket_name` string
    - `temp_region` string
    - `use_ssl` boolean
    - `use_temp_bucket` boolean
  - `name` string, required
  - `provider` string, required
  - `status` string

## Response `200`

Connectivity test result (success, error)

- object

## Other responses

- `400` — Invalid request or validation error
- `401` — Unauthorized

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/abce9036def5/schema)
