---
title: "List the caller's collections that define an ontology"
method: GET
path: "/api/v0/graph-ontologies"
tags: ["Knowledge Base Graph"]
---

# List the caller's collections that define an ontology

`GET /api/v0/graph-ontologies`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/graph-ontologies`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/graph-ontologies/get.ts> (a function with typed inputs; its response is checked against the schema)

Every collection the caller owns that holds at least one class or relationship of its own, sorted by name, with how many of each.

## Response `200`

Successful Response

- CollectionOntologySummary[]
  - `knowledge_base_id` string, uuid, required
  - `name` string, required
  - `entity_type_count` integer, required
  - `relationship_type_count` integer, required

## Changes

- **2026-11-09** `ecd5b922e78a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/graph-ontologies/get.md)

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) - [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outerport/apis/outerport-api/revisions/08b5bf6f7f18?raw)
