> ## Documentation Index
> Fetch the complete documentation index at: https://podpora.cubee.cz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get distributors

> The distributors the calculator supports. Use a returned `key` as `distribution.distributor`.



## OpenAPI

````yaml /api-reference/swagger-partner.json get /api/v1/reference/distributors
openapi: 3.0.4
info:
  title: Partner API
  description: API for partner services
  version: v1
servers:
  - url: https://api.partner.cubee.cz
    description: Partnerý API server
security: []
tags:
  - name: Aggregated Data
  - name: Authentication
  - name: Calculator
  - name: CalculatorControllerV1
  - name: InvoiceExtraction
  - name: Public
  - name: Reference data
  - name: Studies
paths:
  /api/v1/reference/distributors:
    get:
      tags:
        - Reference data
      summary: Get distributors
      description: >-
        The distributors the calculator supports. Use a returned `key` as
        `distribution.distributor`.
      operationId: Get distributors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DistributorModel'
              example:
                - id: a1c3e5f7-1b2d-4e6f-8a9b-0c1d2e3f4a5b
                  name: ČEZ Distribuce
                  key: CEZ
                  logoUrl: https://…/cez.svg
                - id: b2d4f6a8-2c3e-4f7a-9b0c-1d2e3f4a5b6c
                  name: PRE distribuce
                  key: PRE
                  logoUrl: https://…/pre.svg
                - id: c3e5a7b9-3d4f-4a8b-0c1d-2e3f4a5b6c7d
                  name: EG.D
                  key: EGD
                  logoUrl: https://…/egd.svg
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '500':
          description: Internal Server Error
      security:
        - {}
components:
  schemas:
    DistributorModel:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the distributor.
          format: uuid
          example: a1c3e5f7-1b2d-4e6f-8a9b-0c1d2e3f4a5b
        name:
          type: string
          description: Display name of the distributor (e.g. "ČEZ Distribuce").
          nullable: true
          example: ČEZ Distribuce
        key:
          type: string
          description: >-
            Stable code of the distributor — one of CEZ, PRE, EGD. Use as
            `distribution.distributor`.
          nullable: true
          example: CEZ
        logoUrl:
          type: string
          description: URL of the distributor's logo, if available.
          nullable: true
          example: https://…/cez.svg
      additionalProperties: false
      description: An electricity distributor offered in the calculator.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    HttpValidationProblemDetails:
      allOf:
        - $ref: '#/components/schemas/ProblemDetails'
        - type: object
          properties:
            errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
              nullable: true
          additionalProperties: {}

````