Skip to content
English
  • There are no suggestions because the search field is empty.

Manage API Keys

This section details the instructions to create, edit, and delete API keys and assign resources to API keys.

Create API Keys

To use Compass APIs, you need an API key and an active resource.

To create an API key:

  1. Log in to your account.

  2. Click Profile icon > API Keys.

    api-key
  3. Click Create.

  4. Enter the details provided as a reference below: In the Key Name field,

 
 
 

Field

 

Description

 

Name

Name of the API key. Ensure the key name does not have any special characters or spaces.

Select Resources

Resource to assign the API Key.
Note: When assigning resources, if an API key is associated with a model that uses one type of resource, such as TPM, then the same API key cannot be associated with the same model that uses a different resource type, such as PYG (Pay-As-You-Go).

Department Name

(Optional) Department to which the user belongs.

Environment

(Optional) The environment in which the user is requesting the API key.

Requestor

(Optional) User requesting the API key.

App ID

(Optional) App name. Only applicable to API, use the exact name.

Business Justification

(Optional) Reason for requesting the API key.

Notes

(Optional) Any additional information to add.

Notify via Email

(Optional) The user’s email address to receive the new API key.

 
 
 
  1. Click Create.

     apikey-success

     

The API key has been generated successfully. Please copy the API key to a safe place.

 

Note: You can view the API key only once when you generate it. The Compass team recommends storing this API key securely in your local system. If you do not store it or lose it, you can generate a new API key by following the steps above.

You will be able to use the API keys only with an active resource to the AI models.

You can create multiple API keys by following the above steps.

Note: For Administrator API Key, Write to the Compass Support Team, compass.support@core42.ai.

Assign Resources to API Keys

To assign the API key to a resource:

  1. In the Resources column, click Assign Resource in the API key row you want to assign.

    api-keys

     

  2. Select the resources you want to associate with the API key and click Associate.

     assign-resource

    The API key is assigned to the selected resources.

 resource-assigned
 

Note: When assigning resources, if an API key is associated with a model of one type of resource, such as TPM, then the same API key cannot be associated with the same model having a different resource type, such as PYG.

Edit the Assigned Resources

To edit the assigned resources of an API key:

  1. In the Resources column, click the resources of the API key.

  2. In the pop-up window, select a new resource or unselect the existing resource to remove from the API key, and click Associate.

     

    edit-resource 

The changes will be applied to the resources.

 final-resources

Edit API Key

To edit the API key name:

  1. Click the three dots against the API key you want to edit and select Edit.

  2. In the pop-up window, edit the details, and click Save.

    edit-apikey-savve

 

Delete API Key

To delete the API key:

  1. Click the three dots against the API Key you want to delete and select Remove.

    edit-apikey
  2. Click Delete to confirm the deletion.

     delete-apikey

The API key will be removed from your list.