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

# Get Config Definition



## OpenAPI

````yaml api-reference/openapi.json get /api/v1/config_definition/{config_definition_key}
openapi: 3.1.0
info:
  title: Tartarus API
  description: Tartarus API for managing the underworld configurations
  version: 1.0.0
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /api/v1/config_definition/{config_definition_key}:
    get:
      tags:
        - Config Definition
      summary: Get Config Definition
      operationId: >-
        get_config_definition_api_v1_config_definition__config_definition_key__get
      parameters:
        - name: config_definition_key
          in: path
          required: true
          schema:
            type: string
            title: Config Definition Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadConfigDefinitionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Bearer: []
components:
  schemas:
    ReadConfigDefinitionResponse:
      properties:
        status:
          $ref: '#/components/schemas/Status'
          description: The status of the response.
          default: SUCCESS
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: The message for the response.
        data:
          $ref: '#/components/schemas/ConfigDefinitionRetrievable'
        errors:
          anyOf:
            - {}
            - type: 'null'
          title: Errors
          description: The errors for the response.
      type: object
      required:
        - data
      title: ReadConfigDefinitionResponse
      description: Represents the response for getting a configuration definition.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Status:
      type: string
      enum:
        - SUCCESS
        - FAILURE
      title: Status
      description: Enum class for status
    ConfigDefinitionRetrievable:
      properties:
        indexes:
          items:
            type: string
          type: array
          title: Indexes
          description: >-
            List of field names to be indexed. Each must exist in the schema
            properties.
        config_definition_key:
          type: string
          title: Config Definition Key
          description: The unique identifier for the config definition.
        json_schema:
          anyOf:
            - type: object
            - type: 'null'
          title: Json Schema
          description: >-
            JSON Schema for validating configs belonging to this config
            definition.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: The time the configuration definition was created.
        modified_at:
          type: string
          format: date-time
          title: Modified At
          description: The time the configuration definition was last updated.
      type: object
      required:
        - config_definition_key
        - created_at
        - modified_at
      title: ConfigDefinitionRetrievable
      description: Represents the configuration definition with the key.
      example:
        config_definition_key: app_config
        indexes:
          - setting_object.first_key
        json_schema:
          properties:
            setting_string:
              type: string
            setting_object:
              properties:
                first_key:
                  type: string
                second_key:
                  type: integer
              type: object
          required:
            - setting_string
            - setting_object
          type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    Bearer:
      type: apiKey
      in: header
      name: Authorization

````