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

# Traverse object links

> Follow relationships from an object to its linked entities. Returns linked objects with their card-shaped summaries.



## OpenAPI

````yaml /openapi.json get /{type_name}/{object_id}/links
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:
  /{type_name}/{object_id}/links:
    get:
      tags:
        - Graph
      summary: Traverse object links
      description: >-
        Follow relationships from an object to its linked entities. Returns
        linked objects with their card-shaped summaries.
      operationId: traverseLinks
      parameters:
        - name: type_name
          in: path
          required: true
          schema:
            type: string
            enum:
              - deal
              - account
              - meeting
              - commitment
              - objection
              - competitor
              - tactic
              - strategy
              - document
              - person
              - artifact
              - pipeline
              - lead
              - insight
        - name: object_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: link_type
          in: query
          schema:
            type: string
          description: Filter by link type (e.g. has_stakeholder, surfaced_objection)
        - name: target_type
          in: query
          schema:
            type: string
          description: Filter by target object type
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            maximum: 200
      responses:
        '200':
          description: Linked objects
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  link_type:
                    type: string
                    nullable: true
                  direction:
                    type: string
                  source:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/LinkResult'
                  total:
                    type: integer
                  offset:
                    type: integer
                  limit:
                    type: integer
              example:
                ok: true
                link_type: has_stakeholder
                direction: outbound
                source:
                  type: deal
                  id: 5590756e-c2e2-50f9-ba17-0f8dcee493bd
                results:
                  - type: person
                    id: a1b2c3d4-5678-9abc-def0-123456789abc
                    title: Diana Torres
                    snippet: VP of Operations at Apex Industries
                    _link:
                      influence_level: high
                total: 3
                offset: 0
                limit: 50
components:
  schemas:
    LinkResult:
      type: object
      properties:
        type:
          type: string
        id:
          type: string
        title:
          type: string
        snippet:
          type: string
        _link:
          type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key with `sk-live-` prefix. Generate keys from Console → API Keys in
        the Doris app.

````