> ## Documentation Index
> Fetch the complete documentation index at: https://strattumai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get ontology schema status

> Returns whether an active ontology is configured and lists its node labels and relationship types. Useful for the UI to determine whether the Memory Worker has a valid schema to process entities against. (PRD-005 T4.4)



## OpenAPI

````yaml /api-reference/memory-api.json get /v1/ontology/status
openapi: 3.1.0
info:
  title: Strattum Memory API
  description: >-
    REST API that serves entity context — profile, timeline, graph, sources and
    formatted context — for agents and UIs. (PRD-003, Workstream 1.3)
  version: 1.0.0
servers: []
security: []
paths:
  /v1/ontology/status:
    get:
      tags:
        - ontology
      summary: Get ontology schema status
      description: >-
        Returns whether an active ontology is configured and lists its node
        labels and relationship types. Useful for the UI to determine whether
        the Memory Worker has a valid schema to process entities against.
        (PRD-005 T4.4)
      operationId: get_ontology_status_v1_ontology_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OntologyStatusResponse'
components:
  schemas:
    OntologyStatusResponse:
      properties:
        has_ontology:
          type: boolean
          title: Has Ontology
        version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Version
        node_types:
          items:
            type: string
          type: array
          title: Node Types
          default: []
        relationship_types:
          items:
            type: string
          type: array
          title: Relationship Types
          default: []
        applied_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Applied At
      type: object
      required:
        - has_ontology
      title: OntologyStatusResponse
      description: |-
        Schema status returned by GET /v1/ontology/status (PRD-005 T4.4).

        Fields
        ------
        has_ontology:
            True if an active ontology version exists.
        version:
            The ontology version number (== id in the DB), or None.
        node_types:
            List of node label strings defined in the active YAML.
        relationship_types:
            List of edge type strings defined in the active YAML.
        applied_at:
            ISO-8601 timestamp when the current version was applied, or None.

````