Skip to main content

Usage

Syntax​

kobana <product> <resource> <method> [flags]
  • <product> — banking, finance, billing, inbox, dunning or dashboards.
  • <resource> — can be nested: entities, entities records, builder tools create-page.
  • <method> — the action: list, get, create, update, delete, or an action specific to the resource (sync, rotate, verify...).

The API version never appears in the command — the CLI resolves the URL from the embedded OpenAPI spec.

Path, query and header parameters (such as X-Workspace-Id) go in --params; the request body goes in --json.

The whole surface is discoverable through --help, at every level:

kobana --help # products
kobana dashboards --help # Magic Dashboard resources
kobana dashboards entities --help # a resource's methods

dashboards resources​

ResourceDescription
data-sourcesData sources
entitiesEntities
workspacesWorkspaces
builderPortal builder
portal-settingsPortal settings
portal-custom-domainsCustom domains
portal-oauth-providersOIDC providers
portal-usersPortal users
portal-user-mappingsPortal user mapping
checklistsChecklists
commentsComments
assetsAssets
asset-typesAsset types
email-templatesEmail templates
email-layoutsEmail layouts
notificationsNotifications
webhooksWebhooks
webhook-deliveriesWebhook deliveries
eventsEvents
api-keysAPI keys
dashboard-usersMembers
team-rolesRoles
permissionsPermissions
organizationOrganization
settingsSettings
meToken identity
usageUsage
ai-usageAI usage
rate-limitsRate limits
audit-logsAudit logs
exportsExports
importsImports
backupsBackups
data-purgesData purge
maintenanceMaintenance

Each resource has a page of its own, with the full command table and examples — see the catalogue.

Examples​

# Data sources and the state of each one
kobana dashboards data-sources list --fields "id,name,kind,status,last_synced_at"

# Sync a data source now
kobana dashboards data-sources sync --dry-run --params '{"id": "DATA_SOURCE_ID"}'

# An entity's records, latest due date first
kobana dashboards entities records list \
--params '{"id": "ENTITY_ID", "limit": 100, "sort": "due_date:desc"}'

# Portal users of another workspace
kobana dashboards portal-users list \
--params '{"X-Workspace-Id": "WORKSPACE_ID"}' \
--fields "id,email,tenant_id,status"

# List with automatic pagination (NDJSON)
kobana dashboards portal-users list --page-all --fields "id,email,tenant_id"

# Table output
kobana dashboards workspaces list --output-format table

# Save the response to a file
kobana dashboards workspaces export --params '{"id": "WORKSPACE_ID"}' --output workspace.json

Next steps​