PendiumDocs

update_item

Edit a workflow row's seed fields — no LLM cost.

Edit the seed fields of one workflow row (item) that has not been generated yet — the idea text, target platform, content type, or template. Pass only the fields you want to change; omitted fields are left as-is.

This does not re-run the row. Call run_row afterwards to generate with the new seed.

Authentication: Required

Parameters

ParameterTypeRequiredDescription
workflowIdstringYesThe workflow the row belongs to. From create_workflow or list_workflows.
itemIdstringYesThe row to update. Ids come from add_workflow_ideas or the workflow UI.
ideaTextstringNoNew idea/title text for the row (up to 500 chars).
platformstringNoTarget platform for the row (e.g. blog, linkedin).
contentTypestringNoContent type for the row (e.g. blog_post, social_post).
templateTypestringNoTemplate the row should use when generated.

Behavior

No LLM cost. With no fields supplied the call is a silent no-op (the row's updated_at is still bumped). Editing a row that isn't part of workflowId returns a not-found error.

A row that has already been generated into a draft (it has an outline or post) is refused — editing its seed would leave the row's label out of sync with the content already produced, and a re-run won't regenerate the finished cells. Delete the row with delete_item and add a fresh one instead.

On this page