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

# Get Usage



## OpenAPI

````yaml get /v1/usage/
openapi: 3.0.2
info:
  title: Vocode Hosted API
  description: |2-

            Vocode's Hosted API helps you automate phone calls in minutes. 🚀

            ## Numbers

            You can buy phone lines and place agents on them.

            ## Calls

            You can start, end, and get information about calls.
            
  termsOfService: http://example.com/terms/
  contact:
    name: Support
    email: support@vocode.dev
  version: 1.0.0
servers:
  - url: https://api.vocode.dev
    description: Production environment
  - url: https://staging.vocode.dev
    description: Staging environment
security: []
tags:
  - name: numbers
    description: Operations with phone numbers.
  - name: calls
    description: Manage calls.
paths:
  /v1/usage/:
    get:
      tags:
        - usage
      summary: Get Usage
      operationId: get_usage
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
      security:
        - HTTPBearer: []
components:
  schemas:
    Usage:
      title: Usage
      required:
        - user_id
        - plan_type
        - monthly_usage_minutes
        - monthly_usage_limit_minutes
      type: object
      properties:
        user_id:
          title: User Id
          type: string
        plan_type:
          $ref: '#/components/schemas/PlanType'
        monthly_usage_minutes:
          title: Monthly Usage Minutes
          type: integer
        monthly_usage_limit_minutes:
          title: Monthly Usage Limit Minutes
          type: integer
    PlanType:
      title: PlanType
      enum:
        - free
        - developer
        - enterprise
      type: string
      description: An enumeration.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````