analytics
Klipfolio CLI for Headless Automation
Use the Klipfolio CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Klipfolio CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Klipfolio CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Klipfolio CLI for Headless Automation
kosmokrator integrations:configure klipfolio --set access_token="$KLIPFOLIO_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call klipfolio.klipfolio_list_dashboards '{"limit":1,"page":1}' --json Discovery Before Execution
Agents and scripts can inspect Klipfolio docs and schemas before choosing a function.
kosmo integrations:docs klipfolio --json
kosmo integrations:docs klipfolio.klipfolio_list_dashboards --json
kosmo integrations:schema klipfolio.klipfolio_list_dashboards --json
kosmo integrations:search "Klipfolio" --json
kosmo integrations:list --json Useful Klipfolio CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
klipfolio.klipfolio_list_dashboards | Read | limit, page | List all dashboards accessible to the authenticated user in Klipfolio. Returns dashboard IDs, names, and metadata. |
klipfolio.klipfolio_get_dashboard | Read | id | Get details for a specific Klipfolio dashboard by ID, including its layout, Klips, and sharing settings. |
klipfolio.klipfolio_list_metrics | Read | limit, page | List all metrics accessible to the authenticated user in Klipfolio. Returns metric IDs, names, and associated data sources. |
klipfolio.klipfolio_get_metric | Read | id | Get details for a specific Klipfolio metric by ID, including its formula, data bindings, and formatting. |
klipfolio.klipfolio_list_datasources | Read | limit, page | List all data sources accessible to the authenticated user in Klipfolio. Returns data source IDs, names, and connector types. |
klipfolio.klipfolio_get_datasource | Read | id | Get details for a specific Klipfolio data source by ID, including its connector type, refresh settings, and configuration. |
klipfolio.klipfolio_get_current_user | Read | none | Get the authenticated Klipfolio user's profile information, including name, email, and role. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.