The prefix is an identifier, not an authentication value
The key list deliberately shows a short prefix instead of the full credential. Copying that prefix into Authorization will fail. A saved account password is also not an API key. Treat creating the replacement as a controlled configuration change, especially if several server processes might already reference the lost credential.
What to do next
- 01
Identify the correct entry
Open account API keys and compare the name, creation time and visible prefix. Avoid revoking another application's active key merely because the secret is hidden there too.
- 02
Replace only what is needed
Revoke the lost entry, then create a clearly named replacement with the narrow model permissions and suitable expiry. Copy the new secret directly into your approved secret storage.
- 03
Verify without spending
Update the affected server configuration and call GET /models. A successful read confirms that the replacement credential is loaded without generating another image or video.
A concrete example
Illustrative mistake: a developer saves only the displayed prefix after dismissing the creation dialog. The prefix cannot be expanded into the original secret; replacement is the practical recovery path, and the unused old credential should not remain active.
Before you call it ready
- The intended old entry is identified.
- The new secret is stored once in private configuration.
- A read-only authenticated request succeeds.
When to stop or choose another method
If ownership of a key is unclear, inventory the applications before revoking it. Do not paste candidate secrets into public tools or support messages to determine which one works.
