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

# Budget and activity summary for the user's apps

> Spend against budget, last gateway access and 30-day request count for every app the authenticated user owns, in one call.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /common/apps/usage-summary
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /common/apps/usage-summary:
    get:
      tags:
        - common
      summary: Budget and activity summary for the user's apps
      description: >-
        Spend against budget, last gateway access and 30-day request count for
        every app the authenticated user owns, in one call.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.AppUsageSummaryResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
components:
  schemas:
    api.AppUsageSummaryResponse:
      type: object
      properties:
        data:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/api.AppUsageSummary'
        spend_tracked:
          type: boolean
          description: |-
            SpendTracked is false in Community Edition, where spending is not
            recorded and current_spend is always zero.
    api.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
      description: Error response model
    api.AppUsageSummary:
      type: object
      properties:
        app_id:
          type: string
        budget_start_date:
          type: string
          description: |-
            BudgetStartDate is the start of the current budget period, which
            CurrentSpend covers.
        currency:
          type: string
          description: >-
            Currency is the currency of CurrentSpend: a budget's currency is

            implied by its spend. When the period mixes currencies,

            MixedCurrencySpend has the spend by currency instead, CurrentSpend
            is

            0, and the budget refuses requests (costs are not converted).
        current_spend:
          type: number
        last_access_at:
          type: string
        mixed_currency_spend:
          type: object
          additionalProperties:
            type: number
        monthly_budget:
          type: number
        percentage:
          type: number
        requests_30d:
          type: integer

````