keyAPI Keys

Managing and using Mindee API keys.

Overview

triangle-exclamation

An organization can have multiple API keys.

Each API Key grants access to all models within the organization.

API Keys, unlike tokens, have an unlimited lifetime and must be manually revoked.

Key Creation

Before using the API, you'll need to create an API key.

To create an API Key on the Mindee Platform:

  1. On the left-hand menu, click "gear Settings", then go to the "API Keys" tab. Go to API Keys

  2. Click on the Create API Key button

  3. Give a name to your key. You'll typically want to name by environment, i.e. dev, staging, prod, &c

  4. Click Create API, you key is now ready for use.

  5. Your new key will be displayed, click Copy, and store your key somewhere safe. Copy the API key

circle-exclamation

Key Revocation/Deletion

You can revoke a key at any time by deleting it.

Once a key is deleted, it can never be recovered.

Any calls to Mindee made using a deleted key will result in a HTTP 401 error code.

To delete a key on the Mindee Platform:

  1. On the left-hand menu, click "gear Settings", then go to the "API Keys" tab. Go to API Keys

  2. Next to each key is a Delete button, click it.

  3. Click Delete in the confirmation dialog, your key is now revoked.

Using an API Key

When creating an API key, make sure to copy the key and store it somewhere safe.

You can then to use it when making API calls.

Take a look at the Initialize the Mindee Client section for more details.

Last updated

Was this helpful?