All API HubAll API Hub
Homepage
Getting Started
Frequently Asked Questions
Changelog
  • 简体中文
  • English
  • 日本語
Homepage
Getting Started
Frequently Asked Questions
Changelog
  • 简体中文
  • English
  • 日本語
  • 🚀 Getting Started

    • Getting Started
    • Permission Management (Optional Permissions)
    • Safari Extension Installation Guide
    • Installation Guide for QQ / 360 and Other Browsers
  • 🔑 Accounts & Credentials

    • Account Management
    • API Credentials
    • Key Management
    • Bookmark Management
    • Sorting Priority Settings
  • 📊 Analytics & Dashboard

    • Balance History
    • Usage Analysis
    • Share Snapshot
    • Model List and Price Comparison
    • Automatic Refresh and Real-time Data
  • 🤖 Automation Helpers

    • Automatic Check-in and Check-in Monitoring
    • Redemption Assist
    • Web AI API Sniffing and Verification
    • Cloudflare Shield Bypass Assistant
  • 🔌 Ecosystem & Integrations

    • Supported Site List
    • LDOH Site Lookup
    • Supported Export Tools List
    • Quick Export Site Configuration
    • CLIProxyAPI Integration and One-Click Import
  • 🛠️ Admin Management

    • Managed Site Model Sync
    • Self-Hosted Site Management
    • Model Redirect
    • New API Security Verification
  • 🛡️ Data & Support

    • Data Import and Export
    • WebDAV Backup and Automatic Synchronization
    • All API Hub Privacy Policy
    • Troubleshooting Guide for Auto-Identification
    • Developer & Advanced Tools
    • Frequently Asked Questions
  • Changelog

Key Management

Key Management allows you to centrally view and manage all API keys (Tokens) under your added accounts. For New API-based sites, the extension can automatically sync tokens created in the site backend and supports one-click repair, verification, and export.

Use Cases

  • You have created many tokens across multiple relay stations and want to search or batch export them in one place without logging into each backend.
  • Some sites only show the token once upon creation and hide it thereafter; the extension can help you record and "repair" these invisible keys.
  • You need to verify if a specific token under an account is still valid or compatible with CLI tools.
  • You want to quickly save tokens from an account to API Credentials for more granular tagging and management.

Features at a Glance

  • Centralized Token List: Group by account or view all tokens; search by name or key content.
  • Auto Sync & Refresh: For supported sites (like New API), pull the latest token list automatically.
  • Key Repair: For sites that hide full keys (showing sk-***...), use management permissions to re-fetch or regenerate full keys.
  • Health Verification: Real-time view of token balance, usage, and expiration status.
  • Export Integration: One-click sync of single or multiple tokens to popular AI tools.

How to Access

  1. Open the extension settings page.
  2. Select Key Management from the left menu.

Core Operations

1. Auto Refresh Token List

Click the Refresh button at the top of the Key Management page. The extension will connect to the backend API of the selected account to pull the latest tokens and their status (balance, usage, expiry).

2. Repair Missing Keys

Some sites hide full keys for security. If you have configured management permissions or a management account in the extension:

  1. Click Repair Missing Keys at the top.
  2. The extension will iterate through the list and attempt to complete invisible full keys via the management API.
  3. Repaired keys are stored safely in local storage for future copying or export.

3. Verification & Health Check

Each token card displays its current "Health Status":

  • Balance/Usage: Real-time quota information fetched from the site.
  • Verify API: Trigger a manual API call test to confirm the key is usable.
  • Verify CLI Compatibility: Test if the token works correctly in specific CLI environments.

4. Export to Other Tools

Click the Export button next to a token to sync it to:

  • CherryStudio
  • CC Switch
  • Kilo Code
  • CLIProxyAPI
  • Claude Code Router
  • Your configured Self-hosted Managed Sites

Integration with Credentials

If you find a token particularly useful or want to add detailed notes and tags, click Save to API Credentials. This copies the URL + Key pair to the API Credentials module.

FAQ

QuestionAnswer
Why can't I see the full key?The site backend might have disabled key echo; try the "Repair" feature (requires appropriate permissions).
Which sites are supported?Currently, New API and its variants (DoneHub, Veloera, etc.) have the most complete support.
Does deleting a token here remove it from the site?No. Deleting here only removes it from the local extension cache; it does not affect your online account.
How secure are my keys?All keys are stored encrypted in the browser's local storage. They never leave your device unless you manually export them or configure WebDAV sync.

Related Documentation

  • API Credentials
  • Supported Sites
  • Data Management
Last Updated: 5/3/26, 7:12 PM
Contributors: anime, github-actions[bot], qixing-jk
Prev
API Credentials
Next
Bookmark Management