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

# Get Layout



## OpenAPI

````yaml get /api/analytics/layout
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/analytics/layout:
    get:
      tags:
        - Analytics
      summary: Get user's dashboard layout
      operationId: getDashboardLayout
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardLayout'
components:
  schemas:
    DashboardLayout:
      properties:
        widgets:
          items:
            $ref: '#/components/schemas/WidgetConfig'
          type: array
          title: Widgets
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - widgets
      title: DashboardLayout
      description: User's dashboard layout configuration.
    WidgetConfig:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          title: Type
        visible:
          type: boolean
          title: Visible
          default: true
        order:
          type: integer
          title: Order
          default: 0
        width:
          type: string
          enum:
            - full
            - half
            - third
          title: Width
          default: half
      type: object
      required:
        - id
        - type
      title: WidgetConfig
      description: Configuration for a single dashboard widget.

````