billing

Post Internal Training Usage

Charge a completed managed Flash training run using an explicit org id.

Machine-to-machine: the Flash control plane calls this after a run reaches done, authenticated with the operator internal key. The run is still charged idempotently by runId; the only difference from the user-key route is that the org is supplied by Flash's persisted non-secret billing context instead of being derived from a user API key.

post/api/billing/training-usage/internal

Request body

runIdstring required
costCentsinteger required
gpustring nullable
providerstring nullable
methodstring nullable
modelstring nullable
estimateobject nullable
orgIdstring required

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.