ai

Edit Diagram

Live co-editing: apply a chat instruction to the current board.

An optional model in the body selects the pool model for this chat session; the service whitelists it (claude-; legacy databricks- values are mapped) and otherwise falls back to the edit default.

mode ("edit" default | "ask") picks co-editing vs consultant answers. Both flow through the SAME up-front ✦ charge below (action "edit_diagram", effort multiplier included) — ask mode must never become a free bypass of the credit wallet.

post/api/ai/edit-diagram

Request

  • Base URL: https://board.noddle.dev (the document declares no server; this is the origin it was published from)
  • URL: https://board.noddle.dev/api/ai/edit-diagram
  • Auth: none declared

Request body

instructionstring required
diagramobject required
historyobject[]
mode'edit' | 'ask'
palettestring
doc_idstring
imagestring nullable

Response

Successful Response

object required

Changes

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