Billing

Wallet balance + most recent billing rows

Changed on

Return the wallet's current balance and most recent billing rows.

All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard's Billing History tab reads. Sorted by lastBilledAt desc.

get/api/v1/billing/wallet

Request

  • Base URL
    https://api.primeintellect.ai
  • Auth
    HTTP bearer

Query parameters

limitinteger

Number of recent billing rows to include (max 100).

offsetinteger

Skip this many rows before returning. Lets callers page.

teamIdstring nullable

If provided, return the team's wallet (requires membership).

Response

Successful Response

wallet_idstring required
team_idstring nullable
balance_usdnumber required

Current balance in USD

currencystring required
total_billingsinteger required

Total billing rows on the wallet (across all pages)

sandbox_credits_remaining_usdnumber

Sum of remaining sandbox-category grant credits in USD, snapshot

credits_remaining_by_categoryobject

Remaining grant credits in USD per category (sandboxes, training, inference), snapshot

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added