> ## 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 HDO commands

> The currently-valid HDO commands for a distributor, optionally narrowed to one region. Use one as
`distribution.lowTariffCommand` on a two-tariff sazba.



## OpenAPI

````yaml /api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/commands
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/{distributor}/commands:
    get:
      tags:
        - Reference data
      summary: Get HDO commands
      description: >-
        The currently-valid HDO commands for a distributor, optionally narrowed
        to one region. Use one as

        `distribution.lowTariffCommand` on a two-tariff sazba.
      operationId: Get HDO commands
      parameters:
        - name: distributor
          in: path
          description: Distributor code — CEZ, PRE or EGD.
          required: true
          schema:
            type: string
        - name: regionKey
          in: query
          description: >-
            Optional HDO region key (from the regions endpoint) to narrow the
            result for region-specific distributors.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
                - A1B4DP6
                - A3B7DP1
                - EVV2
        '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:
    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: {}

````