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

# Get App Storage Usage



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/morphik/openapi.documented.yml get /usage/app-storage
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /usage/app-storage:
    get:
      tags:
        - Usage
      summary: Get App Storage Usage
      operationId: get_app_storage_usage_usage_app_storage_get
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppStorageUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Morphik from 'morphik';


            const client = new Morphik({
              apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
            });


            const appStorageUsageResponse = await
            client.usage.appStorageUsage();


            console.log(appStorageUsageResponse.app_id);
        - lang: cURL
          source: |-
            curl https://api.morphik.ai/usage/app-storage \
                -H "Authorization: Bearer $MORPHIK_API_KEY"
components:
  schemas:
    AppStorageUsageResponse:
      properties:
        app_id:
          type: string
          title: App Id
        doc_raw_bytes_mb:
          type: number
          title: Doc Raw Bytes Mb
        chunk_raw_bytes_mb:
          type: number
          title: Chunk Raw Bytes Mb
        multivector_mb:
          type: number
          title: Multivector Mb
        total_mb:
          type: number
          title: Total Mb
        document_count:
          type: integer
          title: Document Count
      type: object
      required:
        - app_id
        - doc_raw_bytes_mb
        - chunk_raw_bytes_mb
        - multivector_mb
        - total_mb
        - document_count
      title: AppStorageUsageResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````