Revise2 Text

Window-cached revise: the request carries a window of consecutive document nodes plus the id of the one node to revise. Everything shared by the window (persona, rule, the nodes themselves) lives in the system prompt so that the ~16 sequential requests against the same window hit the provider prompt cache; only the tiny user message changes per request.

post/revise2_text

Request

  • Base URL
    https://api.yomu.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header ACCESS_TOKEN

Request body

target_node_idstring required
planstring nullable
words_usedinteger nullable
prefer_gptstring nullable
rule_namestring nullable
promptstring nullable
strength'light' | 'medium' | 'strong' nullable
positive_examplesstring[] nullable
negative_examplesstring[] nullable
descriptionstring nullable
languagestring nullable
streamboolean nullable

Response

Successful Response

unknown required

Changes

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