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

# Resolve a single object

> Fetch a full object by type and ID. Use the `expand` parameter to include related data (stakeholders, commitments, meetings, etc.).



## OpenAPI

````yaml /openapi.json get /{type_name}/{object_id}
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}:
    get:
      tags:
        - Resolve
      summary: Resolve a single object
      description: >-
        Fetch a full object by type and ID. Use the `expand` parameter to
        include related data (stakeholders, commitments, meetings, etc.).
      operationId: resolveObject
      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: expand
          in: query
          schema:
            type: string
          description: Comma-separated expand keys (e.g. stakeholders,meetings,commitments)
      responses:
        '200':
          description: Resolved object with properties, expand data, and link metadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  record:
                    type: object
                    description: The resolved entity with all its properties
                  _links:
                    type: object
                    description: Link metadata showing relationship counts and directions
                  _meta:
                    type: object
                    properties:
                      type:
                        type: string
                      expand:
                        type: array
                        items:
                          type: string
              example:
                ok: true
                record:
                  id: 5590756e-c2e2-50f9-ba17-0f8dcee493bd
                  deal_name: Apex Enterprise Platform
                  amount: 285000
                  currency: USD
                  pipeline: Enterprise
                  stage: Negotiation
                  stage_probability: 0.7
                  close_date: '2026-05-21T14:46:40.226524+00:00'
                  create_date: '2026-03-22T14:46:40.226524+00:00'
                  days_in_stage: null
                  is_closed: false
                  is_won: null
                  closed_lost_reason: null
                  forecast_category: null
                  owner_name: Jordan Ellis
                  owner_email: jordan.ellis@meridian-tech.example.com
                  linked_company_name: Apex Industries
                commitments:
                  - id: e7f8bfdb-76d7-5d50-b64f-a10419cd8f03
                    type: commitment
                    title: Review proposal with leadership team
                    status: completed
                    owner_type: buyer
                    due_date: '2026-04-06'
                    completed_at: null
                  - id: 215e0dd6-2d27-58b9-a499-22f2e82f48a1
                    type: commitment
                    title: Provide technical documentation for Salesforce integration
                    status: overdue
                    owner_type: rep
                    due_date: '2026-04-23'
                    completed_at: null
                _links: {}
                _meta:
                  type: deal
                  expand:
                    - commitments
        '404':
          description: Object not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
                message: Deal 'invalid-id' not found
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key with `sk-live-` prefix. Generate keys from Console → API Keys in
        the Doris app.

````