---
title: "Changes to Apply an ontology JSON to a collection"
method: POST
path: "/api/v0/knowledge-bases/{kb_id}/graph/ontology"
---

# Changes to Apply an ontology JSON to a collection

`POST /api/v0/knowledge-bases/{kb_id}/graph/ontology`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 11 revisions.

- **2026-11-09** `ecd5b922e78a`: 6 info
- **2026-10-26** `07854361a13b`: 6 info
- **2026-10-23** `a982f74233e9`: 1 info

## Changes

- **2026-11-09** `ecd5b922e78a`: 6 info
  - added the new optional request property `entity_types/items/attribute_fields/items/instant`
  - added the new optional request property `packages/anyOf[subschema #1]/items/entity_types/items/attribute_fields/items/instant`
  - added the new optional request property `packages/anyOf[subschema #1]/items/relationship_types/items/attribute_fields/items/instant`
  - added the new optional request property `packages/anyOf[subschema #1]/items/relationship_types/items/symmetric`
  - added the new optional request property `relationship_types/items/attribute_fields/items/instant`
  - added the new optional request property `relationship_types/items/symmetric`
- **2026-10-26** `07854361a13b`: 6 info
  - added the new optional request property `entity_types/items/attribute_fields/items/label`
  - added the new optional request property `entity_types/items/derived_properties/items/label`
  - added the new optional request property `relationship_types/items/attribute_fields/items/label`
  - request property `packages` list-of-types was widened by adding types `null` to media type `application/json`
  - added the required property `packages_removed` to the response with the `200` status
  - added the required property `packages_switched` to the response with the `200` status
- **2026-10-23** `a982f74233e9`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/knowledge-bases/:kb_id/graph/ontology/post.md) - [API](https://skmtc.dev/outerport/apis/outerport-api.md) - [Page](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/knowledge-bases/:kb_id/graph/ontology/post)
