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

# Get Profile

> Get a specific profile's configuration.

Returns the full LLM config with ``api_key`` nulled out; the sibling
``api_key_set`` flag reports whether a key is stored.



## OpenAPI

````yaml /openapi/openhands-cloud.json get /api/v1/settings/profiles/{name}
openapi: 3.1.0
info:
  title: OpenHands
  description: 'OpenHands: Code Less, Make More'
  version: 0.0.1
servers: []
security: []
paths:
  /api/v1/settings/profiles/{name}:
    get:
      tags:
        - Settings
      summary: Get Profile
      description: |-
        Get a specific profile's configuration.

        Returns the full LLM config with ``api_key`` nulled out; the sibling
        ``api_key_set`` flag reports whether a key is stored.
      operationId: get_profile_api_v1_settings_profiles__name__get
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 64
            pattern: ^[A-Za-z0-9._-]{1,64}$
            title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/openhands__app_server__settings__settings_router__ProfileDetailResponse
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    openhands__app_server__settings__settings_router__ProfileDetailResponse:
      properties:
        name:
          type: string
          title: Name
        config:
          additionalProperties: true
          type: object
          title: Config
        api_key_set:
          type: boolean
          title: Api Key Set
          default: false
      type: object
      required:
        - name
        - config
      title: ProfileDetailResponse
      description: |-
        Response body for fetching a single profile.

        ``config.api_key`` is always ``None`` in the response; the sibling
        ``api_key_set`` bool reports whether a key is stored. This matches
        the ``/api/v1/settings`` convention and prevents the "GET → edit →
        POST" flow from poisoning the stored key with a mask string.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Access-Token

````