> ## 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.

# Get the OpenAPI document

> Returns an OpenAPI 3.1 document that the server builds from the types in your workspace. Rate limit: 300 requests per minute for each workspace.



## OpenAPI

````yaml /openapi.json get /openapi.json
openapi: 3.1.0
info:
  title: Doris Ontology API
  version: 1.0.0
  description: >-
    The REST API of the Doris ontology. Use it to read deals, accounts, people,
    meetings, commitments and the other types in your workspace. All routes
    share one quota of 10,000 requests a day for each workspace. The MCP server
    uses the same quota. When the quota is used up, the API returns `429
    quota_exceeded`.
servers:
  - url: https://server.meetdoris.com/api/v1/ontology
    description: Ontology API
security:
  - BearerAuth: []
tags:
  - name: Schema
    description: Types and the OpenAPI document.
  - name: Query
    description: Search, list and aggregate.
  - name: Resolve
    description: Read objects by ID.
  - name: Graph
    description: Follow links between objects.
  - name: Deals
    description: Deal-only reads.
  - name: Write
    description: Field writes and actions.
paths:
  /openapi.json:
    get:
      tags:
        - Schema
      summary: Get the OpenAPI document
      description: >-
        Returns an OpenAPI 3.1 document that the server builds from the types in
        your workspace. Rate limit: 300 requests per minute for each workspace.
      operationId: getOpenApiSpec
      responses:
        '200':
          description: The OpenAPI document.
          content:
            application/json:
              schema:
                type: object
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Doris API key that starts with `sk-live-`. A workspace admin creates
        keys in Settings > Workspace > Developer. A key works only on
        `/api/v1/ontology/` routes.

````