---
title: "create new package"
method: POST
path: "/api/workspaces/{workspaceName}/schemas/{schemaName}/packages"
tags: ["graph"]
---

# create new package

`POST /api/workspaces/{workspaceName}/schemas/{schemaName}/packages`

## Request

- The document declares no server URL.
- Auth: none declared

Create a new package with a given name and optional comment, sub-package relation is nulled

## Path parameters

- `workspaceName` string, required
- `schemaName` string, required

## Headers

- `Origin` string

## Request body

- PackageDTO
  - `comment` string
  - `label` string
  - `package` BelongsToCategoryDTO
    - `label` string
    - `prefix` string
    - `uuid` string, uuid
  - `prefix` string
  - `uuid` string, uuid

## Response `200`

OK

## Changes

- **2026-11-23** `91d142ef001a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/schemas/:schemaName/packages/post.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
