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

# List all object types

> Returns all registered ontology types with their properties and expand keys.



## OpenAPI

````yaml /openapi.json get /types
openapi: 3.1.0
info:
  title: Doris Ontology API
  version: 1.0.0
  description: >-
    REST API for querying the Doris deal intelligence ontology. Resolve
    entities, traverse relationships, and search across all indexed objects.
servers:
  - url: https://server.meetdoris.com/api/v1/ontology
    description: Ontology API
security:
  - BearerAuth: []
paths:
  /types:
    get:
      tags:
        - Schema
      summary: List all object types
      description: >-
        Returns all registered ontology types with their properties and expand
        keys.
      operationId: listTypes
      responses:
        '200':
          description: List of type definitions
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  types:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        properties:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              type:
                                type: string
                        expand_keys:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              target_type:
                                type: string
              example:
                ok: true
                types:
                  - name: deal
                    properties:
                      - name: id
                        type: string
                      - name: deal_name
                        type: string
                      - name: amount
                        type: number
                      - name: stage
                        type: string
                    expand_keys:
                      - name: stakeholders
                        target_type: person
                      - name: commitments
                        target_type: commitment
                      - name: meetings
                        target_type: meeting
                  - name: account
                    properties:
                      - name: id
                        type: string
                      - name: name
                        type: string
                      - name: domain
                        type: string
                    expand_keys:
                      - name: deals
                        target_type: deal
                      - name: contacts
                        target_type: person
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key with `sk-live-` prefix. Generate keys from Console → API Keys in
        the Doris app.

````