Skip to content

Why can I not create another API key in my account?

AISwapLab allows at most five active, unexpired keys per account. If you reach that limit, inventory current integrations and revoke a key that is genuinely no longer needed before creating another. Key creation also has a rate limit. Repeatedly creating credentials is not a fix for model availability, balance or request validation problems.

PROTECT KEYS AND ACCOUNT ACCESSAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Map keys to consumers; Retire one deliberate entry; Test the actual fault.
Workflow diagram: Map keys to consumers → Retire one deliberate entry → Test the actual fault. Read the article for evidence and limits.

An inventory is safer than guessing which key is unused

Names, prefixes, scopes, creation times and last-use information help associate credentials with applications. A missing recent use does not necessarily mean a scheduled worker is retired. Coordinate the replacement at the application level and preserve its outstanding task IDs before removing authentication access.

What to do next

  1. 01

    Map keys to consumers

    List each backend, scheduled worker or evaluation project and its intended model permissions. Identify duplicates and expired evaluation entries without copying any full secret into the inventory.

  2. 02

    Retire one deliberate entry

    Choose a key whose consumer has been stopped or migrated. Revoke that entry through the account controls and confirm the intended state before creating its replacement.

  3. 03

    Test the actual fault

    If the new key was intended to solve an error, reproduce the read-only connection check and inspect the original status. Avoid creating several more keys while the root cause remains unknown.

A concrete example

Illustrative diagnosis: a developer creates five keys while chasing a 400 error. All credentials work; the JSON field is invalid. Correcting the request resolves the issue, while unused evaluation keys can be retired deliberately.

Before you call it ready

  • Each active credential has a known purpose.
  • The intended consumer is migrated before revocation.
  • The original error is diagnosed independently.

When to stop or choose another method

If every key serves a necessary integration, redesign the credential allocation within the current limit. Do not borrow accounts or expose one shared secret to client devices as a workaround.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation