Sequences

Improve Step Instruction

Rewrite a step's drafting instruction with a model. RUNS A MODEL per call.

Returns the improved instruction; nothing is saved. Send the current instruction as old_instruction so the rewrite keeps its intent.

post/sequencer/content/instructions/improve

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/sequencer/content/instructions/improve
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

user_instructionstring required

What the drafting agent should do, in the author's own words.

old_instructionstring nullable

The instruction being replaced, so the rewrite keeps its intent.

Response

Successful Response

dataSequencerPayload required

An open envelope around one sequencer record.

Open because templates, schedules and channels carry nested step data and configuration that grows as channels are added.

Changes

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