---
title: "Cluster Initialize"
method: POST
path: "/api/v1.cluster-admin.initialize"
tags: ["ClusterAdmin"]
---

# Cluster Initialize

`POST /api/v1.cluster-admin.initialize`

Initialize this node as the leader of a new cluster

This operation may only be performed against a node which has not been
initialized and is not currently a member of a cluster.

## Request body

- ClusterInitializeIn

## Response `200`

- ClusterInitializeOut
  - `cluster_id` string, required

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-04-28** `a542ced3f593` — 12 warning, 12 info
  - added the new `invalid-input` enum value to the `type` response property for the response status `400`
  - added the new `invalid-input` enum value to the `type` response property for the response status `401`
  - added the new `invalid-input` enum value to the `type` response property for the response status `403`
  - added the new `invalid-input` enum value to the `type` response property for the response status `422`
  - …20 more
- **2026-04-28** `b1d873e9a6e4` — 4 info
  - added the required property `type` to the response with the `400` status
  - added the required property `type` to the response with the `401` status
  - added the required property `type` to the response with the `403` status
  - added the required property `type` to the response with the `422` status
- **2026-04-21** `c30222181768` — 1 breaking, 5 info
  - the `detail` response's property type/format changed from `array`/`` to `string`/`` for status `422`
  - added the optional property `location` to the response with the `400` status
  - added the optional property `location` to the response with the `401` status
  - added the optional property `location` to the response with the `403` status
  - …2 more
- **2026-04-15** `a13efaccef64` — 1 info
  - endpoint added
- **2026-03-31** `f62be26d2a53` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.cluster-admin.initialize/post.md)

---

[API](https://skmtc.dev/svix/apis/diom-api.md) · [All operations](https://skmtc.dev/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/58636beb376c/schema)
