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

# Search across all types

> Full-text search across the ontology index. Returns matching objects ranked by relevance.



## OpenAPI

````yaml /openapi.json get /search
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:
  /search:
    get:
      tags:
        - Query
      summary: Search across all types
      description: >-
        Full-text search across the ontology index. Returns matching objects
        ranked by relevance.
      operationId: search
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
          description: Search query
        - name: type
          in: query
          schema:
            type: string
            enum:
              - deal
              - account
              - meeting
              - commitment
              - objection
              - competitor
              - tactic
              - strategy
              - document
              - person
              - artifact
              - pipeline
              - lead
              - insight
          description: Filter by object type
        - name: limit
          in: query
          schema:
            type: integer
            default: 25
            maximum: 100
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/SearchResult'
                  total:
                    type: integer
                  count:
                    type: integer
                  offset:
                    type: integer
                  limit:
                    type: integer
              example:
                ok: true
                results:
                  - type: deal
                    id: 5590756e-c2e2-50f9-ba17-0f8dcee493bd
                    title: Apex Enterprise Platform
                    snippet: Apex Enterprise Platform
                    score: 0.076
                    updated_at: '2026-05-06T16:56:58.697901+00:00'
                  - type: meeting
                    id: 039e66a3-15ee-5988-aca0-02f4829230d9
                    title: Nexus Telecom - Churn Prediction Proposal Review
                    snippet: Nexus Telecom - Churn Prediction Proposal Review
                    score: 0.083
                    updated_at: '2026-05-06T16:57:32.252166+00:00'
                total: 122
                count: 2
                offset: 0
                limit: 2
components:
  schemas:
    SearchResult:
      type: object
      properties:
        type:
          type: string
        id:
          type: string
        title:
          type: string
        snippet:
          type: string
        score:
          type: number
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key with `sk-live-` prefix. Generate keys from Console → API Keys in
        the Doris app.

````