cURL
curl --request POST \ --url https://server.codeium.com/api/v1/GetTeamCreditBalance \ --header 'Content-Type: application/json' \ --data ' { "service_key": "<string>" } '
{ "promptCreditsPerSeat": 123, "numSeats": 123, "addOnCreditsAvailable": 123, "addOnCreditsUsed": 123, "billingCycleStart": "<string>", "billingCycleEnd": "<string>" }
Retrieve the current credit balance for your team, including prompt credits per seat, add-on credits, and billing cycle information.
curl -X POST --header "Content-Type: application/json" \ --data '{ "service_key": "your_service_key_here" }' \ https://server.codeium.com/api/v1/GetTeamCreditBalance
{ "promptCreditsPerSeat": 500, "numSeats": 50, "addOnCreditsAvailable": 10000, "addOnCreditsUsed": 3500, "billingCycleStart": "2026-01-01T00:00:00Z", "billingCycleEnd": "2026-02-01T00:00:00Z" }