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

# Get a settings profile version

> One version row extended with its full ``body`` (``{description, env,
secret_keys}``, REAL values — this door is ``secret``-fenced). A non-integer
segment is a 400, an unknown version a 404.



## OpenAPI

````yaml /openapi.json get /api/config/profiles/{name}/versions/{version}
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 14.0.2
servers: []
security: []
paths:
  /api/config/profiles/{name}/versions/{version}:
    get:
      tags:
        - config
      summary: Get a settings profile version
      description: >-
        One version row extended with its full ``body`` (``{description, env,

        secret_keys}``, REAL values — this door is ``secret``-fenced). A
        non-integer

        segment is a 400, an unknown version a 404.
      operationId: get_api_config_profiles_name_versions_version
      parameters:
        - in: path
          name: name
          required: true
          schema:
            type: string
        - in: path
          name: version
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/ProfileVersionView'
                required:
                  - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Resource not found.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ProfileVersionView:
      description: >-
        One settings-profile version row extended with its full ``body`` (real
        env

        values — this door is secret-fenced; masking is display-side only).
      properties:
        body:
          $ref: '#/components/schemas/SettingsProfileBody'
        created_at:
          title: Created At
          type: string
        is_current:
          title: Is Current
          type: boolean
        tags:
          items:
            type: string
          title: Tags
          type: array
        version:
          title: Version
          type: integer
      required:
        - version
        - tags
        - created_at
        - is_current
        - body
      title: ProfileVersionView
      type: object
    Error:
      properties:
        code:
          description: >-
            Stable machine-readable reason a client keys a dedicated error state
            on, present on refusals that opt in (e.g. a 501 not-configured
            refusal). Optional: absent when the error carries only a
            human-readable message.
          type: string
        error:
          type: string
      required:
        - error
      type: object
    SettingsProfileBody:
      description: >-
        The persisted body of a versioned settings profile.


        ``env`` is the whole profile-managed env band (values verbatim, secrets

        included — the store rides the ``secret=True`` versioned-documents
        backup

        section); applying the profile REPLACES the stored env with it (a key
        the

        profile does not name is deleted, save the carried X-band).
        ``secret_keys`` are

        the per-profile secret marks (which ``env`` keys are secret) folded into
        the

        display mask union. ``description`` is the profile's human description.
      properties:
        description:
          default: ''
          title: Description
          type: string
        env:
          additionalProperties:
            type: string
          title: Env
          type: object
        secret_keys:
          items:
            type: string
          title: Secret Keys
          type: array
      title: SettingsProfileBody
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````