Creating API Keys
API keys are created from the agntdata dashboard. Each key is associated with a workspace and shares that workspace’s credit balance.Log in to the Dashboard
Go to app.agntdata.dev and sign in to your account.
Create New Key
Click Create API Key, give it a descriptive name (e.g., “Production Server” or “Development”), and click Create.
Managing Keys
Viewing Keys
The API Keys page shows all keys for your workspace:| Column | Description |
|---|---|
| Name | The descriptive name you assigned |
| Created | When the key was created |
| Last Used | Most recent API call with this key |
| Status | Active or Revoked |
Revoking Keys
To revoke an API key:- Find the key in the API Keys list
- Click the Revoke button
- Confirm the action
Key Naming Best Practices
Use descriptive names that help you identify where each key is used:Good Names
Production API ServerDevelopment LocalCI/CD PipelineAnalytics Service
Avoid
Key 1TestMy Keyasdf
Multiple Keys
You can create multiple API keys for a single workspace. Common patterns:Environment Separation
Environment Separation
Create separate keys for development, staging, and production. This lets you revoke a compromised dev key without affecting production.
Service Isolation
Service Isolation
Give each service or application its own key. If one service is compromised, you can revoke just that key.
Team Members
Team Members
Create individual keys for team members during development. Revoke them when someone leaves the team.
Key Rotation
Periodically rotating API keys is a security best practice:Create New Key
Create a new API key with a descriptive name like “Production Server (Rotated April 2024)”.
Next Steps
Authentication Overview
Learn how authentication works with the API.
Quickstart
Make your first API request.