Replace a table-read screenplay exactly.
Creates a new revision from the supplied screenplay without an AI rewrite. The normal revision worker still parses the script, preserves existing voices where character names match, scores music and SFX, refreshes the stable share, and invalidates prior durable media. Set deferMusic=true when an operator will attach exact soundtrack clips through the music surface before finalizing; SFX generation still runs. Set deferAudioRender=true when the operator will run their own post-production and call POST /artifacts/{artifactId}/finalize later — without it the whole read is synthesised twice, once for a mix they discard. Season-run artifacts must use POST /season-runs/{runId}/advance with action=revise and screenplay so the durable episode state stays synchronized. It re-versions the read the way a refine does and costs the same (TABLE_READ_REFINE). TWO CALLS: a price and a spend are two calls. Sent without confirmed it returns the QUOTE and reserves and enqueues NOTHING ({ quotedOnly: true, credits, lines, balanceAfter, sufficient, note }); the same request with confirmed: true reserves exactly the quoted amount and returns { storyJob } to poll. Requires Idempotency-Key.
Request
- Base URL: https://docs.sleeperhit.studio/api/v1
- URL: https://docs.sleeperhit.studio/api/v1/artifacts/{artifactId}/script
- Auth: HTTP bearer
Headers
Customer-generated stable identifier for safe retries of idempotent POST requests.
Request body
Response
Without confirmed: the price (quotedOnly: true), nothing reserved or enqueued. With confirmed: true: the exact replacement job to poll until terminal.
Changes
No recorded changes to this operation across all 2 revisions of this API.