Rewrite one item from an instruction
POST /boards/{boardId}/ai/modify
Mida rewrites a frame in place, as the component's own "modify with AI" does. One item per call.
Authorization
AuthorizationstringheaderrequiredBearer <key>. The key needs ai:generate and boards:write scopes. Create and manage keys in the developer console; what each scope unlocks is on the scopes page.
Path parameters
boardIdstringpathrequiredHeaders
Idempotency-KeystringheaderA unique key per logical request. Replays within 24 hours return the original response.
Body
itemIdstringrequiredinstructionstringrequiredwithImagesbooleanResponse
idstringkindenum<string>One of item.create, item.update, item.delete, item.batch, ai.generate, ai.modify or skill.apply.
statusenum<string>One of queued, running, succeeded or failed.
progressintegermessagestringHuman readable progress, for example "Placing kanban".
resultobject | nullChild attributes
itemIdsstring[]updatedstring[]deletedstring[]creditsUsedintegerboardTitlestring | nullskillstring | nullconvertedFromstringsourceDeletedbooleanerrorerrorChild attributes
codeenum<string>requiredOne of unauthorized, forbidden, not_found, validation_failed, conflict, plan_limit, rate_limited or internal.
messagestringrequireddetailsobject[]docsUrlstringupgradeUrlstringcreatedAtstringfinishedAtstring | nullErrors
plan_limitThe workspace plan does not allow this, or AI credits are exhausted.
rate_limitedToo many requests.