> ## 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 raw read of netztransparenz.de or ENTSO-E with the bridge's access

> The data service's answer as it came - CSV from netztransparenz, XML
from ENTSO-E - for working out formats and document types. Read-only;
the credentials stay in the bridge. Cut at 3 million characters.



## OpenAPI

````yaml /setup/internal-openapi.json get /v1/process/marktdaten/roh
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), the operator console endpoints,
    and the read-only operator-app endpoints under /v1/mobile. The process and
    console endpoints require the process API key, /v1/mobile a device key of
    the mobile scope; 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/marktdaten/roh:
    get:
      summary: A raw read of netztransparenz.de or ENTSO-E with the bridge's access
      description: |-
        The data service's answer as it came - CSV from netztransparenz, XML
        from ENTSO-E - for working out formats and document types. Read-only;
        the credentials stay in the bridge. Cut at 3 million characters.
      operationId: get_marktdaten_roh_v1_process_marktdaten_roh_get
      parameters:
        - name: quelle
          in: query
          required: true
          schema:
            enum:
              - netztransparenz
              - entsoe
            type: string
            title: Quelle
        - name: pfad
          in: query
          required: false
          schema:
            type: string
            description: 'netztransparenz: a path under /data/'
            default: ''
            title: Pfad
          description: 'netztransparenz: a path under /data/'
        - name: parameter
          in: query
          required: false
          schema:
            type: string
            description: >-
              ENTSO-E: the query as URL parameters, e.g.
              documentType=A84&processType=A67&controlArea_Domain=...&periodStart=202610010000&periodEnd=202610020000
            default: ''
            title: Parameter
          description: >-
            ENTSO-E: the query as URL parameters, e.g.
            documentType=A84&processType=A67&controlArea_Domain=...&periodStart=202610010000&periodEnd=202610020000
      responses:
        '200':
          description: Successful Response
          content:
            text/plain:
              schema:
                type: string
        '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.