πŸ‘¨πŸ»β€πŸ’» Monitoring API Keys and Usage

The Token Metrics platform provides detailed tools to monitor your API keys and track usage patterns. This guide explains how to check key status, view usage history, and manage your API consumption effectively.


πŸ“ˆ API Key Status Monitoring

The API Keys dashboard provides a comprehensive view of all your API keys and their current status.


πŸ“Š Usage Dashboard Monitoring

The API Usage Dashboard provides comprehensive metrics to track your API consumption and activity patterns.

Accessing the API Dashboard

To view detailed usage statistics:

  1. Log in to your Token Metrics account
  2. Navigate to app.tokenmetrics.com/en/api
  3. Review the key metrics displayed on this page

Key Dashboard Metrics

The dashboard presents several important metrics that help you monitor your API usage:

  1. API Calls Graph: Visual chart showing your daily API call volume, helping you identify usage patterns and trends over time

  2. Total Monthly API Calls: Shows your current usage against your monthly allocation, for e.g:

    20,000/20,000
    

    This includes the reset date information, so you know when your quota will refresh

  3. Remaining Monthly API Calls: Displays how many API requests you have left in your current billing cycle, for e.g:

    (will reset on 06-01-2025)
    5000
    
  4. API Call Statistics Table: Detailed breakdown of your recent API requests with the following information:

    • API Name: The endpoint name that was accessed
    • End Point: The specific endpoint path that was accessed
    • Time: Exact timestamp of the request
    • IP Address: Origin of the request
    • Status Code: HTTP response status (200 = Success, 400s = Client errors, etc.)

πŸ”Ž

Usage Insight: The API Call Statistics table is invaluable for debugging issues with specific endpoints or identifying unusual activity patterns that might indicate unauthorized use.


πŸ”‘ API Key Usage

Each API key's usage can be monitored from the API Keys section.

Viewing Key Status and Activity

Navigate to app.tokenmetrics.com/en/api to access your API Keys dashboard. This interface provides important information about each of your API keys:

ColumnDescription
NameThe descriptive name you assigned to the API key
Created DateWhen the key was initially generated
Last UsedTimestamp of the most recent request made with this key
StatusWhether the key is currently active (toggleable)
ActionsOptions to delete the key (trash icon)

The Last Used column is particularly valuable as it helps you identify:

  • Which keys are actively being used in your applications
  • When the most recent activity occurred for each key
  • Potentially unused or forgotten keys that could be security risks