> ## Documentation Index
> Fetch the complete documentation index at: https://docs.energy.nlead.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Sum time series activated for our Bilanzkreis, as a tree

> Per Regelzone: the aggregates on Regelzone level (ÜNB's BK-SZR,
BIKO's Abrechnungssummenzeitreihe) and one row per Netzbetreiber /
Bilanzierungsgebiet we granted a Zuordnungsermächtigung, each
Zeitreihentyp ``erwartet``, ``aktiv`` or ``deaktiviert`` - read from
the UTILMD 55062/55063 "Aktivierung / Deaktivierung von MaBiS-ZP".
Activations that match nothing we granted carry ``unbekannt``.



## OpenAPI

````yaml /setup/internal-openapi.json get /v1/process/zeitreihen/aktivierungen
openapi: 3.1.0
info:
  title: n:lead Scheduling Bridge — Internal API
  version: 0.4.0
  description: >-
    Internal API of the n:lead scheduling bridge: the process endpoints that
    drive the day-ahead pipeline (aggregate, publish the open position, submit
    schedules, generate forecasts, orchestrate) and the operator console
    endpoints. Requires the process API key; not for customer use.
servers:
  - url: https://{host}
    description: Deployed service
    variables:
      host:
        default: api.energy.nlead.ch
        description: >-
          The service hostname - n:lead provides it (see the Base URL on the API
          introduction page)
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /v1/process/zeitreihen/aktivierungen:
    get:
      summary: Sum time series activated for our Bilanzkreis, as a tree
      description: |-
        Per Regelzone: the aggregates on Regelzone level (ÜNB's BK-SZR,
        BIKO's Abrechnungssummenzeitreihe) and one row per Netzbetreiber /
        Bilanzierungsgebiet we granted a Zuordnungsermächtigung, each
        Zeitreihentyp ``erwartet``, ``aktiv`` or ``deaktiviert`` - read from
        the UTILMD 55062/55063 "Aktivierung / Deaktivierung von MaBiS-ZP".
        Activations that match nothing we granted carry ``unbekannt``.
      operationId: get_zp_aktivierungen_v1_process_zeitreihen_aktivierungen_get
      parameters:
        - name: lookback_days
          in: query
          required: false
          schema:
            type: integer
            maximum: 180
            minimum: 1
            default: 180
            title: Lookback Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Get Zp Aktivierungen V1 Process Zeitreihen
                  Aktivierungen Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      description: OIDC access token (Auth0 M2M)
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.