1 minute readFixedAgent-ready
Distinguish prepaid calls in usage records
Usage records identify calls paid through pay-per-call payments, a day pass or prepaid balance.
Usage records mark payments through paid_via, including x402, day_pass and balance. Paid calls still count as requests and remain visible in usage history.
Use that payment status to distinguish recorded compute cost from a payment still due. An unmarked usage event is not itself an invoice or proof that the workspace has been charged.