---
title: "Create a node"
method: POST
path: "/cfg/node"
tags: ["cfg"]
---

# Create a node

`POST /cfg/node`

Use this method up create a single node in Kraken.

Note: the input body does not require `nodes:[]` like in `cfg/nodes`

## Request body

- NodeConfig
  - `id` string, byte
  - `parentId` string, byte
  - `runState` string
  - `physState` string
  - `nodename` string
  - `arch` string
  - `platform` string
  - `extensions` object[]
    - `@type` string
  - `services` object[]
    - `id` string
    - `module` string
    - `state` string

## Response `200`

successful operation

- NodeConfig
  - `id` string, byte
  - `parentId` string, byte
  - `runState` string
  - `physState` string
  - `nodename` string
  - `arch` string
  - `platform` string
  - `extensions` object[]
    - `@type` string
  - `services` object[]
    - `id` string
    - `module` string
    - `state` string

---

[API](https://skmtc.net/kraken-hpc/apis/kraken.md) · [All operations](https://skmtc.net/kraken-hpc/apis/kraken/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kraken-hpc/kraken/versions/e1dfb0e67530/schema)
