whiteboards

dataToTable

Render tabular data as an aligned grid of labelled cells on a whiteboard, deterministically. Pass rows (an array of arrays) OR data (an array of objects), with optional headers; the server lays out evenly-spaced cells so you do NOT place each cell by hand. Use this to turn data, CSV, or JSON into a readable table on the board. Returns a compact summary. Auto-places below existing content unless x/y are given.

post/tools/dataToTable

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/dataToTable
  • Auth: HTTP bearer

Request body

projectIdstring

Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID.

documentIdstring required

The whiteboard's documentId.

dataobject[]

Alternative to rows: an array of objects; columns come from headers, or the first object's keys.

headersstring[]

Optional column headers (rendered as a styled header row). For data, also selects and orders the columns.

cellWidthnumber

Cell width in px, 60-400 (default 160).

cellHeightnumber

Cell height in px, 28-200 (default 40).

xnumber

Top-left x on the canvas. Omit to auto-place below existing content.

ynumber

Top-left y on the canvas. Omit to auto-place.

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

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