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

# Get API key usage statistics

> Get usage statistics for an API key. Processors can only view stats for their own API key.



## OpenAPI

````yaml /olive-openapi.json get /api-keys/{id}/stats
openapi: 3.0.0
info:
  description: >-
    API Gateway for OLIVE NFC Card Payment System - Comprehensive payment, card
    management, agent operations, and admin authentication. All /api/v1 routes
    require authentication using either API Key or JWT token.
  title: OLIVE NFC Card Payment API
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    email: support@olive.sl
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://olive-gateway-a6ba.onrender.com/api/v1
security: []
paths:
  /api-keys/{id}/stats:
    get:
      tags:
        - API Keys
      summary: Get API key usage statistics
      description: >-
        Get usage statistics for an API key. Processors can only view stats for
        their own API key.
      parameters:
        - description: API Key ID
          name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: API key usage statistics
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      description: >-
        API Key for third-party integrations (WhatsApp, Smart PAY, VULT).
        Format: 'Bearer olive_live_xxxxxxxxxxxxx'
      type: apiKey
      name: Authorization
      in: header

````