billing

Post Debit

Frontend dialog flow uses this to debit the prepaid balance (the flat run fee) before the run row is inserted. The training-agent claim path bills the same fee via routes/training_internal.py (debit_for_run), not through this route.

post/api/billing/debit

Request body

orgIdstring required
runIdstring nullable

Response

Successful Response

object required

Changes