---
title: "Create library item"
method: POST
path: "/organizations/{organizationId}/library-items"
tags: ["LibraryItem"]
---

# Create library item

`POST /organizations/{organizationId}/library-items`

Creates a new library item based on the information provided

## Path parameters

- `organizationId` integer, required

## Request body

- CreateLibraryItemModel
  - `name` string, required
  - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, required — Solid = 0 Fluid = 1 Fan = 2 Pump = 3 ThermalInterface = 4 ThreeDPrinting = 5 DieCasting = 6 SheetMetal = 7 CncMilling = 8 ElectricWire = 9
  - `properties` PropertyDto[], required
    - `name` string, nullable
    - `value` InputOptionDto
      - `constant` number, double, nullable
      - `polynomial` number[], nullable
      - `curve` array[], nullable
        - number[]
  - `description` string, nullable

## Response `200`

Success

- LibraryItemBaseDto
  - `id` integer
  - `name` string, nullable
  - `description` string, nullable
  - `libraryItemType` 0 | 1 — Default = 0 Isolated = 1

---

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