API Keys
Create and manage API keys for authenticating with Future AGI SDKs and APIs.
About
API keys authenticate your application with Future AGI. Each key pair consists of an API Key (FI_API_KEY) and a Secret Key (FI_SECRET_KEY). You need these to use the Python SDK, TypeScript SDK, or REST API.
Access: Owner only.
How to
Open Settings
Navigate to Settings > API Keys at https://app.futureagi.com/dashboard/settings/api_keys.
Create a new key
Click Add API Key. Enter a name for the key.
Copy your keys
Copy both the API Key and Secret Key. The Secret Key is only shown once at creation time.
Use in your application
Set them as environment variables.
import os
os.environ["FI_API_KEY"] = "YOUR_API_KEY"
os.environ["FI_SECRET_KEY"] = "YOUR_SECRET_KEY"process.env.FI_API_KEY = "YOUR_API_KEY";
process.env.FI_SECRET_KEY = "YOUR_SECRET_KEY"; Managing Keys
| Action | How |
|---|---|
| View keys | API Key is visible in the table. Secret Key is masked. |
| Copy a key | Click the copy icon next to the key. |
| Delete a key | Click the delete icon. This is permanent and cannot be undone. |
| Rotate keys | Delete the old key and create a new one. Update your application with the new credentials. |
Warning
Deleting a key immediately revokes access for any application using it. Make sure to update your code before deleting.
Tip
Never commit API keys to version control. Use environment variables or a secret manager.