KosmoKrator

database

Baserow CLI for AI Agents

Use the Baserow CLI from KosmoKrator to call Baserow tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 4 read 3 write Bearer token auth

Baserow CLI Setup

Baserow can be configured headlessly with `kosmokrator integrations:configure baserow`.

# 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 baserow --set access_token="$BASEROW_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor baserow --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token BASEROW_ACCESS_TOKEN Secret secret yes Access Token
url BASEROW_URL URL url no Baserow API URL

Call Baserow Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call baserow.baserow_create_row '{
  "table_id": 1,
  "data": "example_data"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:baserow baserow_create_row '{
  "table_id": 1,
  "data": "example_data"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs baserow --json
kosmo integrations:docs baserow.baserow_create_row --json
kosmo integrations:schema baserow.baserow_create_row --json
kosmo integrations:search "Baserow" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Baserow.

baserow.baserow_create_row

Write write

Create a new row in a Baserow database table. Provide field data as a JSON object mapping field names to values.

Parameters
table_id, data

Generic CLI call

kosmo integrations:call baserow.baserow_create_row '{"table_id":1,"data":"example_data"}' --json

Provider shortcut

kosmo integrations:baserow baserow_create_row '{"table_id":1,"data":"example_data"}' --json

baserow.baserow_delete_row

Write write

Delete a row from a Baserow database table. This action is permanent and cannot be undone.

Parameters
table_id, row_id

Generic CLI call

kosmo integrations:call baserow.baserow_delete_row '{"table_id":1,"row_id":1}' --json

Provider shortcut

kosmo integrations:baserow baserow_delete_row '{"table_id":1,"row_id":1}' --json

baserow.baserow_get_current_user

Read read

Get the currently authenticated Baserow user profile. Returns user details including name, email, and workspace memberships.

Parameters
none

Generic CLI call

kosmo integrations:call baserow.baserow_get_current_user '{}' --json

Provider shortcut

kosmo integrations:baserow baserow_get_current_user '{}' --json

baserow.baserow_get_row

Read read

Get a single row from a Baserow database table by its row ID. Returns all field values for the row.

Parameters
table_id, row_id

Generic CLI call

kosmo integrations:call baserow.baserow_get_row '{"table_id":1,"row_id":1}' --json

Provider shortcut

kosmo integrations:baserow baserow_get_row '{"table_id":1,"row_id":1}' --json

baserow.baserow_list_databases

Read read

List all databases (applications) in the Baserow workspace. Returns database names, IDs, and types for navigation.

Parameters
page, size

Generic CLI call

kosmo integrations:call baserow.baserow_list_databases '{"page":1,"size":1}' --json

Provider shortcut

kosmo integrations:baserow baserow_list_databases '{"page":1,"size":1}' --json

baserow.baserow_list_tables

Read read

List rows in a Baserow database table. Supports pagination and optional filters to narrow results by field values.

Parameters
table_id, page, size, filters

Generic CLI call

kosmo integrations:call baserow.baserow_list_tables '{"table_id":1,"page":1,"size":1,"filters":"example_filters"}' --json

Provider shortcut

kosmo integrations:baserow baserow_list_tables '{"table_id":1,"page":1,"size":1,"filters":"example_filters"}' --json

baserow.baserow_update_row

Write write

Update an existing row in a Baserow database table. Provide field data as a JSON object with field names and new values. Only specified fields are updated.

Parameters
table_id, row_id, data

Generic CLI call

kosmo integrations:call baserow.baserow_update_row '{"table_id":1,"row_id":1,"data":"example_data"}' --json

Provider shortcut

kosmo integrations:baserow baserow_update_row '{"table_id":1,"row_id":1,"data":"example_data"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

baserow.baserow_create_row

Create a new row in a Baserow database table. Provide field data as a JSON object mapping field names to values.

Operation
Write write
Schema command
kosmo integrations:schema baserow.baserow_create_row --json
ParameterTypeRequiredDescription
table_id integer yes The Baserow table ID to create the row in.
data object yes Row data as a JSON object with field names (or field IDs) as keys and their values. Example: {"Name": "John", "Email": "[email protected]"}.

baserow.baserow_delete_row

Delete a row from a Baserow database table. This action is permanent and cannot be undone.

Operation
Write write
Schema command
kosmo integrations:schema baserow.baserow_delete_row --json
ParameterTypeRequiredDescription
table_id integer yes The Baserow table ID.
row_id integer yes The ID of the row to delete.

baserow.baserow_get_current_user

Get the currently authenticated Baserow user profile. Returns user details including name, email, and workspace memberships.

Operation
Read read
Schema command
kosmo integrations:schema baserow.baserow_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

baserow.baserow_get_row

Get a single row from a Baserow database table by its row ID. Returns all field values for the row.

Operation
Read read
Schema command
kosmo integrations:schema baserow.baserow_get_row --json
ParameterTypeRequiredDescription
table_id integer yes The Baserow table ID.
row_id integer yes The ID of the row to retrieve.

baserow.baserow_list_databases

List all databases (applications) in the Baserow workspace. Returns database names, IDs, and types for navigation.

Operation
Read read
Schema command
kosmo integrations:schema baserow.baserow_list_databases --json
ParameterTypeRequiredDescription
page integer no Page number (1-based). Defaults to 1.
size integer no Number of databases per page. Defaults to 100.

baserow.baserow_list_tables

List rows in a Baserow database table. Supports pagination and optional filters to narrow results by field values.

Operation
Read read
Schema command
kosmo integrations:schema baserow.baserow_list_tables --json
ParameterTypeRequiredDescription
table_id integer yes The Baserow table ID to list rows from.
page integer no Page number (1-based). Defaults to 1.
size integer no Number of rows per page. Defaults to 100.
filters object no Optional Baserow filter parameters as key-value pairs (e.g., {"search": "term"}, {"filter__field_1__equal": "value"}).

baserow.baserow_update_row

Update an existing row in a Baserow database table. Provide field data as a JSON object with field names and new values. Only specified fields are updated.

Operation
Write write
Schema command
kosmo integrations:schema baserow.baserow_update_row --json
ParameterTypeRequiredDescription
table_id integer yes The Baserow table ID.
row_id integer yes The ID of the row to update.
data object yes Updated field data as a JSON object with field names (or field IDs) as keys and their new values. Example: {"Name": "Jane", "Status": "Active"}.

Permissions

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.