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

> The profile's active body — ``{description, env, secret_keys}`` with REAL env
values (this authed ``secret``-fenced door round-trips values through the editor;
masking is display-side only, never on the wire). 404 for an absent name.



## OpenAPI

````yaml /openapi.json get /api/config/profiles/{name}
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}:
    get:
      tags:
        - config
      summary: Get a settings profile
      description: >-
        The profile's active body — ``{description, env, secret_keys}`` with
        REAL env

        values (this authed ``secret``-fenced door round-trips values through
        the editor;

        masking is display-side only, never on the wire). 404 for an absent
        name.
      operationId: get_api_config_profiles_name
      parameters:
        - in: path
          name: name
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SettingsProfileBody'
                required:
                  - data
                type: object
          description: Success.
        '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:
    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
    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
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````