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

# List dashboard subscription goals for a year

> Returns all goals (month, quarter, year) for the authenticated tenant. mrrGoal is omitted entirely from the payload for non-admin users.



## OpenAPI

````yaml /generated/specs/finance.json get /api/v1/analytics/subscription-growth/goals
openapi: 3.0.0
info:
  title: Raul API - Finanzas
  description: >-
    Facturas, boletas, ejecuciones de billing, cuentas por pagar y medios de
    pago.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/analytics/subscription-growth/goals:
    get:
      tags:
        - Analytics - Dashboard
      summary: List dashboard subscription goals for a year
      description: >-
        Returns all goals (month, quarter, year) for the authenticated tenant.
        mrrGoal is omitted entirely from the payload for non-admin users.
      operationId: BusinessDashboardController_getDashboardGoals
      parameters:
        - name: year
          required: true
          in: query
          description: Año a listar
          schema:
            example: 2026
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardGoalsListResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    DashboardGoalsListResponseDto:
      type: object
      properties:
        year:
          type: number
        availability:
          type: string
          enum:
            - available
            - unavailable
        goals:
          type: array
          items:
            $ref: '#/components/schemas/DashboardGoalItemDto'
      required:
        - year
        - availability
        - goals
    DashboardGoalItemDto:
      type: object
      properties:
        year:
          type: number
        periodType:
          type: string
          enum:
            - month
            - quarter
            - year
        periodIndex:
          type: number
          description: 1..12 month, 1..4 quarter, 1 year
        netSubsGoal:
          type: number
          nullable: true
        mrrGoal:
          type: number
          nullable: true
          description: Sólo presente en respuestas para admin. OMITIDO para no-admin.
      required:
        - year
        - periodType
        - periodIndex
        - netSubsGoal
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.