Generate or refresh the project Series Bible.
Writes the Series Bible from the project, sources, plans, scripts, existing document, and optional instructions using the DB sidecar story_api_series_bible. Use this when the full bible is missing or incomplete before screenplay generation. It returns at once with status: "generating" and writes the Bible in the background (usually a minute or two). Check back with get_series_bible: its generation.status is generating until the new Bible is saved, then ready (with gateChange), or failed with the reason in generation.error. The Bible already saved stays readable, unchanged, until then. Asking again while one is being written returns that one, never a second. Free. For a product project (kind: product) the same request writes the product Bible, from what Sleeper learned on the product's public site (learn the product from its site first) and the founder's decisions in the claims ledger: the value promise, personas, positioning, a feature map with each feature's availability and the pages it rests on, the call to action, what may never be claimed, compliance and the brand kit. A feature is never shown as more available than its evidence (the inventory feature it names or was split from; one the site does not list is at most planned, else unknown), a feature split from an inventory feature is also no more available than the features on the pages it cites, an evidence id must name a page that was read or a confirmed claim, and every rejected claim is written into "do not claim" and every sentence elsewhere in the Bible that states it is struck (matched on its words: a paraphrase in other words is not caught, so read the Bible before you use it). Requires Idempotency-Key.
Request
- Base URL: https://docs.sleeperhit.studio/api/v1
- URL: https://docs.sleeperhit.studio/api/v1/story-projects/{projectId}/series-bible
- Auth: HTTP bearer
Headers
Customer-generated stable identifier for safe retries of idempotent POST requests.
Request body
Response
The run writing the Bible, at once: status: "generating". Read the Bible (GET) for generation until it is ready or failed.
Changes
No recorded changes to this operation across all 1 revision of this API.