Lunar Energy · Capability

Gridshare Customer API — Sites

Gridshare Customer API v2 — list of accessible sites and their topology trees for the authenticated homeowner.

Gridshare Customer API — Sites is a Naftiko capability published by Lunar Energy, one of 9 capabilities the APIs.io network indexes for this provider. It bundles 2 operations.

The capability includes 2 read-only operations. Lead operation: List Sites. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Lunar Energy, Gridshare, Customer, Sites, and Topology.

Run with Naftiko Lunar EnergyGridshareCustomerSitesTopology

MCP Tools

gridshare-customer-list-sites

List Sites

read-only idempotent
gridshare-customer-get-topology

Get Site Topology

read-only idempotent

Capability Spec

gridshare-customer-sites.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gridshare Customer API — Sites
  description: 'Gridshare Customer API v2 — list of accessible sites and their topology trees for the authenticated homeowner.'
  tags:
    - Lunar Energy
    - Gridshare
    - Customer
    - Sites
    - Topology
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
  - namespace: env
    keys:
      GRIDSHARE_CUSTOMER_ACCESS_TOKEN: GRIDSHARE_CUSTOMER_ACCESS_TOKEN
capability:
  consumes:
    - type: http
      namespace: customer-sites
      baseUri: https://developer-api.customer.mygridshare.com
      description: Gridshare Customer Sites resource family.
      resources:
        - name: sites
          path: /api/v2/sites
          operations:
            - name: listsites
              method: GET
              description: List Sites
              outputRawFormat: json
              outputParameters: [{ name: result, type: object, value: $. }]
        - name: sites-siteid-topology
          path: /api/v2/sites/{siteId}/topology
          operations:
            - name: gettopology
              method: GET
              description: Get Site Topology
              outputRawFormat: json
              outputParameters: [{ name: result, type: object, value: $. }]
      authentication:
        type: bearer
        value: '{{env.GRIDSHARE_CUSTOMER_ACCESS_TOKEN}}'
        placement: header
  exposes:
    - type: mcp
      namespace: customer-sites-mcp
      port: 9090
      transport: http
      description: MCP adapter for Gridshare Customer Sites.
      tools:
        - name: gridshare-customer-list-sites
          description: List Sites
          hints: { readOnly: true, destructive: false, idempotent: true }
          call: customer-sites.listsites
          outputParameters: [{ type: object, mapping: $. }]
        - name: gridshare-customer-get-topology
          description: Get Site Topology
          hints: { readOnly: true, destructive: false, idempotent: true }
          call: customer-sites.gettopology
          outputParameters: [{ type: object, mapping: $. }]