تصدیق اور billing
Authentication، API Key safety، usage billing اور quota guidance۔
Credentials server-side رکھیں اور حقیقی استعمال دیکھیں
ہر درخواست میں Bearer authentication استعمال کریں۔ Keys کو environment variable یا secret manager میں رکھیں اور موجودہ معلومات کے لیے console دیکھیں۔
- API Key کو browser code یا public repository میں ظاہر نہ کریں۔
- لیک ہونے والی Key کو فوراً revoke اور rotate کریں۔
- Billing اور quota کے لیے موجودہ console record کو source of truth سمجھیں۔
Authorization ہیڈر
http
Authorization: Bearer $GPT88_API_KEY
Content-Type: application/json