chapters

Deterministic find/replace across one chapter or the whole manuscript

No AI rewrite -- a literal text substitution, not a regex. Story-wide replacements snapshot each affected chapter first so they stay undoable.

post/stories/{id}/manuscript/find-replace

Request

  • Base URL: https://aistoryhub.co/api/v1
  • URL: https://aistoryhub.co/api/v1/stories/{id}/manuscript/find-replace
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

findstring required
replacestring required
scope'chapter' | 'story' required
chapter_idstring uuid

Required when scope is "chapter".

case_sensitiveboolean
whole_wordboolean

Response

Match count and the chapters affected.

replacementsinteger
chapters_affectedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.