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

# Usage Summary



## OpenAPI

````yaml GET /analytics/usage
openapi: 3.1.0
info:
  title: Wardin API
  version: 1.0.0
  description: >-
    Wardin REST API — manage virtual keys, budgets, policies, and pull
    analytics.
  contact:
    name: Wardin Support
    url: https://wardin.ai
servers:
  - url: https://api.wardin.ai/v1
    description: Production
security:
  - BearerAuth: []
paths:
  /analytics/usage:
    get:
      tags:
        - Analytics
      summary: Usage summary
      operationId: getUsage
      parameters:
        - name: period
          in: query
          description: YYYY-MM
          schema:
            type: string
        - name: keyId
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalRequests:
                    type: integer
                  totalTokens:
                    type: integer
                  totalCostUsd:
                    type: number
                  cacheHitRate:
                    type: number
                  cacheSavingsUsd:
                    type: number
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: A `wardin_sk_` virtual key with manager-level access.

````