සත්‍යාපනය සහ 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