Generate an API Key
Generate an API key to easily connect deepset AI Platform to your solution. You'll need it to use API endpoints or when working in an SDK.
About This Task
You can choose the permissions for the API key you're creating: its role and workspaces it can access.
Prerequisites
Learn about available roles and their permissions to choose the right one for your key. Check Managing Access.
Generate an API Key
In deepset AI Platform
-
Click your profile icon in the top right corner and select API Keys.
-
One the API Keys page, click Create API Key.
-
Configure the key:
- Give it a name. This is optional, if you don't type any name, the key ID is used.
- Set the expiration date.
- Assign a role to the key.
- Choose the workspaces this key can access. If you don't choose any, it will have access to all workspaces in the organization.
-
Click Create API Key.
-
Important: Copy and save your key; after you add it to deepset AI Platform, it remains masked.
-
Click Done.
Using REST API
Use the Create Token API endpoint to create your API keys.
Updated 1 day ago