InfluxDB · Capability

Complete InfluxDB Cloud API — Views

Complete InfluxDB Cloud API — Views. 2 operations. Lead operation: Retrieve the view for a cell. Self-contained Naftiko capability covering one Influxdb business surface.

Run with Naftiko InfluxdbViews

What You Can Do

GET
Getdashboardsidcellsidview — Retrieve the view for a cell
/v1/api/v2/dashboards/{dashboardid}/cells/{cellid}/view
PATCH
Patchdashboardsidcellsidview — Update the view for a cell
/v1/api/v2/dashboards/{dashboardid}/cells/{cellid}/view

MCP Tools

retrieve-view-cell

Retrieve the view for a cell

read-only idempotent
update-view-cell

Update the view for a cell

idempotent

Capability Spec

influxdb-views.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Complete InfluxDB Cloud API — Views
  description: 'Complete InfluxDB Cloud API — Views. 2 operations. Lead operation: Retrieve the view for a cell. Self-contained
    Naftiko capability covering one Influxdb business surface.'
  tags:
  - Influxdb
  - Views
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INFLUXDB_API_KEY: INFLUXDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: influxdb-views
    baseUri: ''
    description: Complete InfluxDB Cloud API — Views business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-dashboards-dashboardID-cells-cellID-view
      path: /api/v2/dashboards/{dashboardID}/cells/{cellID}/view
      operations:
      - name: getdashboardsidcellsidview
        method: GET
        description: Retrieve the view for a cell
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardID
          in: path
          type: string
          description: The dashboard ID.
          required: true
        - name: cellID
          in: path
          type: string
          description: The cell ID.
          required: true
      - name: patchdashboardsidcellsidview
        method: PATCH
        description: Update the view for a cell
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardID
          in: path
          type: string
          description: The ID of the dashboard to update.
          required: true
        - name: cellID
          in: path
          type: string
          description: The ID of the cell to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.INFLUXDB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: influxdb-views-rest
    port: 8080
    description: REST adapter for Complete InfluxDB Cloud API — Views. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/dashboards/{dashboardid}/cells/{cellid}/view
      name: api-v2-dashboards-dashboardid-cells-cellid-view
      description: REST surface for api-v2-dashboards-dashboardID-cells-cellID-view.
      operations:
      - method: GET
        name: getdashboardsidcellsidview
        description: Retrieve the view for a cell
        call: influxdb-views.getdashboardsidcellsidview
        with:
          dashboardID: rest.dashboardID
          cellID: rest.cellID
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchdashboardsidcellsidview
        description: Update the view for a cell
        call: influxdb-views.patchdashboardsidcellsidview
        with:
          dashboardID: rest.dashboardID
          cellID: rest.cellID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: influxdb-views-mcp
    port: 9090
    transport: http
    description: MCP adapter for Complete InfluxDB Cloud API — Views. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-view-cell
      description: Retrieve the view for a cell
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: influxdb-views.getdashboardsidcellsidview
      with:
        dashboardID: tools.dashboardID
        cellID: tools.cellID
      outputParameters:
      - type: object
        mapping: $.
    - name: update-view-cell
      description: Update the view for a cell
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: influxdb-views.patchdashboardsidcellsidview
      with:
        dashboardID: tools.dashboardID
        cellID: tools.cellID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.