ModelSite
Getting Started

Get an API key

Create your first ModelSite API key in the console

Your API key is the single credential for calling the ModelSite API. Every request carries it in an HTTP header for authentication and billing.

Create an API key

Go to the console's API Keys page and click Add API Key.

Add a description

Give the key a recognizable description (e.g. "production-server"), then click Generate Key.

Copy it immediately

The full key is shown only once, at creation. Copy and store it right away — the list later shows only a masked version.

Use the API key

Put the key in an environment variable instead of hardcoding it:

export MODELSITE_API_KEY="ms_live_sk_xxxxxxxx"

Never commit an API key to a repository or expose it in a frontend. A leaked key creates security risk and financial loss.

Manage API keys

From the API Keys page you can:

  • Search — find by key ID
  • Edit — update the description
  • Delete — permanently remove (irreversible; apps using the key stop working immediately)

Lifetime

An API key remains valid until you manually delete it.

→ Next: Install an SDK, or go straight to Your first request.

On this page