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

# Get analytics

> Retrieve your pre-computed account's analytics (ARR, revenues, churn, etc).



## OpenAPI

````yaml get /v1/analytics
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/analytics:
    get:
      tags:
        - Reports > Analytics
      summary: Get analytics
      description: >-
        Retrieve your pre-computed account's analytics (ARR, revenues, churn,
        etc).
      operationId: getAnalytics
      parameters:
        - schema:
            type: string
            description: Invoicing Entity ID to filter analytics
            example: ive_47484fjdhy5
          required: false
          description: Invoicing Entity ID to filter analytics
          name: invoicing_entity_id
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  revenue_last_30_days:
                    type: number
                    description: >-
                      Revenue of the last 30 days. Expressed in the currency's
                      smallest unit.
                  churn_30_days:
                    type: number
                    description: >-
                      Churn of the last 30 days. Churn corresponds to the number
                      of customers who churned divided by the number of active
                      customers. A churned customer is one who had a
                      subscription but no longer has an active one.
                  churned_revenue_30_days:
                    type: number
                    description: >-
                      Revenue corresponding to the churn of the last 30 days.
                      Expressed in the currency's smallest unit.
                  arr:
                    type: number
                    description: >-
                      Computed live Annual Recurring Revenue. Expressed in the
                      currency's smallest unit.
                  mrr:
                    type: number
                    description: >-
                      Computed live Monthly Recurring Revenue. Expressed in the
                      currency's smallest unit.
                  pending_arr:
                    type: number
                    description: >-
                      Computed pending Annual Recurring Revenue. The sum of ARR
                      from all pending subscriptions. Expressed in the
                      currency's smallest unit.
                  active_arr:
                    type: number
                    description: >-
                      Computed pending Annual Recurring Revenue. The sum of ARR
                      from all active subscriptions. Expressed in the currency's
                      smallest unit.
                  arr_in_discounts:
                    type: number
                    description: >-
                      Annual Recurring Revenue currently under coupons.
                      Expressed in the currency's smallest unit.
                  fixed_arr:
                    type: number
                    description: >-
                      Computed live Annual Recurring Revenue without the
                      discounted amount (coupons). Expressed in the currency's
                      smallest unit.
                  active_customers:
                    type: number
                    description: Number of customers with an assigned subscriptions.
                  arpa:
                    type: number
                    description: Average Revenue Per Account (customer).
                required:
                  - revenue_last_30_days
                  - churn_30_days
                  - churned_revenue_30_days
                  - arr
                  - mrr
                  - pending_arr
                  - active_arr
                  - arr_in_discounts
                  - fixed_arr
                  - active_customers
                  - arpa
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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