Skip to main content
An API key identifies your model requests to NexusAPI.

Create a key

  1. Sign in to the NexusAPI console.
  2. Open Token Management or API Key Management.
  3. Select Add token.
  4. Give the token a recognizable name.
  5. Choose a token group.
  6. Set an appropriate limit or restriction for its purpose.
  7. Submit, then copy the generated API key.

Use the key

Send the key in the Authorization header:

Keep it safe

  • Never commit an API key to a public repository.
  • Do not share a full key in screenshots, support tickets, or chat logs.
  • Use a separate key for each project, person, and environment.
  • In production, load it from environment variables or a secret manager instead of source code.
  • Review usage logs regularly. Disable a key immediately if you see unexpected use.
  • If a key may be exposed, disable or delete it first, create a replacement, and update the affected applications.

API key and other credentials

Treat the system access token as a secret too. Do not put either credential in a URL query string or send it in full to support.