---
title: "Create Restic S3 Bucket"
method: POST
path: "/api/clusters/{clusterName}/restic/create-bucket"
tags: ["ClusterRestic"]
---

# Create Restic S3 Bucket

`POST /api/clusters/{clusterName}/restic/create-bucket`

Idempotently creates the S3 bucket for the cluster's saved Restic S3 configuration if missing. Returns created=false when the bucket already exists and is accessible.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Response `200`

Bucket created or already exists

- ClusterResticEnsureBucketResult
  - `bucket` string
  - `created` boolean
  - `endpoint` string
  - `message` string

## Other responses

- `400` — Invalid request or non-S3 configuration
- `403` — No valid ACL or insufficient grant (db-backup required)
- `500` — No cluster

---

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