Pitch Deck

Let the deck's automatic fixes try more (priced: one more allowance grant).

The render approval carries an automatic-fix allowance: the engine watches the 480p preview and retakes the shots its review flags, inside that ceiling, until the preview is clean or it stops short (GET /pitch-decks/{jobId}/chapters autoFix: state: stopped, stopReason, stoppedBecause). When it stopped for want of credits or rounds, or because a flagged shot reached its tries, autoFix.moreFixes offers ONE MORE GRANT and verdict.choices carries more_fixes. METERED, TWO CALLS: without confirmed it PRICES the grant and reserves nothing (quotedOnly: true, credits, costLabel, balanceAfter, sufficient, note; when sufficient is false do not confirm); with confirmed: true it reserves it, raises the loop's caps (a round of fixes and a try per shot more) and the loop answers the same review again (quotedOnly: false, queued: true, message, autoFix). Only what the fixes draw is charged; the rest comes back when the loop stops. Refused with 409 pitch_deck_state_invalid (details.refusal.code: auto_fix_not_in_review, auto_fix_nothing_more — still fixing, or nothing a new take or a text render would fix: finish anyway instead — auto_fix_already_running), 402 when the balance cannot hold the grant. Review only. Requires Idempotency-Key. Scope: artifact:publish.

post/pitch-decks/{jobId}/more-fixes

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/pitch-decks/{jobId}/more-fixes
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Customer-generated stable identifier for safe retries of idempotent POST requests.

Request body

confirmedboolean

Omit (or false) to get the price WITHOUT spending anything. Send true only after the writer has seen that price and said go.

Response

The price of one more grant, or the grant reserved and the loop running again.

quotedOnlyboolean required
queuedboolean

Confirmed call only.

jobIdstring required
creditsinteger required

What the grant holds: only what the fixes draw is charged.

costLabelstring nullable

Quote only.

balanceAfterinteger

Quote only. Studio Credits the writer would have left once this is spent: the balance available now (as Billing shows it) minus the price. Negative means they are that many short.

sufficientboolean

Quote only. True when the available balance covers the price. False means the writer must top up first (the note names the Billing link) — do not confirm; the reserve would refuse.

notestring

Quote only: the price in the writer's own words.

messagestring

Confirmed call only.

Changes

No recorded changes to this operation across all 2 revisions of this API.