Pay-per-event charge while the run is active
POST/api/v3/runs/:run/charge
Pay-per-event charge while the run is active (run token or owner): {event_name, count}; event_name follows the actor pricing rule (letters, digits, then also . _ -, up to 60) and may not be result_item (metered from the result count); answers { charged_event_counts }
Request
Responses
- 201
- 409
- 503
Charged
run_finished
charge_busy: other charges of the paying account held its charge lock too long; nothing was counted, send the same request (same Idempotency-Key) again after Retry-After (1 s)