API Keys
Keys authenticate every request to the gateway. Give each environment its own key so usage and revocation stay separable.
Issued keys
Revoked keys stop authenticating immediately. Rotation issues a new value under the same name.
| Name | Key | Requests | Created | Last used | Status | |
|---|---|---|---|---|---|---|
| ProductionFull access | prby_••••••••••4f92 | 184,203 | Jun 14, 2026 | 2 minutes ago | Active | |
| StagingInference only | prby_••••••••••8c17 | 20,418 | Jul 02, 2026 | 4 hours ago | Active | |
| Analytics readerRead only | prby_••••••••••1a63 | 3,092 | Aug 11, 2026 | Yesterday | Active | |
| Legacy workerFull access | prby_••••••••••77de | 91,880 | Feb 28, 2026 | Mar 19, 2026 | Revoked |
- ProductionActive
prby_••••••••••4f92· Full access · 2 minutes ago - StagingActive
prby_••••••••••8c17· Inference only · 4 hours ago - Analytics readerActive
prby_••••••••••1a63· Read only · Yesterday - Legacy workerRevoked
prby_••••••••••77de· Full access · Mar 19, 2026
Using a key
Send the key as a bearer token. Never expose it in client-side code.
Request headers
curl https://api.prbycode.com/v1/chat/completions \
-H "Authorization: Bearer $PRBYCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "glm-5.3-flash", "messages": [{ "role": "user", "content": "Hello" }] }'