API Keys
Create, rotate, and revoke project keys.
| Name | Prefix | Created | Last Used | Status | Actions |
|---|---|---|---|---|---|
| Production | layertao_live_51A9•••••••• | 2026-03-20 | 2 min ago | Active | |
| Staging | layertao_test_98DD•••••••• | 2026-03-18 | 1 hour ago | Active | |
| Data Pipeline | layertao_live_22KF•••••••• | 2026-03-15 | 2 days ago | Restricted |
Integration Example
Use your key in a normal HTTP request.
curl https://api.layer.dev/v1/chat \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "layer-chat-1",
"messages": [{"role": "user", "content": "Hello"}]
}'