Body of a POST /v1/chat/runs/:id/confirm-cost call. Resumes a run that paused with run_awaiting_cost_confirmation.

interface ConfirmChatRunCostParams {
    decision: "confirm" | "cancel";
    overrides?: Record<string, unknown>;
    reason?: string;
    toolCallId: string;
}

Properties

decision: "confirm" | "cancel"

Whether the caller approves the job.

overrides?: Record<string, unknown>

Optional override args the caller adjusted in the modal.

reason?: string

Optional reason carried into audit logs.

toolCallId: string

Tool call id surfaced in the awaiting event.