Get started
Create an API Key
Create a new API key to use Edgee services.
Open API Keys
In your Edgee Console, navigate to API Keys.
Create a new key
Click Create API key, give it a name (e.g., "Development"), optionally set an expiration and spending limit, then click Create key.
Copy your key
Copy the generated Gateway key and store it securely. Keep it separate from your personal Console API token and your provider credentials.
Test Your Key
Set the copied key in your terminal first, then send a small request:
export EDGEE_API_KEY="your-gateway-api-key"
curl https://edgee.io/v1/chat/completions \
-H "Authorization: Bearer $EDGEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Verify: the response contains a model answer. Open Logs in the same organization and find the request. If it fails, use the error message and Troubleshooting. For restrictions, expiration, and revocation, see Manage API keys.