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

# Get the dashboard layout preference for the authenticated user

> Returns the stored dashboard configuration for the tenant and user resolved from the request context. If the user has never saved a configuration, the built-in default is returned instead of a 404.



## OpenAPI

````yaml /api-reference/ai-cms/openapi.json get /reports/dashboardConfig
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /reports/dashboardConfig:
    get:
      tags:
        - Reports
      summary: Get the dashboard layout preference for the authenticated user
      description: >-
        Returns the stored dashboard configuration for the tenant and user
        resolved from the request context. If the user has never saved a
        configuration, the built-in default is returned instead of a 404.
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                success: true
                statusCode: 200
                message: Dashboard config retrieved successfully
                data:
                  dashboardConfig:
                    version: 1
                    templateId: executive_focus
                    slots:
                      - id: hero
                        type: operationsOverview
                        enabled: true
                        span: full
                        settings:
                          range: 2weeks
                      - id: slot_1
                        type: reportIntelligence
                        enabled: true
                        span: full
                        settings:
                          range: 2weeks
                      - id: slot_2
                        type: contentTrend
                        enabled: true
                        span: full
                        settings:
                          range: 2weeks
                      - id: slot_3
                        type: tenantCapacity
                        enabled: true
                        span: half
                        settings:
                          range: 2weeks
                      - id: slot_4
                        type: summaryOverview
                        enabled: true
                        span: half
                        settings:
                          range: 2weeks
                      - id: slot_5
                        type: topArticles
                        enabled: true
                        span: full
                        settings:
                          range: 2weeks
        '400':
          description: >-
            Bad request (no user id resolved from `x-user-id` or the bearer
            token)
          content:
            application/json:
              example:
                success: false
                statusCode: 400
                message: Missing userId
                data: null
        '401':
          description: Unauthorized
        '500':
          description: Server error
          content:
            application/json:
              example:
                success: false
                statusCode: 500
                message: Failed to retrieve dashboard config
                data: null
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````