A

API Keys

Manage API keys for programmatic access to AIForge.

Keep your API keys secure

Never share your API keys in public repositories or client-side code. Use environment variables to store keys securely.

NameKeyStatus
Production — Mobile App
af_live_sk...7x9m
active
Development — Web Dashboard
af_test_sk...3k2p
active
Staging — API Testing
af_test_sk...8n4w
active
Legacy — v1 Integration
af_live_sk...1q7r
revoked

Quick Start

curl -X POST https://api.aiforge.dev/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "forge-gpt-4",
    "messages": [
      {"role": "user", "content": "Hello, AIForge!"}
    ]
  }'