---
title: "Create ontology"
method: POST
path: "/api/workspaces/{workspaceName}/schemas/{schemaName}/ontology"
tags: ["ontology"]
---

# Create ontology

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

## Request

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

create a new ontology.

## Path parameters

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

## Headers

- `Origin` string

## Request body

- OntologyDTO
  - `entries` OntologyEntry[]
    - `datatypeIri` string
    - `iri` string
    - `isIriEntry` boolean
    - `value` string
  - `namespace` string
  - `uuid` string

## 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/ontology/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)
