Leap meter enrollment API

The meter enrollment API from Leap — 2 operation(s) for meter enrollment.

Operations 2

GET /v2/meters/{meter_id}/enrollments Get meter enrollment #
POST /v2/meters/enrollments/search Search meter enrollments #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leap-meter-enrollment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

leap-meter-enrollment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API to retrieve and search information about meters, including enrollment status, participation preferences, and associated programs.
  title: Meter Information meter enrollment API
  version: 2.0.0
servers:
- description: Leap staging API
  url: https://api.staging.leap.energy
- description: Leap production API
  url: https://api.leap.energy
security:
- Bearer: []
tags:
- name: meter enrollment
paths:
  /v2/meters/{meter_id}/enrollments:
    get:
      description: Get enrollment information about a meter including its current enrollment status, participation preferences, associated programs, and any required actions.
      operationId: getMeterEnrollment
      parameters:
      - description: Meter ID
        in: path
        name: meter_id
        required: true
        schema:
          example: 11111111-1111-1111-1111-111111111111
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                simple:
                  $ref: '#/components/examples/Simple'
                enrolled:
                  $ref: '#/components/examples/Enrolled'
                multiple enrollments:
                  $ref: '#/components/examples/MultipleEnrollments'
              schema:
                $ref: '#/components/schemas/MeterEnrollmentResponse'
          description: Successful response with meter information.
        '400':
          content:
            application/json:
              examples:
                Meter id is not a UUID:
                  value:
                    title: Meter id is not a UUID
                    status: 400
                    details:
                      meter_id: abcdef
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The request is not valid
        '401':
          content:
            application/json:
              examples:
                Unauthorized:
                  value:
                    title: Unauthorized
                    status: 401
                    details: {}
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You are not authorized to perform this operation.
        '403':
          content:
            application/json:
              examples:
                Forbidden:
                  value:
                    title: You do not have the necessary permissions for this operation
                    status: 403
                    details: {}
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You do not have the necessary permissions for this operation.
        '404':
          content:
            application/json:
              examples:
                Meter not found:
                  value:
                    title: Meter not found
                    status: 404
                    details:
                      meter_id: f5c5e328-e325-4d6d-b357-5015ed5962a7
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Meter not found
        '500':
          content:
            application/json:
              examples:
                Internal Error:
                  value: An error happened whilst processing your request
              schema:
                type: string
          description: Internal server error
      summary: Get meter enrollment
      tags:
      - meter enrollment
  /v2/meters/enrollments/search:
    post:
      description: Retrieve enrollment information including current enrollment status, participation preferences, associated programs, and any required actions for all meters. Optionally filter by one or more request parameters.
      operationId: searchMeterEnrollments
      requestBody:
        content:
          application/json:
            examples:
              all fields:
                $ref: '#/components/examples/AllFields'
              default:
                $ref: '#/components/examples/Default'
              paging:
                $ref: '#/components/examples/Paging'
              meter ids:
                $ref: '#/components/examples/MeterIds'
              active meters:
                $ref: '#/components/examples/ActiveMeters'
              last modified:
                $ref: '#/components/examples/LastModified'
              connection ref:
                $ref: '#/components/examples/ConnectionRef'
            schema:
              $ref: '#/components/schemas/MeterFilterRequest'
      responses:
        '200':
          content:
            application/json:
              examples:
                all meters:
                  $ref: '#/components/examples/enrollment-search'
              schema:
                $ref: '#/components/schemas/searchMeterEnrollments_200_response'
          description: Successful response with a list of meters that match the search criteria.
        '400':
          content:
            application/json:
              examples:
                Meter id is not a UUID:
                  value:
                    title: Meter id is not a UUID
                    status: 400
                    details:
                      meter_id: abcdef
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The request is not valid
        '401':
          content:
            application/json:
              examples:
                Unauthorized:
                  value:
                    title: Unauthorized
                    status: 401
                    details: {}
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You are not authorized to perform this operation.
        '403':
          content:
            application/json:
              examples:
                Forbidden:
                  value:
                    title: You do not have the necessary permissions for this operation
                    status: 403
                    details: {}
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You do not have the necessary permissions for this operation.
        '404':
          content:
            application/json:
              examples:
                Meter not found:
                  value:
                    title: Meter not found
                    status: 404
                    details:
                      meter_id: f5c5e328-e325-4d6d-b357-5015ed5962a7
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Meter not found
        '500':
          content:
            application/json:
              examples:
                Internal Error:
                  value: An error happened whilst processing your request
              schema:
                type: string
          description: Internal server error
      summary: Search meter enrollments
      tags:
      - meter enrollment
components:
  schemas:
    EnrollmentDeadline:
      example:
        enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
        activation_date_time: 2024-11-01 00:00:00+00:00
      properties:
        enrollment_deadline_date_time:
          description: The deadline to complete all meter actions for a meter to be enrolled on the activation date
          example: 2024-04-29 04:00:00+00:00
          format: date-time
          type: string
        activation_date_time:
          description: The date a meter is expected to be activated when it is Eligible on the Enrollment Deadline
          example: 2024-05-01 04:00:00+00:00
          format: date-time
          type: string
      required:
      - activation_date_time
      - enrollment_deadline_date_time
      type: object
    RequiredAction:
      allOf:
      - $ref: '#/components/schemas/PublicProgram'
      - $ref: '#/components/schemas/DeliveryPeriod'
      - properties:
          enrollment_deadline_date_time:
            description: The deadline date and time for the required action in UTC.
            example: 2024-07-29 00:00:00+00:00
            format: date-time
            type: string
          action_type:
            $ref: '#/components/schemas/action_type'
          action_description:
            description: Description of the required action.
            example: 'There are missing fields: fieldname'
            type: string
          action_code:
            description: The action code.
            example: SERV_0002
            type: string
        required:
        - action_code
        - action_description
        - action_type
        - delivery_period
        - enrollment_deadline_date_time
        - program_identifier
        type: object
    MeterFilterRequest:
      example:
        page_token: page_token
        page_size: 100
        transmission_region: CAISO
        customer_classification: RESIDENTIAL
        meter_ids:
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        partner_references:
        - a-partner-reference
        global_enrollment_statuses:
        - ACTIVE
        - ACTIVE
        - ACTIVE
        - ACTIVE
        - ACTIVE
        meter_types:
        - UTILITY_METER
        - UTILITY_METER
        - UTILITY_METER
        - UTILITY_METER
        - UTILITY_METER
        load_types:
        - HVAC
        - HVAC
        - HVAC
        - HVAC
        - HVAC
        customer_groups:
        - CustomerGroup1
        tags:
        - tag1
        last_modified_date_time: 2024-01-01 00:00:11+00:00
        created_after_date_time: 2024-02-01 00:00:22+00:00
        created_before_date_time: 2024-03-01 00:00:33+00:00
        partner_action_required: false
        exclude_archived: false
        connection_reference_ids:
        - connectionReferenceId1
        action_type:
        - IS_AUTHORIZED
        - IS_AUTHORIZED
        - IS_AUTHORIZED
        - IS_AUTHORIZED
        - IS_AUTHORIZED
      properties:
        page_token:
          description: If there are more meters to fetch, this token will be populated as `next_page_token` in the response. Use it to fetch the next page.
          type: string
        page_size:
          default: 500
          description: Amount of results to return. Defaults to 500.
          example: 100
          format: int32
          maximum: 500
          minimum: 1
          type: integer
        transmission_region:
          $ref: '#/components/schemas/transmission_region'
        customer_classification:
          $ref: '#/components/schemas/CustomerClassification'
        meter_ids:
          description: Meter ID
          items:
            format: uuid
            type: string
          maxItems: 1000
          minItems: 0
          type: array
          uniqueItems: true
        partner_references:
          description: Filter meters with a partner reference that is included in this list.
          example:
          - a-partner-reference
          items:
            allOf:
            - $ref: '#/components/schemas/PartnerReference'
            example: a-partner-reference
            type: string
          maxItems: 1000
          minItems: 1
          type: array
          uniqueItems: true
        global_enrollment_statuses:
          description: Filter meters with a `global_enrollment_status` that is included in this list.
          items:
            $ref: '#/components/schemas/EnrollmentStatus'
          maxItems: 5
          minItems: 1
          type: array
          uniqueItems: true
        meter_types:
          description: The type of meter
          items:
            $ref: '#/components/schemas/MeterType'
          maxItems: 20
          minItems: 1
          type: array
          uniqueItems: true
        load_types:
          description: The type of meter
          items:
            $ref: '#/components/schemas/load_type'
          maxItems: 20
          minItems: 1
          type: array
          uniqueItems: true
        customer_groups:
          description: The customer group associated with the meter.
          example:
          - CustomerGroup1
          items:
            type: string
          maxItems: 20
          minItems: 1
          type: array
          uniqueItems: true
        tags:
          description: A tag associated with the meter.
          example:
          - tag1
          items:
            type: string
          maxItems: 20
          minItems: 1
          type: array
          uniqueItems: true
        last_modified_date_time:
          description: Find meters that have been modified after this date
          example: 2024-01-01 00:00:11+00:00
          format: date-time
          type: string
        created_after_date_time:
          description: Find meters created after this date
          example: 2024-02-01 00:00:22+00:00
          format: date-time
          type: string
        created_before_date_time:
          description: Find meters created before this date
          example: 2024-03-01 00:00:33+00:00
          format: date-time
          type: string
        partner_action_required:
          default: false
          description: When true, returns only meters that require partner action. False returns all meters.
          type: boolean
        exclude_archived:
          default: false
          description: When true, archived meters are excluded in the response. By default they are included.
          type: boolean
        connection_reference_ids:
          description: Filter by a set of connection reference IDs, which are the refIDs supplied during completed Leap Connect authorizations. A meter may have multiple connection reference IDs if multiple people authorized the same meter or a single person authorized a meter multiple times with different reference IDs each time.
          example:
          - connectionReferenceId1
          items:
            allOf:
            - $ref: '#/components/schemas/PartnerReference'
            type: string
          maxItems: 100
          minItems: 1
          type: array
          uniqueItems: true
        action_type:
          description: The type of action required
          items:
            $ref: '#/components/schemas/action_type'
          maxItems: 20
          minItems: 1
          type: array
          uniqueItems: true
      type: object
    MeterIdentifiers:
      allOf:
      - $ref: '#/components/schemas/MeterId'
      - $ref: '#/components/schemas/AssetIdentifiers'
      - $ref: '#/components/schemas/ExtendedMeterIdentifiers'
      required:
      - is_archived
      type: object
    CustomerClassification:
      description: Whether this is a residential (home) asset or a commercial (business) asset.
      enum:
      - RESIDENTIAL
      - COMMERCIAL
      type: string
    searchMeterEnrollments_200_response:
      example:
        next_page_token: next_page_token
        meters:
        - meter_id: 11111111-1111-1111-1111-111111111111
          partner_reference: unique-reference-id-12345
          transmission_region: CAISO
          customer_classification: RESIDENTIAL
          load_types:
          - HVAC
          meter_type: UTILITY_METER
          connection_references:
          - connection-reference-id-1
          - connection-reference-id-1
          customer_group: customer_group
          tags:
          - tags
          - tags
          is_archived: true
          audit:
            created_by: PARTNER
            created_at: 2000-01-23 04:56:07+00:00
            updated_at: 2000-01-23 04:56:07+00:00
          global_enrollment_status: ACTIVE
          participation_preferences:
          - participation_preference: PARTICIPATE
            start_time: 2024-11-01 00:00:00+00:00
            end_time: 2025-03-31 00:00:00+00:00
          - participation_preference: IDLE
            start_time: 2025-03-02 00:00:00+00:00
            end_time: 2025-06-01 00:00:00+00:00
            reason: Idle Time
          - participation_preference: DISENROLL
            start_time: 2025-06-01 00:00:00+00:00
            end_time: 2099-01-01 00:00:00+00:00
            reason: Disenrollment
          program_enrollment:
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
            delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
            enrollment_status: ACTIVE
            enrollment_deadlines:
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            market_group_name: GRP1_NAME
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
            delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
            enrollment_status: ACTIVE
            enrollment_deadlines:
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            market_group_name: GRP1_NAME
          required_actions:
            partner:
            - program_identifier: CEC-DSGS
              delivery_period: CEC-DSGS_2025_AUG_OCT
              enrollment_deadline_date_time: 2024-07-29 00:00:00+00:00
              action_type: IS_AUTHORIZED
              action_description: 'There are missing fields: fieldname'
              action_code: AUTH_0001
            leap:
            - program_identifier: CEC-DSGS
              delivery_period: CEC-DSGS_2025_AUG_OCT
              enrollment_deadline_date_time: 2024-08-01 00:00:00+00:00
              action_type: IS_ASSIGNED_TO_A_RESOURCE
              action_description: This meter is not enrolled in the program
              action_code: LEAP_0001
        - meter_id: 11111111-1111-1111-1111-111111111111
          partner_reference: unique-reference-id-12345
          transmission_region: CAISO
          customer_classification: RESIDENTIAL
          load_types:
          - HVAC
          meter_type: UTILITY_METER
          connection_references:
          - connection-reference-id-1
          - connection-reference-id-1
          customer_group: customer_group
          tags:
          - tags
          - tags
          is_archived: true
          audit:
            created_by: PARTNER
            created_at: 2000-01-23 04:56:07+00:00
            updated_at: 2000-01-23 04:56:07+00:00
          global_enrollment_status: ACTIVE
          participation_preferences:
          - participation_preference: PARTICIPATE
            start_time: 2024-11-01 00:00:00+00:00
            end_time: 2025-03-31 00:00:00+00:00
          - participation_preference: IDLE
            start_time: 2025-03-02 00:00:00+00:00
            end_time: 2025-06-01 00:00:00+00:00
            reason: Idle Time
          - participation_preference: DISENROLL
            start_time: 2025-06-01 00:00:00+00:00
            end_time: 2099-01-01 00:00:00+00:00
            reason: Disenrollment
          program_enrollment:
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
            delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
            enrollment_status: ACTIVE
            enrollment_deadlines:
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            market_group_name: GRP1_NAME
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
            delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
            enrollment_status: ACTIVE
            enrollment_deadlines:
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
              activation_date_time: 2024-11-01 00:00:00+00:00
            market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            market_group_name: GRP1_NAME
          required_actions:
            partner:
            - program_identifier: CEC-DSGS
              delivery_period: CEC-DSGS_2025_AUG_OCT
              enrollment_deadline_date_time: 2024-07-29 00:00:00+00:00
              action_type: IS_AUTHORIZED
              action_description: 'There are missing fields: fieldname'
              action_code: AUTH_0001
            leap:
            - program_identifier: CEC-DSGS
              delivery_period: CEC-DSGS_2025_AUG_OCT
              enrollment_deadline_date_time: 2024-08-01 00:00:00+00:00
              action_type: IS_ASSIGNED_TO_A_RESOURCE
              action_description: This meter is not enrolled in the program
              action_code: LEAP_0001
      properties:
        next_page_token:
          description: If there are more meter enrollments to fetch, this token will be populated. Use it to fetch the next page of provisional assets.
          type: string
        meters:
          items:
            $ref: '#/components/schemas/MeterEnrollmentResponse'
          type: array
      type: object
    MeterId:
      properties:
        meter_id:
          description: The unique identifier for the meter.
          example: 11111111-1111-1111-1111-111111111111
          format: uuid
          type: string
    ParticipationPreference:
      enum:
      - PARTICIPATE
      - IDLE
      - DISENROLL
      type: string
    LeapRequiredActions:
      properties:
        leap:
          description: Required actions for Leap
          example:
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            enrollment_deadline_date_time: 2024-08-01 00:00:00+00:00
            action_type: IS_ASSIGNED_TO_A_RESOURCE
            action_description: This meter is not enrolled in the program
            action_code: LEAP_0001
          items:
            $ref: '#/components/schemas/RequiredAction'
          type: array
      type: object
    MeterEnrollmentResponse:
      allOf:
      - $ref: '#/components/schemas/MeterIdentifiers'
      - $ref: '#/components/schemas/AuditInfo'
      - $ref: '#/components/schemas/MeterEnrollmentFields'
      example:
        meter_id: 11111111-1111-1111-1111-111111111111
        partner_reference: unique-reference-id-12345
        transmission_region: CAISO
        customer_classification: RESIDENTIAL
        load_types:
        - HVAC
        meter_type: UTILITY_METER
        connection_references:
        - connection-reference-id-1
        - connection-reference-id-1
        customer_group: customer_group
        tags:
        - tags
        - tags
        is_archived: true
        audit:
          created_by: PARTNER
          created_at: 2000-01-23 04:56:07+00:00
          updated_at: 2000-01-23 04:56:07+00:00
        global_enrollment_status: ACTIVE
        participation_preferences:
        - participation_preference: PARTICIPATE
          start_time: 2024-11-01 00:00:00+00:00
          end_time: 2025-03-31 00:00:00+00:00
        - participation_preference: IDLE
          start_time: 2025-03-02 00:00:00+00:00
          end_time: 2025-06-01 00:00:00+00:00
          reason: Idle Time
        - participation_preference: DISENROLL
          start_time: 2025-06-01 00:00:00+00:00
          end_time: 2099-01-01 00:00:00+00:00
          reason: Disenrollment
        program_enrollment:
        - program_identifier: CEC-DSGS
          delivery_period: CEC-DSGS_2025_AUG_OCT
          delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
          delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
          enrollment_status: ACTIVE
          enrollment_deadlines:
          - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
            activation_date_time: 2024-11-01 00:00:00+00:00
          - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
            activation_date_time: 2024-11-01 00:00:00+00:00
          market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          market_group_name: GRP1_NAME
        - program_identifier: CEC-DSGS
          delivery_period: CEC-DSGS_2025_AUG_OCT
          delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
          delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
          enrollment_status: ACTIVE
          enrollment_deadlines:
          - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
            activation_date_time: 2024-11-01 00:00:00+00:00
          - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
            activation_date_time: 2024-11-01 00:00:00+00:00
          market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          market_group_name: GRP1_NAME
        required_actions:
          partner:
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            enrollment_deadline_date_time: 2024-07-29 00:00:00+00:00
            action_type: IS_AUTHORIZED
            action_description: 'There are missing fields: fieldname'
            action_code: AUTH_0001
          leap:
          - program_identifier: CEC-DSGS
            delivery_period: CEC-DSGS_2025_AUG_OCT
            enrollment_deadline_date_time: 2024-08-01 00:00:00+00:00
            action_type: IS_ASSIGNED_TO_A_RESOURCE
            action_description: This meter is not enrolled in the program
            action_code: LEAP_0001
      required:
      - audit
      - global_enrollment_status
      - is_archived
      - load_types
      - meter_id
      - program_enrollment
      - required_actions
      - tags
      - transmission_region
      type: object
    transmission_region:
      description: Defines the transmission region of the meter
      enum:
      - CAISO
      - ERCOT
      - NYISO
      - ISONE
      - PJM
      - SERC
      - WECC_SW
      - WECC_PC
      example: CAISO
      type: string
    ProgramEnrollment:
      allOf:
      - $ref: '#/components/schemas/PublicProgram'
      - $ref: '#/components/schemas/DeliveryPeriod'
      - properties:
          delivery_period_start_date_time:
            description: The start date and time of the program in UTC.
            format: date-time
            type: string
          delivery_period_end_date_time:
            description: The end date and time of the program in UTC.
            format: date-time
            type: string
          enrollment_status:
            $ref: '#/components/schemas/EnrollmentStatus'
          enrollment_deadlines:
            description: full list of enrollment deadlines with the expected activation dates for the delivery period
            items:
              $ref: '#/components/schemas/EnrollmentDeadline'
            type: array
          market_group_id:
            description: The market group ID associated with the program.
            format: uuid
            type: string
          market_group_name:
            description: Name for the market group
            example: GRP1_NAME
            type: string
        required:
        - delivery_period_end_date_time
        - delivery_period_start_date_time
        - enrollment_deadlines
        - enrollment_status
        type: object
      example:
        program_identifier: CEC-DSGS
        delivery_period: CEC-DSGS_2025_AUG_OCT
        delivery_period_start_date_time: 2000-01-23 04:56:07+00:00
        delivery_period_end_date_time: 2000-01-23 04:56:07+00:00
        enrollment_status: ACTIVE
        enrollment_deadlines:
        - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
          activation_date_time: 2024-11-01 00:00:00+00:00
        - enrollment_deadline_date_time: 2024-10-29 00:00:00+00:00
          activation_date_time: 2024-11-01 00:00:00+00:00
        market_group_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        market_group_name: GRP1_NAME
    PartnerReference:
      description: The partner-supplied reference ID to help identify the customer or site that a Leap meter correlates to a partner’s internal systems.
      example: partner-reference-1
      maxLength: 256
      minLength: 3
      pattern: ^[^\/\\?\]\[{}!#$%^&*()<>|]{3,256}$
      type: string
    RequiredActions:
      allOf:
      - $ref: '#/components/schemas/PartnerRequiredActions'
      - $ref: '#/components/schemas/LeapRequiredActions'
      example:
        partner:
        - program_identifier: CEC-DSGS
          delivery_period: CEC-DSGS_2025_AUG_OCT
          enrollment_deadline_date_time: 2024-07-29 00:00:00+00:00
          action_type: IS_AUTHORIZED
          action_description: 'There are missing fields: fieldname'
          action_code: AUTH_0001
        leap:
        - program_identifier: CEC-DSGS
          delivery_period: CEC-DSGS_2025_AUG_OCT
          enrollment_deadline_date_time: 2024-08-01 00:00:00+00:00
          action_type: IS_ASSIGNED_TO_A_RESOURCE
          action_description: This meter is not enrolled in the program
          action_code: LEAP_0001
      type: object
    PublicProgram:
      properties:
        program_identifier:
          description: Identifier of program
          enum:
          - CAISO-CCA-SC_ONLY
          - CCA
          - CEC-DSGS-OPTION4
          - CEC-DSGS
          - CONED-CSRP
          - CONED-DLRP
          - DRAM
          - ELRP
          - ENERGY-ONLY
          - ERCOT-ERS
          - EVERSOURCE-CS
          - MA_DOER-CPS
          - NATGRID-CS
          - NRG-REALTIME
          - NRG-RED
          - NYISO-SCR
          - ONCOR-CLM
          - PGE-ART
          - PGE-CBP
          - PJM-CAPACITY
          - PSEGLI-CSRP
          - PSEGLI-DLRP
          - RIE-CS
          - UNITIL-CS
          - PSE-RPO
          - SRP-RPO
          - TVA-RPO
          - CAISO-ELRP-A4
          - CEC-DSGS-OPTION2
          - ENERGYHUB-CS
          - CT_GB-ESS
          example: CEC-DSGS
          type: string
          x-enum-varnames:
          - CAISO_CCA_SC_ONLY
          - CCA
          - CEC_DSGS_OPTION4
          - CEC_DSGS
          - CONED_CSRP
          - CONED_DLRP
          - DRAM
          - ELRP
          - ENERGY_ONLY
          - ERCOT_ERS
          - EVERSOURCE_CS
          - MA_DOER_CPS
          - NATGRID_CS
          - NRG_REALTIME
          - NRG_RED
          - NYISO_SCR
          - ONCOR_CLM
          - PGE_ART
          - PGE_CBP
          - PJM_CAPACITY
          - PSEGLI_CSRP
          - PSEGLI_DLRP
          - RIE_CS
          - UNITIL_CS
          - PSE_RPO
          - SRP_RPO
          - TVA_RPO
          - CAISO_ELRP_A4
          - CEC_DSGS_OPTION2
          - ENERGYHUB_CS
          - CT_GB_ESS
      type: object
    AuditInfo:
      properties:
        audit:
          $ref: '#/components/schemas/AuditInfo_audit'
    DeliveryPeriod:
      properties:
        delivery_period:
          description: The delivery period of the program.
          example: CEC-DSGS_2025_AUG_OCT
          type: string
      type: object
    ExtendedMeterIdentifiers:
      properties:
        connection_references:
          description: List of connection reference IDs, which are the refIDs supplied during completed Leap Connect authorizations.  A meter may have multiple connection reference IDs if multiple people authorized the same meter or a single person authorized a meter multiple times with different reference IDs each time.
          items:
            allOf:
            - $ref: '#/components/schemas/PartnerReference'
            example: connection-reference-id-1
            type: string
          type: array
          uniqueItems: true
        customer_group:
          description: The customer group associated with the meter.
          pattern: ^[’'+#\"@()/&.,;A-Za-z\u00C0

# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/leap/refs/heads/main/openapi/leap-meter-enrollment-api-openapi.yml