Interface RunUsage._FinalStage

  • All Known Implementing Classes:
    RunUsage.Builder
    Enclosing class:
    RunUsage

    public static interface RunUsage._FinalStage
    • Method Detail

      • totalCredits

        RunUsage._FinalStage totalCredits​(java.util.Optional<java.lang.Double> totalCredits)

        The total credits accounted for under this run, including any other runs it was responsible for creating. For example, an extract run on a fresh upload triggers a parse run, so totalCredits includes both line items. For runs that didn't trigger any other work — like parse_run, edit_run and workflow_runtotalCredits equals credits.

        Availability: Present on runs persisted on or after May 14, 2026. Runs persisted before that date will omit this field.

      • breakdown

        RunUsage._FinalStage breakdown​(java.util.Optional<java.util.List<RunUsageBreakdownEntry>> breakdown)

        The chargeable resources that make up totalCredits, including this run itself when it has its own line item. For workflow_run, lists every contributing child run sorted by creation time (the workflow itself isn't chargeable and has no line item).

        Availability: Present on runs persisted on or after May 14, 2026. Runs persisted before that date will omit this field.