Ontologies API
List, retrieve, create, and save reusable Ontology schemas with explicit structures and revisions.
Endpoints
Method
Endpoint
Purpose
Create an Ontology
curl --fail-with-body --silent --show-error \
-X POST "$UNITLAB_API_URL/api/sdk/ontologies/" \
-H "Authorization: Api-Key $UNITLAB_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"title":"Road ontology",
"description":"Production road-scene policy",
"data_type":"image",
"structure":{"objects":[],"classifications":[]}
}'Save a revision
Request operating contract
Concern
Required behavior