StableData binding
API results
Overview
The response of one of your API sources, used as the data of a table, list or cards.
Purpose
Display data that lives elsewhere — products from your web shop, slots from a booking engine, tickets from a help desk — without copying it into your database.
Inputs
- Data Picker group API results: one entry per API source. Optionally a path into the response (
data.items) when the API's own Response path is not set.
Configuration
- The API must allow calls from published apps and is called with no parameters when used as a data source; for parameters use the Call API action and state.
- Results are cached for 30 seconds.
Outputs
- A list of rows: arrays become rows (each row gets an
idfrom itsidfield or its position); a single object becomes one row. Fields of each row are available as Current record inside the component.
Example
Products from the shop API
Example
Table · Data: API results › Shop products (path: items) Columns: Current record › name, Current record › price
Errors
- API errors (status, timeout, missing secret) show in the component's error state.
Limitations
- Works as a component data source only; as a text binding it prints nothing. Rows are read-only (no inline edit, no Update record on them unless you map ids yourself).
Advanced
{ type: "api", apiSourceId, path? }.useCollectionposts to/api/runtime/<project>/api/<source>with empty params;getByPath(data, path)then normalises to rows.