Lunar Energy · Capability

Gridshare Partner API — Visits

Gridshare Partner API — Site Visits for installation, service, or commissioning records.

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

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

Tagged areas include Lunar Energy, Gridshare, Partner, and Visits.

Run with Naftiko Lunar EnergyGridsharePartnerVisits

MCP Tools

gridshare-partner-list-visits

List Visits

read-only idempotent
gridshare-partner-get-visit

Get Visit

read-only idempotent
gridshare-partner-create-visit

Create Visit

Capability Spec

gridshare-partner-visits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gridshare Partner API — Visits
  description: 'Gridshare Partner API — Site Visits for installation, service, or commissioning records.'
  tags:
    - Lunar Energy
    - Gridshare
    - Partner
    - Visits
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
  - namespace: env
    keys:
      GRIDSHARE_ACCESS_TOKEN: GRIDSHARE_ACCESS_TOKEN
capability:
  consumes:
    - type: http
      namespace: partner-visits
      baseUri: https://developer-api.partner.us.mygridshare.com
      description: Gridshare Partner Visits.
      resources:
        - name: visits
          path: /api/v1/visits
          operations:
            - name: listvisits
              method: GET
              description: List Visits
              outputRawFormat: json
              outputParameters: [{ name: result, type: object, value: $. }]
            - name: createvisit
              method: POST
              description: Create Visit
              outputRawFormat: json
              outputParameters: [{ name: result, type: object, value: $. }]
        - name: visits-visitid
          path: /api/v1/visits/{visitId}
          operations:
            - name: getvisit
              method: GET
              description: Get Visit
              outputRawFormat: json
              outputParameters: [{ name: result, type: object, value: $. }]
      authentication:
        type: bearer
        value: '{{env.GRIDSHARE_ACCESS_TOKEN}}'
        placement: header
  exposes:
    - type: mcp
      namespace: partner-visits-mcp
      port: 9090
      transport: http
      description: MCP adapter for Gridshare Partner Visits.
      tools:
        - name: gridshare-partner-list-visits
          description: List Visits
          hints: { readOnly: true, destructive: false, idempotent: true }
          call: partner-visits.listvisits
          outputParameters: [{ type: object, mapping: $. }]
        - name: gridshare-partner-get-visit
          description: Get Visit
          hints: { readOnly: true, destructive: false, idempotent: true }
          call: partner-visits.getvisit
          outputParameters: [{ type: object, mapping: $. }]
        - name: gridshare-partner-create-visit
          description: Create Visit
          hints: { readOnly: false, destructive: false, idempotent: false }
          call: partner-visits.createvisit
          outputParameters: [{ type: object, mapping: $. }]