> ## 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.

# A month as a chart (SVG)

> Per day the net energy scheduled and allocated as bars, the forecast
as a mark, and the day's mean reBAP below.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/dashboard/charts/months/{month}.svg
openapi: 3.1.0
info:
  title: n:lead Scheduling Bridge — Data Delivery API
  version: 0.4.0
  description: >-
    API for delivering portfolio data to the n:lead scheduling bridge. Send a
    portfolio forecast per delivery day, or — if no forecast is available — the
    market-location master data, metered data and rolled-out profiles the bridge
    needs to build the consumption forecast for you. Everything downstream
    (positions, trader handoff, schedule submission to the TSOs) is operated by
    n:lead. A read-only status endpoint reports the BRP activation state per
    DSO/MGA, and the dashboard endpoints a day's or a month's forecast,
    schedule, allocation and reBAP for the customer's own screens.
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/dashboard/charts/months/{month}.svg:
    get:
      tags:
        - Dashboard
      summary: A month as a chart (SVG)
      description: |-
        Per day the net energy scheduled and allocated as bars, the forecast
        as a mark, and the day's mean reBAP below.
      operationId: get_dashboard_month_chart_v1_dashboard_charts_months__month__svg_get
      parameters:
        - name: month
          in: path
          required: true
          schema:
            type: string
            pattern: ^\d{4}-(0[1-9]|1[0-2])$
            description: YYYY-MM
            title: Month
          description: YYYY-MM
        - name: area
          in: query
          required: false
          schema:
            type: string
            pattern: ^(germany|TenneT|50Hertz|Amprion|TransnetBW)$
            description: germany, or a control area
            default: germany
            title: Area
          description: germany, or a control area
        - name: theme
          in: query
          required: false
          schema:
            enum:
              - dark
              - light
            type: string
            default: dark
            title: Theme
        - name: lang
          in: query
          required: false
          schema:
            enum:
              - de
              - en
            type: string
            default: de
            title: Lang
        - name: key
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              a dashboard key, for an <img> tag or a wall screen that cannot
              send the X-API-Key header
            title: Key
          description: >-
            a dashboard key, for an <img> tag or a wall screen that cannot send
            the X-API-Key header
      responses:
        '200':
          description: Successful Response
          content:
            image/svg+xml: {}
        '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.