Xcel Energy · Capability

Xcel Energy Green Button Connect My Data API — Batch

Xcel Energy Green Button Connect My Data API — Batch. 3 operations. Lead operation: Bulk Atom feed for a retail customer. Self-contained Naftiko capability covering one Xcel Energy business surface.

Run with Naftiko Xcel EnergyBatch

What You Can Do

GET
Getbatchforretailcustomer — Bulk Atom feed for a retail customer
/v1/batch/retailcustomer/{authorizationid}
GET
Getbatchforsubscription — Bulk Atom feed for a subscription
/v1/batch/subscription/{subscriptionid}
GET
Getbatchforusagepoint — Bulk Atom feed for a single UsagePoint
/v1/batch/subscription/{subscriptionid}/usagepoint/{usagepointid}

MCP Tools

bulk-atom-feed-retail-customer

Bulk Atom feed for a retail customer

read-only idempotent
bulk-atom-feed-subscription

Bulk Atom feed for a subscription

read-only idempotent
bulk-atom-feed-single-usagepoint

Bulk Atom feed for a single UsagePoint

read-only idempotent

Capability Spec

green-button-batch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Xcel Energy Green Button Connect My Data API — Batch
  description: 'Xcel Energy Green Button Connect My Data API — Batch. 3 operations. Lead operation: Bulk Atom feed for a retail
    customer. Self-contained Naftiko capability covering one Xcel Energy business surface.'
  tags:
  - Xcel Energy
  - Batch
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    XCEL_ENERGY_API_KEY: XCEL_ENERGY_API_KEY
capability:
  consumes:
  - type: http
    namespace: green-button-batch
    baseUri: https://api.xcelenergy.com/DataCustodian/espi/1_1/resource
    description: Xcel Energy Green Button Connect My Data API — Batch business capability. Self-contained, no shared references.
    resources:
    - name: Batch-RetailCustomer-authorizationId
      path: /Batch/RetailCustomer/{authorizationId}
      operations:
      - name: getbatchforretailcustomer
        method: GET
        description: Bulk Atom feed for a retail customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: Batch-Subscription-subscriptionId
      path: /Batch/Subscription/{subscriptionId}
      operations:
      - name: getbatchforsubscription
        method: GET
        description: Bulk Atom feed for a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: Batch-Subscription-subscriptionId-UsagePoint-usagePointId
      path: /Batch/Subscription/{subscriptionId}/UsagePoint/{usagePointId}
      operations:
      - name: getbatchforusagepoint
        method: GET
        description: Bulk Atom feed for a single UsagePoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.XCEL_ENERGY_API_KEY}}'
  exposes:
  - type: rest
    namespace: green-button-batch-rest
    port: 8080
    description: REST adapter for Xcel Energy Green Button Connect My Data API — Batch. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/batch/retailcustomer/{authorizationid}
      name: batch-retailcustomer-authorizationid
      description: REST surface for Batch-RetailCustomer-authorizationId.
      operations:
      - method: GET
        name: getbatchforretailcustomer
        description: Bulk Atom feed for a retail customer
        call: green-button-batch.getbatchforretailcustomer
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/batch/subscription/{subscriptionid}
      name: batch-subscription-subscriptionid
      description: REST surface for Batch-Subscription-subscriptionId.
      operations:
      - method: GET
        name: getbatchforsubscription
        description: Bulk Atom feed for a subscription
        call: green-button-batch.getbatchforsubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/batch/subscription/{subscriptionid}/usagepoint/{usagepointid}
      name: batch-subscription-subscriptionid-usagepoint-usagepointid
      description: REST surface for Batch-Subscription-subscriptionId-UsagePoint-usagePointId.
      operations:
      - method: GET
        name: getbatchforusagepoint
        description: Bulk Atom feed for a single UsagePoint
        call: green-button-batch.getbatchforusagepoint
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: green-button-batch-mcp
    port: 9090
    transport: http
    description: MCP adapter for Xcel Energy Green Button Connect My Data API — Batch. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: bulk-atom-feed-retail-customer
      description: Bulk Atom feed for a retail customer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: green-button-batch.getbatchforretailcustomer
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-atom-feed-subscription
      description: Bulk Atom feed for a subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: green-button-batch.getbatchforsubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-atom-feed-single-usagepoint
      description: Bulk Atom feed for a single UsagePoint
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: green-button-batch.getbatchforusagepoint
      outputParameters:
      - type: object
        mapping: $.