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

# Get apps planquote



## OpenAPI

````yaml /api/openapi.json get /apps/{app}/plan/quote
openapi: 3.1.2
info:
  title: API KENN HOSTING
  version: 1.0.0
  description: >-
    API REST de KENN HOSTING : gérez vos VPS, hébergements, domaines,
    applications, commandes et tickets. Authentification par clé API (en-tête
    `Authorization: Bearer kh_live_...`). Les opérations qui débitent votre
    solde exigent un en-tête `Idempotency-Key`.
servers:
  - url: https://kennhosting.com/api/v1
    description: Production
security:
  - cleApi: []
paths:
  /apps/{app}/plan/quote:
    get:
      tags:
        - Apps
      operationId: v1.apps.plan.quote
      parameters:
        - name: app
          in: path
          required: true
          schema:
            type: string
        - name: tier
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/DeployedAppPlan'
        - name: billing_period
          in: query
          schema:
            type:
              - string
              - 'null'
            enum:
              - monthly
              - annual
              - null
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      starts_at:
                        type:
                          - string
                          - 'null'
                      expires_at:
                        type:
                          - string
                          - 'null'
                      switch_at:
                        type:
                          - string
                          - 'null'
                    required:
                      - starts_at
                      - expires_at
                      - switch_at
                    additionalProperties:
                      anyOf:
                        - type: boolean
                        - type: string
                        - type: 'null'
                        - type: integer
                        - type: string
                          format: date-time
                  meta:
                    type: string
                required:
                  - success
                  - data
                  - meta
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '422':
          $ref: '#/components/responses/ValidationException'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error overview.
                required:
                  - message
components:
  schemas:
    DeployedAppPlan:
      type: string
      description: >
        Paliers du module « Applications ». Source unique des prix et limites :
        consommée par la commande, la page publique /deploy et l'interface
        (jauges, verrous). Appliquées : mémoire (Docker), bande passante, heures
        d'éveil et base du Gratuit (EnforceFreeTierLimits), nombre d'apps
        gratuites (FreeAppQuota), domaines, environnements.
      enum:
        - free
        - pro
        - team
      title: DeployedAppPlan
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    cleApi:
      type: http
      description: Clé API créée dans votre espace client (kh_live_... ou kh_test_...).
      scheme: bearer

````

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