Salesforce Einstein · Capability

Salesforce Einstein Discovery API — Dashboards

Salesforce Einstein Discovery API — Dashboards. 2 operations. Lead operation: Salesforce Einstein List dashboards. Self-contained Naftiko capability covering one Salesforce Einstein business surface.

Run with Naftiko Salesforce EinsteinDashboards

What You Can Do

GET
Listdashboards — Salesforce Einstein List dashboards
/v1/wave/dashboards
GET
Getdashboard — Salesforce Einstein Get a dashboard
/v1/wave/dashboards/{dashboardid}

MCP Tools

salesforce-einstein-list-dashboards

Salesforce Einstein List dashboards

read-only idempotent
salesforce-einstein-get-dashboard

Salesforce Einstein Get a dashboard

read-only idempotent

Capability Spec

discovery-dashboards.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Einstein Discovery API — Dashboards
  description: 'Salesforce Einstein Discovery API — Dashboards. 2 operations. Lead operation: Salesforce Einstein List dashboards.
    Self-contained Naftiko capability covering one Salesforce Einstein business surface.'
  tags:
  - Salesforce Einstein
  - Dashboards
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_EINSTEIN_API_KEY: SALESFORCE_EINSTEIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: discovery-dashboards
    baseUri: https://{instance}.salesforce.com/services/data/v58.0
    description: Salesforce Einstein Discovery API — Dashboards business capability. Self-contained, no shared references.
    resources:
    - name: wave-dashboards
      path: /wave/dashboards
      operations:
      - name: listdashboards
        method: GET
        description: Salesforce Einstein List dashboards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
        - name: pageSize
          in: query
          type: integer
    - name: wave-dashboards-dashboardId
      path: /wave/dashboards/{dashboardId}
      operations:
      - name: getdashboard
        method: GET
        description: Salesforce Einstein Get a dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_EINSTEIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: discovery-dashboards-rest
    port: 8080
    description: REST adapter for Salesforce Einstein Discovery API — Dashboards. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wave/dashboards
      name: wave-dashboards
      description: REST surface for wave-dashboards.
      operations:
      - method: GET
        name: listdashboards
        description: Salesforce Einstein List dashboards
        call: discovery-dashboards.listdashboards
        with:
          q: rest.q
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wave/dashboards/{dashboardid}
      name: wave-dashboards-dashboardid
      description: REST surface for wave-dashboards-dashboardId.
      operations:
      - method: GET
        name: getdashboard
        description: Salesforce Einstein Get a dashboard
        call: discovery-dashboards.getdashboard
        with:
          dashboardId: rest.dashboardId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: discovery-dashboards-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Einstein Discovery API — Dashboards. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: salesforce-einstein-list-dashboards
      description: Salesforce Einstein List dashboards
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: discovery-dashboards.listdashboards
      with:
        q: tools.q
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-einstein-get-dashboard
      description: Salesforce Einstein Get a dashboard
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: discovery-dashboards.getdashboard
      with:
        dashboardId: tools.dashboardId
      outputParameters:
      - type: object
        mapping: $.