DataHub · Capability

DataHub OpenAPI — Timeline

DataHub OpenAPI — Timeline. 1 operations. Lead operation: DataHub Query entity timeline. Self-contained Naftiko capability covering one Datahub business surface.

Run with Naftiko DatahubTimeline

What You Can Do

GET
Gettimeline — DataHub Query entity timeline
/v1/timeline

MCP Tools

datahub-query-entity-timeline

DataHub Query entity timeline

read-only idempotent

Capability Spec

openapi-timeline.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DataHub OpenAPI — Timeline
  description: 'DataHub OpenAPI — Timeline. 1 operations. Lead operation: DataHub Query entity timeline. Self-contained Naftiko
    capability covering one Datahub business surface.'
  tags:
  - Datahub
  - Timeline
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATAHUB_API_KEY: DATAHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-timeline
    baseUri: http://localhost:8080
    description: DataHub OpenAPI — Timeline business capability. Self-contained, no shared references.
    resources:
    - name: timeline
      path: /timeline/
      operations:
      - name: gettimeline
        method: GET
        description: DataHub Query entity timeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: urn
          in: query
          type: string
          description: The URN of the entity whose timeline to retrieve.
          required: true
        - name: aspectNames
          in: query
          type: array
          description: The names of aspects to include in the timeline. If not specified, all aspects are returned.
        - name: startTimeMillis
          in: query
          type: integer
          description: Start of the time range in epoch milliseconds.
        - name: endTimeMillis
          in: query
          type: integer
          description: End of the time range in epoch milliseconds.
    authentication:
      type: bearer
      token: '{{env.DATAHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-timeline-rest
    port: 8080
    description: REST adapter for DataHub OpenAPI — Timeline. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/timeline
      name: timeline
      description: REST surface for timeline.
      operations:
      - method: GET
        name: gettimeline
        description: DataHub Query entity timeline
        call: openapi-timeline.gettimeline
        with:
          urn: rest.urn
          aspectNames: rest.aspectNames
          startTimeMillis: rest.startTimeMillis
          endTimeMillis: rest.endTimeMillis
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-timeline-mcp
    port: 9090
    transport: http
    description: MCP adapter for DataHub OpenAPI — Timeline. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datahub-query-entity-timeline
      description: DataHub Query entity timeline
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-timeline.gettimeline
      with:
        urn: tools.urn
        aspectNames: tools.aspectNames
        startTimeMillis: tools.startTimeMillis
        endTimeMillis: tools.endTimeMillis
      outputParameters:
      - type: object
        mapping: $.