API Key Management

Secure, scalable API key management for programmatic access to AIM. Perfect for SDKs, CI/CD pipelines, and automated agent operations.

SHA-256
Hashed Storage
5K/min
Rate Limit
90 Days
Auto Rotation
Encrypted
At Rest & Transit

What are API Keys?

API keys are long-lived credentials for programmatic access to AIM. They're perfect for:

SDK Integration

Python, Node.js, Go SDKs authenticate using API keys for agent operations

CI/CD Pipelines

Automated deployments and agent registration in build pipelines

Server-to-Server

Backend services communicating with AIM without user interaction

Automation Scripts

Batch operations, monitoring scripts, and automated workflows

API Key Format

AIM API keys follow a structured format for easy identification:

ak_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ak_API Key prefix
live_Environment (live/test)
xxx...Random identifier

Quick Start: Using API Keys

1. Set Environment Variable

export AIM_API_KEY="ak_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

2. Make Authenticated Request

curl -H "X-API-Key: $AIM_API_KEY" https://aim.example.com/api/v1/agents

3. Handle Response

# Success (200 OK)
{
  "agents": [...],
  "total": 42
}

# Rate Limited (429)
{
  "error": "Rate limit exceeded",
  "retry_after": 60
}

🚀 Next Steps

Ready to start using API keys in your application?