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

# Get Account

> Returns account identity, tenant namespace mapping, and customer-visible
entitlements for the bearer API key. Use `tenants[].namespace_name` when
configuring `kubectl` for the Compute API.



## OpenAPI

````yaml /api-reference/customer-api.v1.openapi.json get /v1/admin/account
openapi: 3.1.0
info:
  title: Mount Thor Customer API
  version: v1
servers:
  - description: Mount Thor customer API edge
    url: https://api.mountthor.com
security: []
paths:
  /v1/admin/account:
    get:
      tags:
        - account
      summary: Get Account
      description: |-
        Returns account identity, tenant namespace mapping, and customer-visible
        entitlements for the bearer API key. Use `tenants[].namespace_name` when
        configuring `kubectl` for the Compute API.
      operationId: get_customer_account
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAccountResponse'
          description: Customer account status
        '401':
          description: Missing or invalid customer API key
        '403':
          description: API key is missing account:read scope
        '429':
          content:
            text/plain:
              schema:
                type: string
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds before retry.
              schema:
                minimum: 1
                type: integer
      security:
        - api_key_bearer:
            - account:read
components:
  schemas:
    CustomerAccountResponse:
      additionalProperties: false
      description: Response body for `GET /v1/admin/account`.
      properties:
        capabilities:
          $ref: '#/components/schemas/CustomerAccountCapabilities'
          description: Customer-visible account capabilities and entitlements.
        customer_id:
          description: Stable UUID for the customer account.
          format: uuid
          type: string
        display_name:
          description: Customer-owned display name shown in Mount Thor tooling.
          example: Acme Robotics
          type: string
        last_sign_in_at:
          example: '2026-06-05T17:33:40Z'
          type:
            - string
            - 'null'
        locale:
          example: en-US
          type:
            - string
            - 'null'
        namespace_name:
          description: Kubernetes namespace that contains this tenant's compute resources.
          example: tenant-acme-prod
          type: string
        principal_user_id:
          description: >-
            Customer user UUID associated with the credential used for this
            request.
          format: uuid
          type: string
        profile_picture_url:
          example: https://workoscdn.com/images/v1/user_01ABC
          type:
            - string
            - 'null'
        status:
          description: >-
            Account lifecycle state. `active` accounts can create keys and use
            compute.
          example: active
          type: string
        tenant_id:
          description: >-
            Stable UUID for the default tenant returned for backwards-compatible
            callers.
          format: uuid
          type: string
        tenant_status:
          description: Tenant lifecycle state. Compute calls require an active tenant.
          example: active
          type: string
        tenants:
          description: >-
            Tenants in this account. Use this list to select a compute
            namespace.
          items:
            $ref: '#/components/schemas/CustomerAccountTenant'
          type: array
        user_display_name:
          example: Alex Customer
          type:
            - string
            - 'null'
      required:
        - customer_id
        - display_name
        - status
        - tenant_id
        - namespace_name
        - tenant_status
        - principal_user_id
        - tenants
        - capabilities
      type: object
    CustomerAccountCapabilities:
      additionalProperties: false
      description: Capabilities and entitlements attached to the account.
      properties:
        entitlements:
          description: Entitlements currently visible to this account.
          items:
            $ref: '#/components/schemas/CustomerEntitlement'
          type: array
      required:
        - entitlements
      type: object
    CustomerAccountTenant:
      additionalProperties: false
      description: Tenant namespace attached to the account.
      properties:
        compute_api_server_url:
          description: Compute API server URL for this tenant.
          example: https://api.mountthor.com/v1/compute
          type: string
        namespace_name:
          description: Kubernetes namespace for this tenant's compute resources.
          example: tenant-acme-prod
          type: string
        status:
          description: Tenant lifecycle state.
          example: active
          type: string
        tenant_id:
          description: Stable UUID for the tenant.
          format: uuid
          type: string
      required:
        - tenant_id
        - namespace_name
        - compute_api_server_url
        - status
      type: object
    CustomerEntitlement:
      additionalProperties: false
      description: Customer-visible entitlement attached to the account.
      properties:
        entitlement_type:
          description: >-
            Entitlement category, such as `image-ref`, `machine-class`, or
            feature flag.
          example: machine-class
          type: string
        entitlement_value:
          description: Entitlement value within the category.
          example: m4-24g
          type: string
        priority:
          description: >-
            Ordered preference within this entitlement category; lower wins, so

            `0` is the most preferred. Entitlements are already returned in this

            order — consume the order as given rather than re-sorting, since

            re-sorting alphabetically discards the preference this field
            expresses.
          example: 0
          format: int32
          type: integer
      required:
        - entitlement_type
        - entitlement_value
        - priority
      type: object
  securitySchemes:
    api_key_bearer:
      bearerFormat: mthr_live_*
      description: Bearer scheme name used by typed customer admin operations.
      scheme: bearer
      type: http

````