Use the Builder.io CLI from KosmoKrator to call Builder.io tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Builder.io can be configured headlessly with `kosmokrator integrations:configure builder-io`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure builder-io --set api_key="$BUILDER_IO_API_KEY" --enable --read allow --write ask --jsonkosmokrator integrations:doctor builder-io --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
api_key
BUILDER_IO_API_KEY
Secret secret
yes
API Key
Call Builder.io Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Builder.io.
builder-io.builder_io_list_models
Read read
List all models in the Builder.io space. Optionally control pagination with limit and offset.
Returns model IDs, names, kinds, and metadata.
List content entries for a specific Builder.io model. Optionally control pagination
with limit and offset, or filter with a query string.
Returns entry IDs, names, and data.
Create a new content entry in Builder.io for a given model.
Provide the model name and a JSON object with the content data.
The entry is created as a draft by default.
List all symbols (reusable components) in the Builder.io space.
Optionally control pagination with limit and offset.
Returns symbol IDs, names, and metadata.
List content entries for a specific Builder.io model. Optionally control pagination
with limit and offset, or filter with a query string.
Returns entry IDs, names, and data.
Create a new content entry in Builder.io for a given model.
Provide the model name and a JSON object with the content data.
The entry is created as a draft by default.
The model name for the new content entry (e.g. "page", "blog-post").
name
string
yes
The name/title of the new content entry.
data
string
yes
JSON object of content data. E.g. {"blocks": [], "title": "My Page"}.
builder-io.builder_io_list_symbols
List all symbols (reusable components) in the Builder.io space.
Optionally control pagination with limit and offset.
Returns symbol IDs, names, and metadata.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.