gatelineAPI reference

Mirrors seam.ts's DispatchOutcome.

interface DispatchOutcome {
    costUsd: null | number;
    error: null | string;
    fatal?: boolean;
    harvest?: null | { base: string; branch: string };
    ok: boolean;
    tokensIn: null | number;
    tokensOut: null | number;
}

Properties

costUsd: null | number
error: null | string
fatal?: boolean
harvest?: null | { base: string; branch: string }

Present when this dispatch harvested its work to a branch for the control plane to fold (ADR-3/ADR-4).

ok: boolean
tokensIn: null | number
tokensOut: null | number