Edit a user's existing dashboard
For: the AI a user has authorized to edit one of their dashboards (Codex, Claude, WorkBuddy…).
Before you start
The user opens Edit with AI for this dashboard in Numable. Turning it on gives them three things: the dashboard id, an edit key (starting with nbc_), and a ready-made instruction to paste to you. The key can change only this one dashboard; the user can reset it anytime, and the old key stops working right away.
You edit an "upstream" copy: the user's devices pull it and apply it themselves. A new widget whose tool the user hasn't installed waits until the user approves the install on their phone. You can't see or change what the user records inside widgets, or any of their keys.
Three ways in (same result)
- Command line
export NUMABLE_BOARD_CHANNEL=<id> export NUMABLE_BOARD_TOKEN=<key> npx numable@latest board pull # current version → board.json (with editing notes) npx numable@latest catalog # widgets you can add, one per line # edit board.json npx numable@latest board validate board.json npx numable@latest board push board.json # writes against the rev in the file npx numable@latest board history - Remote MCP:
https://api.numable.app/mcpwith headerAuthorization: Bearer <key>. Tools:board_get·board_put·board_validate·board_history·catalog_search(find widgets by keyword) ·push_list·push_token·push_delete(push widgets — see "Push content to a push widget"). - HTTP: read with
GET /channels/<id>?meta=1(itscatalogfield gives the widget catalog address); write the wholeboard+itemswithPUT /channels/<id>and headerIf-Match: <rev you read>. SendAuthorization: Bearer <key>on both.
If you can't make network requests: reply with an edit link
For chat-only AIs such as web ChatGPT. The user taps “Copy for AI” in Numable; the text you receive lists the dashboard's current widgets (numbered in order) and a link template, with no key. Reply with one link. When the user opens or scans it, Numable shows the changes first and writes nothing until the user confirms.
https://get.numable.app/e#t=<board id>&v=<fingerprint>&i=<final widget list>&n=<new name>
- Copy
tandvexactly from the text.vis the dashboard's fingerprint when it was copied; if the user changes the dashboard afterwards, the link is refused and the user copies again. iis the final list, in the order you want, separated by commas:@3: keep widget #3 from the text;@3(city=Tokyo,lat=35.68,lon=139.69): keep it and change settings; an empty value (city=) restores the default;weather.now(city=Tokyo): add a widget, written likerefabove;- widgets not in the list are removed.
nis optional: a new dashboard name, up to 12 characters.- In setting values, write
, ( ) & # = %as%XX(a comma is%2C). - Parameter rules are the same as above: only fill parameters that have listed options or are marked fillable; leave out anything you're unsure of. Invalid items are skipped and the user is told why; the rest still apply.
- At most 16 new widgets per link.
- More changes in the same chat: each time, write the complete final list using the original numbers from the text, with the same
tandv. Write widgets you added earlier again (the same widget at the same occurrence is treated as the same one; changed params are updated); anything left out is removed, and an@numberremoved in an earlier round comes back if you write it again. If the user changes the dashboard by hand, older links are refused and the user copies again.
Example: move #2 to the top, change #1 to Tokyo, add a weather widget and remove the rest:
https://get.numable.app/e#t=01M6…&v=zwvoft&i=@2,@1(city=Tokyo,lat=35.68,lon=139.69),weather.now
Which widgets you can add
Only widgets of official tools. Look them up:
- MCP:
catalog_searchreturns ready-to-userefs and parameter notes for a keyword. - HTTP:
GET https://api.numable.app/catalog/widgets?format=compact(no key needed; for a mainland-China dashboard sendx-region: cn).ref= the entry'sdomain+.+widget; parameter notes shared by several widgets of one tool sit undertools[domain].params, and a widget's ownai.params[key]wins. - Command line:
npx numable@latest catalog(--grep wordto filter,--jsonfor everything).
meta=1 / board_get also include parameter notes for the widgets already on the dashboard — that's all you need when changing existing ones.
Region: the region returned by meta=1 / board_get is where this dashboard lives (cn = mainland China, overseas = everywhere else). Only widgets available in that region can be used. catalog_search and the catalog address are already filtered by it; if you read the catalog yourself, send x-region: cn only when region is cn.
Document shape
{
"rev": 3,
"board": { "name": "Markets", "icon": "chart", "layout": "auto", "cols": 0 },
"items": [
{ "key": "k8f2a", "bundle": "01KW…", "widget": "quote", "params": { "secid": "105.NVDA" } },
{ "ref": "weather.now" }
]
}
- Keep the
keyof every widget you change; to remove a widget, drop it fromitems; new widgets have nokeyand useref: "tool.widget". - Parameter values are strings only; if unsure, leave it out and the widget's default applies.
- Changing an existing widget's parameters (MCP / HTTP / CLI writes): put only the keys you change in
params; the rest keep their previous values; an empty string""restores the default. - Only parameters whose
kindisenum/auto/valuecan be changed;user,accountand the like are filled in by the user in the app and are rejected. Forenum, write a key fromvalues(the left side), not its description; parameters in agroupmust be written together. - JSON values need no encoding: separate several values with a plain comma (
"GC,SI,CL"), not%2C. - Dashboard names are at most 12 characters; an empty string shows the default name in the user's language.
- With
layout: "fixed"every widget needspos: {c, r}, without overlaps and withincols; withauto, don't writepos.
When something fails
- 412: someone changed it first (maybe the user on their phone). Read again and redo your change on the new version.
- 422: reasons per item;
#2means the third new widget:invalid_ref(bad form or not an official tool) ·widget_missing·param_unknown(the widget has no such parameter) ·param_not_allowed(this parameter can't be changed) ·param_group(these must be written together) ·params_changed(value not among the allowed options). The returneddetailnames the parameter (key), the allowed values (values) or the group (group) ·layout_invalid·unavailable_region. - 429: writing too often; wait a minute.
- 401 / 404 / 410: the key was reset, or the user turned off AI editing. Ask the user to send you the new instruction.