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

# Get language configurations

> Retrieve all language configurations with full merged translations. Each language config contains the complete translation set (base locale merged with organisation-specific overrides).



## OpenAPI

````yaml openapi/admin.json GET /languages
openapi: 3.1.0
info:
  title: Nudj Admin API
  version: 1.0.0
servers:
  - url: https://{subdomain}.nudj.cx/api/v2/admin
    description: Organization API Server
    variables:
      subdomain:
        description: Your organization's subdomain (required)
        default: your-org
security:
  - ApiToken: []
paths:
  /languages:
    get:
      tags:
        - Language
      summary: Get language configurations
      description: >-
        Retrieve all language configurations with full merged translations. Each
        language config contains the complete translation set (base locale
        merged with organisation-specific overrides).
      operationId: getLanguages
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminLanguageConfigResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.BAD_REQUEST'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.UNAUTHORIZED'
        '403':
          description: Insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.FORBIDDEN'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.NOT_FOUND'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
components:
  schemas:
    AdminLanguageConfigResponse:
      type: object
      properties:
        organisationDefaultLanguage:
          type: string
          description: The default language code for the organisation (e.g., 'en')
        lastUpdatedAt:
          type: string
          format: date-time
          description: ISO timestamp for the latest language or default-language update
        languages:
          type: array
          items:
            $ref: '#/components/schemas/LanguageConfigAdmin'
          description: Array of admin language configurations with review metadata
        languageConfigUpdatedAt:
          type: string
          format: date-time
          description: Platform configuration version for optimistic concurrency
      required:
        - organisationDefaultLanguage
        - lastUpdatedAt
        - languages
        - languageConfigUpdatedAt
      title: Admin Language Config Response
      description: >-
        Response containing all language configurations with full merged
        translations
    error.BAD_REQUEST:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Invalid input data
        code:
          type: string
          description: The error code
          example: BAD_REQUEST
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Error
      description: The error information
      example:
        code: BAD_REQUEST
        message: Invalid input data
        issues: []
    error.UNAUTHORIZED:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Authentication required
        code:
          type: string
          description: The error code
          example: UNAUTHORIZED
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Error
      description: The error information
      example:
        code: UNAUTHORIZED
        message: Authentication required
        issues: []
    error.FORBIDDEN:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Insufficient permissions
        code:
          type: string
          description: The error code
          example: FORBIDDEN
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Error
      description: The error information
      example:
        code: FORBIDDEN
        message: Insufficient permissions
        issues: []
    error.NOT_FOUND:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Not found
        code:
          type: string
          description: The error code
          example: NOT_FOUND
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Error
      description: The error information
      example:
        code: NOT_FOUND
        message: Not found
        issues: []
    error.INTERNAL_SERVER_ERROR:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Internal server error
        code:
          type: string
          description: The error code
          example: INTERNAL_SERVER_ERROR
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Error
      description: The error information
      example:
        code: INTERNAL_SERVER_ERROR
        message: Internal server error
        issues: []
    LanguageConfigAdmin:
      allOf:
        - $ref: '#/components/schemas/LanguageConfig'
      type: object
      properties:
        reviewedKeys:
          type: array
          items:
            type: string
            maxLength: 512
          maxItems: 5000
          default: []
          description: >-
            Dot-paths the translator confirmed as correct even though they match
            the source (so a same-as-source string still counts as translated)
      required:
        - reviewedKeys
      title: Admin Language Configuration
      description: Configuration for platform language and translations
    LanguageConfig:
      type: object
      properties:
        language:
          type: string
          description: The language code (e.g., 'en', 'fr', 'es')
        translation:
          allOf:
            - $ref: '#/components/schemas/Translation'
            - default: {}
          description: >-
            Translation key-value pairs. Can contain nested objects. Empty
            object means 'use default translations'
        enabled:
          type: boolean
          description: Whether this language is enabled
      required:
        - language
        - translation
        - enabled
      title: Language Configuration
      description: Configuration for platform language and translations
    Translation:
      type: object
      additionalProperties:
        anyOf:
          - type: string
          - $ref: '#/components/schemas/Translation'
  securitySchemes:
    ApiToken:
      type: apiKey
      in: header
      name: x-api-token

````