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

# Get plan template statistics

> Get usage and revenue statistics for a plan template: the number of client plans created from it and the total revenue (sum of succeeded charges, in cents).



## OpenAPI

````yaml https://api.halth.com/v1/api-yaml get /v1/organisations/{organisationId}/plans/templates/{planTemplateId}/statistics
openapi: 3.0.0
info:
  title: HaltH API
  description: The API for the HaltH platform business services
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.halth.com
    description: Production
  - url: https://api.stg.halth.com
    description: Staging
security: []
tags: []
paths:
  /v1/organisations/{organisationId}/plans/templates/{planTemplateId}/statistics:
    get:
      tags:
        - Plan Template
      summary: Get plan template statistics
      description: >-
        Get usage and revenue statistics for a plan template: the number of
        client plans created from it and the total revenue (sum of succeeded
        charges, in cents).
      operationId: PlanTemplateController_getStatistics
      parameters:
        - name: organisationId
          required: true
          in: path
          schema:
            type: string
        - name: planTemplateId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanTemplateStatistics'
components:
  schemas:
    PlanTemplateStatistics:
      type: object
      properties:
        usageCount:
          type: number
          description: Number of client plans created from this template.
        totalChargeAmount:
          type: number
          description: >-
            Total revenue generated by this template, in cents. Sum of succeeded
            charges across all client plans created from the template.
      required:
        - usageCount
        - totalChargeAmount

````