Skip to content

Reference

Setup and access

Install the CLI, authenticate, link a workspace, run your first query, and inspect billing.

Use the CLI command reference for command examples, common flags, and pagination rules, or run limilake docs cli-reference offline. limilake <noun> --help lists its actions without signing in.

Commands that act on a Workspace take it from --workspace, then LIMILAKE_WORKSPACE, then the linked checkout. App, Connection, Execution, Lakehouse, Secret, and Table lists accept --all-workspaces for aggregate results. File and Shortcut lists accept it to find one Lakehouse across Workspaces, then list only that target's contents. Duplicate names require the UUID from limilake lakehouse list --all-workspaces. The flag overrides ambient Workspace defaults, conflicts with explicit --workspace, and is unavailable to Workspace-bound credentials, including bound token sessions. Paging remains separate: add --all where supported to read every page.

--timeout 30s (or LIMILAKE_TIMEOUT) bounds the whole command and each operation's own timer. Use --deadline 30s (or LIMILAKE_DEADLINE) to bound discovery, requests, retries, and polling together. The earliest deadline wins.

LimiLake is a multi-tenant data lake platform: workspaces hold lakehouses, lakehouses hold schemas, and schemas hold tables and files. Code lives as functions (.py) and apps (.app.tsx) in the workspace git repo; ordinary files such as README.md are valid Workspace source as well.

1. Install the CLILink to this section

The supported CLI is one signed limilake binary. It does not require Python, Node.js, or a repository checkout. The first public matrix is:

Operating systemArchitectures
LinuxAMD64 (x86_64) and ARM64 (aarch64)
macOSAMD64 (Intel) and ARM64 (Apple Silicon)

Windows is not supported by the initial release.

For the stable channel, use the verified convenience installer:

bash
curl -fsSL https://get.limilake.com/ | sh
limilake --output json version

The version command reports the semantic version, exact source commit, Go toolchain, operating system, and architecture. To review the installer before running it, or to install into a managed path:

bash
INSTALLER=$(mktemp)
curl -fsSL https://get.limilake.com/ -o "$INSTALLER"
sh -n "$INSTALLER"
sh "$INSTALLER" --channel stable --install-dir "$HOME/.local/bin"

Use --no-modify-path when your shell profile or managed environment owns PATH. Resolve and install the exact current stable version with immutable version selection:

bash
VERSION=$(curl -fsSL https://packages.limilake.com/cli/channels/stable)
curl -fsSL https://get.limilake.com/ | sh -s -- --version "$VERSION"
limilake --output json version

The selected version's immutable manifest, signatures, direct archives, SBOMs, provenance, source, notices, and Agent context are published under:

text
https://packages.limilake.com/cli/v$VERSION/

The GitHub Release for cli/v$VERSION is an internal audit record for authorized repository readers. It names the source commit, public-key fingerprints, artifact digests, and native acceptance evidence, but it is not a public trust anchor. Released version paths are immutable. For an external trust bootstrap, obtain the approved public-key digest through an independently controlled channel; the package origin's copy is not its own trust anchor.

text
https://github.com/liminityab/limilake-v2/releases/tag/cli/v$VERSION

Update, rollback, replace, or uninstallLink to this section

Executable updates are explicit. Bare limilake and root limilake --help may perform one anonymous stable-channel check behind a private 24-hour cache and print an advisory notice on stderr. Subcommands, subcommand help, version output, and machine-readable output do not check for updates automatically. The CLI sends no usage telemetry. Use an explicit signed check to compare the installed and stable versions, and upgrade to install the selected release:

bash
limilake --version --check
limilake version --check --output json
limilake upgrade --channel stable

The explicit check verifies the stable manifest signature within five seconds (or a shorter --timeout). It reports installed/latest versions and their source commits, plus the exact limilake upgrade --version VERSION command. An available update exits 0; a failed check exits 6. If the signed release has no artifact for your platform, the check reports unsupported_platform and leaves upgrade_command empty. Development builds report an unknown comparison; newer builds are identified without a downgrade. No archive is downloaded and no executable is replaced by a check. update remains an alias with its existing behavior and output.

The same check reports executable/PATH candidates and possible shadowing. Shell aliases and cached commands require a check inside your own shell:

bash
type -a limilake
hash -r

If it finds an old Python launcher or uv tool environment, identify the old installation before removing it. uv tool list lists installed tools. If it lists the old limilake CLI package, use uv tool uninstall limilake. For an editable virtualenv installation, use that environment's uv pip uninstall limilake only after confirming it is the old CLI environment; the current Python SDK/runtime is a separate product. Then install the signed CLI and refresh your shell's command cache:

bash
curl -fsSL https://get.limilake.com/ | sh
hash -r
type -a limilake
limilake version --check

Put the intended installation directory first in PATH if another executable still takes precedence. The check does not uninstall, install, or repair paths.

To roll back, select an earlier verified immutable version. A failed download, signature check, digest check, or executable replacement leaves the current binary usable:

bash
limilake update --version <previous-version>
limilake --output json version

For a manual replacement after completing the direct verification below, stage the verified binary beside the destination and move it into place:

bash
mkdir -p "$HOME/.local/bin"
REPLACEMENT=$(mktemp "$HOME/.local/bin/.limilake.XXXXXX")
install -m 0755 "$VERIFY_DIR/limilake" "$REPLACEMENT"
mv -f "$REPLACEMENT" "$HOME/.local/bin/limilake"

To uninstall a per-user installation, first confirm the resolved path, then remove only that executable. Project files, profiles, and the managed Build toolchain cache are separate and are not removed automatically:

bash
command -v limilake
rm "$HOME/.local/bin/limilake"

The CLI keeps its exact version-matched Node, pnpm, Python, and uv Build toolchain under the operating system user cache at <user-cache>/limilake/build-toolchains/v1/cli-v<version>/<os>-<arch>/. Inspect it without network access or disk mutation:

Code
limilake toolchain doctor
limilake --output json toolchain doctor

If the report says missing, invalid, or incompatible, restore the exact signed cohort atomically:

Code
limilake toolchain repair

Repair verifies a complete sibling replacement before changing the selected cache. A failed repair leaves any previously selected valid toolchain intact. Use limilake toolchain repair --offline when network access is prohibited; it repairs local selection state when possible and otherwise returns a stable JSON diagnostic with the exact next action when global --output json is selected, instead of contacting the package origin.

Do not delete the cache as a first repair step. If doctor reports changed bytes, a missing runtime file, or an interrupted replacement, run repair; it restores the exact signed cohort and cleans only the version-scoped interrupted state. Then verify the recovered path without network access:

text
limilake --output json toolchain doctor
limilake build --offline

CLI updates and rollbacks keep separate version-scoped toolchain entries. After selecting an earlier release, inspect that exact version's cache before building:

text
limilake update --version <previous-version>
limilake --output json toolchain doctor
limilake toolchain repair                 # only when that exact cache is unavailable

Every signed CLI publication is gated by clean-machine Builds on Linux AMD64/ARM64 and macOS AMD64/ARM64. The release record binds one witness per target to the exact CLI archive, CLI SBOM, Build-toolchain bundle, toolchain SBOM, manifest, and provenance identities. Those witnesses exercise acquisition, reuse, offline mode, doctor, corruption/interruption repair, update, and rollback without a repository checkout or host Node, pnpm, Python, uv, or workspace-build.

These cache commands govern an ordinary signed standalone CLI installation. The hosted LimiLake Agent image deliberately sets an image-owned Build Engine override and supplies its tools from the pinned image. In that environment, limilake build does not use this managed cache, and toolchain doctor or repair does not describe or change the active Build path.

Verify a direct downloadLink to this section

For a managed or manual exact-version install, obtain the approved public-key digest through an independently controlled channel before trusting the package origin's copy. Authorized maintainers may use the private GitHub Release as an additional internal audit record. Linux verifies the raw Ed25519 signature with OpenSSL:

bash
VERSION=$(curl -fsSL https://packages.limilake.com/cli/channels/stable)
BASE="https://packages.limilake.com/cli/v${VERSION}"
VERIFY_DIR=$(mktemp -d)

curl -fsSL "$BASE/release-public-key.pem" -o "$VERIFY_DIR/release-public-key.pem"
curl -fsSL "$BASE/release-public-key.sha256" -o "$VERIFY_DIR/release-public-key.sha256"
sha256sum "$VERIFY_DIR/release-public-key.pem"
(cd "$VERIFY_DIR" && sha256sum -c release-public-key.sha256)

curl -fsSL "$BASE/manifest.json" -o "$VERIFY_DIR/manifest.json"
curl -fsSL "$BASE/manifest.json.sig" -o "$VERIFY_DIR/manifest.json.sig.b64"
openssl base64 -d -A -in "$VERIFY_DIR/manifest.json.sig.b64" -out "$VERIFY_DIR/manifest.json.sig"
openssl pkeyutl -verify -pubin \
  -inkey "$VERIFY_DIR/release-public-key.pem" -rawin \
  -in "$VERIFY_DIR/manifest.json" -sigfile "$VERIFY_DIR/manifest.json.sig"

Stock macOS uses OpenSSH rather than Apple LibreSSL for the same signed manifest. Compare the SHA-256 of release-public-key.pub with the approved digest from that independently controlled channel, then verify the SSHSIG namespace:

bash
VERSION=$(curl -fsSL https://packages.limilake.com/cli/channels/stable)
BASE="https://packages.limilake.com/cli/v${VERSION}"
VERIFY_DIR=$(mktemp -d)

if ! curl -fsSL "$BASE/release-public-key.pub" \
  -o "$VERIFY_DIR/release-public-key.pub"; then
  echo "Release $VERSION predates stock macOS direct verification; use the verified installer or select a newer exact release." >&2
  exit 1
fi
curl -fsSL "$BASE/manifest.json" -o "$VERIFY_DIR/manifest.json"
curl -fsSL "$BASE/manifest.json.sshsig" -o "$VERIFY_DIR/manifest.json.sshsig"
shasum -a 256 "$VERIFY_DIR/release-public-key.pub"
printf 'limilake-release namespaces="limilake-cli-manifest" ' \
  > "$VERIFY_DIR/allowed-signers"
cat "$VERIFY_DIR/release-public-key.pub" >> "$VERIFY_DIR/allowed-signers"
ssh-keygen -Y verify \
  -f "$VERIFY_DIR/allowed-signers" \
  -I limilake-release \
  -n limilake-cli-manifest \
  -s "$VERIFY_DIR/manifest.json.sshsig" \
  < "$VERIFY_DIR/manifest.json"

After the manifest signature passes, select the archive for the machine and verify its signed digest before extraction:

bash
case "$(uname -s):$(uname -m)" in
  Linux:x86_64) OS=linux; ARCH=amd64 ;;
  Linux:aarch64) OS=linux; ARCH=arm64 ;;
  Darwin:x86_64) OS=darwin; ARCH=amd64 ;;
  Darwin:arm64) OS=darwin; ARCH=arm64 ;;
  *) echo "Unsupported platform" >&2; exit 1 ;;
esac
ARTIFACT="limilake_${VERSION}_${OS}_${ARCH}.tar.gz"
DIGEST=$(awk -v target="cli/v${VERSION}/${ARTIFACT}" '
  index($0, "\"path\": \"" target "\"") { matched = 1; next }
  matched && index($0, "\"sha256\": \"") {
    line = $0
    sub(/^.*"sha256": "/, "", line)
    sub(/".*$/, "", line)
    print line
    exit
  }
' "$VERIFY_DIR/manifest.json")
test -n "$DIGEST"
curl -fsSL "$BASE/$ARTIFACT" -o "$VERIFY_DIR/$ARTIFACT"
if command -v sha256sum >/dev/null 2>&1; then
  ACTUAL=$(sha256sum "$VERIFY_DIR/$ARTIFACT" | cut -d' ' -f1)
else
  ACTUAL=$(shasum -a 256 "$VERIFY_DIR/$ARTIFACT" | cut -d' ' -f1)
fi
test "$ACTUAL" = "$DIGEST"
tar -xzf "$VERIFY_DIR/$ARTIFACT" -C "$VERIFY_DIR" limilake
"$VERIFY_DIR/limilake" --output json version

The reviewed installer performs these signature, archive-shape, digest, permission, and atomic replacement checks automatically.

Installation troubleshootingLink to this section

  • limilake: command not found: start a fresh shell, or add $HOME/.local/bin to PATH. Use --install-dir and --no-modify-path in a managed environment.
  • Signature or digest failure: stop. Do not bypass verification or reuse a partial download. Compare the public-key digest and artifact digest with the approved digest from an independently controlled channel. Authorized maintainers may also inspect the private GitHub Release audit.
  • macOS Keychain or Linux Secret Service unavailable: interactive logins use the OS credential store when it is unlocked. Headless Linux falls back to ~/.limilake/credentials.json with mode 0600; prefer LIMILAKE_TOKEN or LIMILAKE_TOKEN_FILE for stateless automation.
  • Failed update: run the existing binary's version command. If its identity is unchanged, retry the exact immutable version or restore a previously verified release. Do not delete the managed toolchain cache as a first step.

2. AuthenticateLink to this section

Code
limilake auth login --host app.limilake.com --profile work

This runs a device-flow OAuth login and stores a tenant-bound access/refresh bundle in your OS keyring (or the private headless fallback described above). You sign in yourself.

An agent can return the verification URL and code to you without blocking:

bash
limilake auth login --host app.limilake.com --profile work --no-wait --output json
limilake auth status --profile work --output json

--no-wait exits 0 with state:pending, url, user_code, expiry, polling interval, and the exact poll_command. The url already carries the code; open it yourself and confirm that the page shows the same user_code. No credentials are created for another person. Use the returned polling command; the profile becomes active only after successful sign-in. Each auth status performs at most one due poll. Pending authorization exits 3 and includes its next poll time; a too-early poll makes no request. Follow any longer interval reported after a server slow-down. Denial or expiry also exits 3 with login recovery guidance. Successful status retains its usual identity result and exits 0. Blocking login is still the default. Repeating --no-wait returns the existing live pending login without creating another code or changing its host/Tenant. The hint names the retained host/Tenant. If new options differ, it states that they were not applied. A redeemed challenge returns state:finalizing, blank URL/code, and the status command to finish saving credentials. Add --restart to explicitly discard that pending state and begin again.

The CLI stores the private device code in ~/.limilake/pending-login/<profile>.json, bounded to 32 KiB with mode 0600 in a private directory, bound to your OS user, profile, host and requested Tenant. After redemption, the same file temporarily holds the access and refresh tokens, even when an OS keyring is available. This allows auth status to retry interrupted live validation, Git setup or credential saving without redeeming the code again. Tokens can remain in that file after a transient error.

The original device-authorization deadline bounds retries, including staged tokens; access-token expiry alone does not discard a valid refresh token. The next auth status or login clears expired state; there is no background cleanup while the CLI is idle. Successful completion, denial, explicit --restart, logout and profile deletion also clear it atomically to a null record. The CLI never prints the private device code or tokens. Concurrent polls cannot redeem the same challenge twice, and a pending login cannot replace a profile that changed while you were signing in. This local saved-profile flow cannot be combined with --token-stdin or an environment-injected credential.

Select another tenant only through the server-verified switch:

Code
limilake tenant list --profile work
limilake tenant use <tenant-id-or-slug> --profile work
limilake context --profile work

Headless or CI? Import a personal access token through stdin (never an argv value):

Code
printf '%s' "$LIMILAKE_PAT" | limilake auth login --token-stdin \
  --host app.limilake.com --profile ci

For stateless environment authentication, set LIMILAKE_TOKEN, LIMILAKE_HOST, and LIMILAKE_TENANT_ID together. The Tenant ID is always required and must match the checkout's Tenant binding when you run from a linked checkout. PATs are tenant-bound and cannot switch.

A token session, whether a PAT profile or LIMILAKE_TOKEN, authenticates as a shared user with no tenant-scoped identity. That is enough for every source workflow: pushing main is authorized by the Git session itself. The retained limilake publication rollback recovery command still needs an attributable device-flow profile. You can create a PAT from an OAuth profile:

Code
limilake auth token create ci-token --days 90 --profile work

Check who you are at any time:

Code
limilake auth status --profile work

3. Find your dataLink to this section

Code
limilake workspace list
limilake lakehouse list --workspace my-workspace
limilake table list --lakehouse my-lakehouse

limilake lakehouse explain <name> blends the live schema with the concept doc, so you can learn a lakehouse without leaving the terminal.

4. QueryLink to this section

Code
limilake query "SELECT * FROM bronze.invoices LIMIT 10" --lakehouse my-lakehouse

Queries are read-only and bounded; they run through the platform's Lake Query API, so no local data engine is needed.

5. Author codeLink to this section

Workspace bootstrap creates the repository. Clone and link it in one step:

Code
limilake workspace clone my-workspace
cd my-workspace

workspace clone runs ordinary Git against the canonical remote the platform advertises, configures Git credentials for the new checkout, and links it. To do it by hand instead, clone the clone_url from limilake --output json workspace show my-workspace and run limilake workspace link my-workspace inside the checkout. A fresh machine needs the signed CLI and Git 2.49+ on PATH, then your interactive auth login. If ordinary Git's credential helper needs repair, run limilake auth setup-git --profile work for the selected profile.

Use an absolute destination to clone independently of your current directory. Git creates any missing parent directories:

bash
limilake workspace clone my-workspace "$HOME/projects/my-workspace"
limilake workspace clone my-workspace "$HOME/projects/my-workspace" --no-link

--link is the default; the last --link/--no-link value wins. --no-link skips the local Workspace binding while keeping the newly cloned repository's Git credential helper. It does not remove an existing binding. Repeating clone reuses a checkout with the matching canonical remote and binding; it can finish linking a matching unlinked checkout. Reused checkouts keep their existing Git configuration; use auth setup-git if ordinary Git authentication needs repair. Unconfirmed checkout-root identities, nonempty directories, and conflicting bindings are left untouched. Relative and default destinations require an accessible current directory and a readable walk through its ancestors; no existing checkout is required. Dangling, looping, or non-directory destination parents fail with a path-specific usage error (exit 2) before Git starts; unreadable destinations or parents report permission denied (exit 5). A rerun can use a symlinked parent: the checkout root is matched by directory identity. If linking fails, the checkout remains and the error prints the exact command to finish.

Commands that use the checkout's authentication context, including auth status, query, and ask, stop before authentication if .limilake/link.json cannot be read. Malformed JSON, a missing Workspace identity, or an invalid profile name exits 2; an unreadable binding file exits 5. The error identifies the checkout and failing file. These binding checks also apply to the clone destination before Git starts.

A linked Git worktree without its own binding reads the main checkout's .limilake/link.json, so git worktree add keeps the Workspace link.

workspace status inspects the binding from inside the checkout. It currently exits 4 outside a checkout or before linking. workspace init scaffolds local source, workspace link binds a checkout with the matching remote, and workspace clone fetches and optionally links server source. Use workspace create to provision a new server-side repository.

Add resources by name. add only ever writes files in your checkout:

Code
limilake workspace init                    # only for a checkout without limilake.toml
limilake add function daily-report
limilake add app sales-dashboard
limilake add query active-customers

Edit functions/daily-report/function.py with your normal editor. The add app result names the frozen dependency-install command that must succeed before the local Vite loop can start; then refresh the generated client and start the loop:

Code
pnpm install --frozen-lockfile --ignore-workspace
limilake generate --check
limilake dev

The loop binds 127.0.0.1 by default. For a browser on another machine over a trusted private network, name one specific reachable interface and use stable ports:

text
limilake dev --host 100.64.0.10 --port 4300 --app-port-base 4301

The CLI prints the reachable App and Studio addresses. It refuses wildcard hosts such as 0.0.0.0; anyone who can reach the chosen interface can reach the App previews and attempt trusted-host Local Studio requests. Open the exact printed http://<host>:<port>/studio/ URL. The page automatically supplies its exact origin marker because Chrome may omit Fetch Metadata on private-network HTTP; there is no token or browser setting to copy. Other browser origins still cannot call Studio because the listener refuses their CORS preflight. If you do not want a remote listener, keep the default and forward the same stable ports over SSH:

text
limilake dev --port 4300 --app-port-base 4301
ssh -L 4300:127.0.0.1:4300 -L 4301:127.0.0.1:4301 user@dev-host

Local Function execution also needs the version-matched limilake[serve] Workspace runtime in pyproject.toml and uv.lock; limilake add function prints that dependency step and the required limilake-run entrypoint.

Validate the complete Workspace with the same Build Engine used by production:

text
limilake build

With an ordinary signed standalone CLI, the first Build prints the exact managed Node, pnpm, CPython, and uv versions, immutable metadata URLs, transfer bounds, and the per-user cache destination. After the signed manifest and signature are verified, it prints the exact bundle and component sizes and digests before downloading the bundle. Later Builds verify and reuse that exact CLI-version cache. limilake build --offline performs no LimiLake-managed acquisition, leaves the managed cache unchanged, and requires dependency installation from the local pnpm store; it builds only when the compatible cache is already present and valid.

Inside the hosted LimiLake Agent image, the same command uses the image-pinned standalone Build Engine and base-image tools instead of the managed cache. --offline is still forwarded to pnpm, but toolchain doctor and repair do not govern that override.

Neither path is a network sandbox for Workspace code: local Vite configuration, plugins, scripts, and child processes still run as the trusted local user. The Workspace's package.json, pyproject.toml, and frozen lockfiles remain authoritative.

Publish a WorkspaceLink to this section

Pushing an accepted revision to the protected main branch is the publication action. The platform builds that exact SHA and automatically activates a successful Build; there is no second Publish command.

Human Git credentials can push only main and drafts/workspace. Local feature branches are fine: the explicit HEAD:<target> commands below send your current commit to a supported remote ref, regardless of your local branch name. Pushing a feature branch by its own name, such as git push origin my-feature, is rejected. Remote feature branches and tags are not supported push targets.

Git pushes commits. Saving a file or running limilake add does not commit it. Review and stage the files you intend to publish, including any changed Workspace manifests, lockfiles, and generated clients, then create a commit. For example, after editing README.md:

bash
git status --short
git diff -- README.md
git add -- README.md
git diff --cached
git commit -m "Update workspace notes"

Replace README.md with the paths you changed. Only the committed revision will be pushed; untracked files and uncommitted edits stay on your machine.

To save that commit to the shared editor Draft:

Code
git push origin HEAD:drafts/workspace

For a direct Git workflow, push main itself (the same human credential is allowed to fast-forward both refs when it has Workspace write access):

Code
git push origin HEAD:main

The Draft step is optional. If you saved the commit to the Draft first, the same HEAD:main command publishes it. A push that updates both refs at once is rejected; push each ref separately. The Draft is shared with the editor and other collaborators, so fetch and reconcile its changes before pushing when it has advanced.

Every accepted main push queues one exact-SHA production Build and then activates it automatically. A Draft-only push remains work in progress and is not built for production until that revision reaches main. Work that exists only in your local checkout is never part of a Publication. A Contract-v2 revision may contain Apps, Functions, both, or neither; a revision containing only README.md still builds and activates a valid no-op Deployment Manifest.

Repositories created before limilake.toml existed are also accepted by the delivery Build as historical Contract v1 when they contain no executable resources. A present-but-invalid marker still fails closed.

The delivery attempt is durable and can be inspected with limilake publication show. While a Build or activation is queued, running, or failed, the previous Publication keeps serving. A transient activation failure is retried by the worker; a terminal Build failure names its diagnostic and does not switch traffic.

limilake publication rollback returns to a retained Deployment Manifest. It is pointer movement over artifacts that were already built, so it never runs a Build. Read the manifest id from limilake publication show; a manifest that has left the retention window is refused rather than rebuilt.

Every attempt field, including build_id, deployment_manifest_id, publication_id, pointer_generation, conflict_paths, and failure_code, is carried verbatim by --output json and --output yaml. A conflict that reported no paths keeps its empty conflict_paths list, and an attempt that never conflicted has none at all, so the two stay distinguishable in a script.

There is no attempt history listing yet. limilake publication show reads the newest delivery, or one attempt by id, so record ids you want to keep.

Git push troubleshootingLink to this section

Push rejections name the problem, the target ref and available file location, and the next action. The same rejection appears in CLI commands that commit files. For example:

text
rejected: Function input parameter has a default value — where: refs/heads/main functions/daily-report/function.py:26 — fix: Remove the default value from parameter run_input. — more: limilake explain function_handler_signature_unsupported — correlation: <id> [code=function_handler_signature_unsupported]

Run limilake explain function_handler_signature_unsupported for the recovery instructions without a network connection or login. Use the code from your own error for other rejections. Keep the correlation ID when reporting a problem; it lets support find the server diagnostic without copying private source or credentials into a report.

Find the recovery step for handler signatures, unsupported refs, Contract-v1 migration evidence, non-fast-forward updates, concurrent ref changes, authentication, write access, size limits, or all rejection codes.

  • [code=git_ref_not_allowed]: keep the local branch and push its commit with git push origin HEAD:drafts/workspace for work in progress, or git push origin HEAD:main to publish. The remote target must be one of those two refs.
  • [code=git_multi_ref_unsupported]: the push tried to update main alongside another ref. Push the Draft and main in separate commands as shown above.
  • Everything up-to-date, but your changes are missing: run git status --short and git log -1 --oneline. Commit the intended files and push that commit to the intended ref. An unchanged main does not request a new Build.
  • Authentication failure or HTTP 401: check limilake context inside the checkout, then authenticate again with limilake auth login --host app.limilake.com --profile work. If Git's helper is missing, run limilake auth setup-git --profile work. Use limilake workspace doctor to check the linked Workspace, remote, and credential helper. Use your profile name in place of work.
  • HTTP 403: verify the Tenant and Workspace in limilake context and confirm live editor or owner access; a viewer cannot push. A scoped credential also needs the workspace.write scope, and no scope replaces live Workspace access. A tenant administrator has no implicit Workspace access either; see Access errors.
  • Non-fast-forward rejection: another commit is already on the target branch. For main, run git fetch origin, merge origin/main into your local branch, resolve and commit any conflicts, then retry git push origin HEAD:main. For a Draft push, reconcile with origin/drafts/workspace instead. Human credentials cannot force-push or delete either authoring ref, including main, even with owner access.
  • Workspace source validation rejection: main validates the complete revision before accepting it. Follow the file, line, and diagnostic in the remote error. For example, an @fn.action or @fn.sync input parameter must not have a default: use def run(payload: dict[str, str]) -> dict[str, str]: instead of def run(payload: dict[str, str] = None) -> dict[str, str]:. A handler that needs no input and returns nothing can use def run() -> None:. Every handler needs a return annotation matching what it returns. Read limilake docs functions, then run limilake build, commit the correction, and retry the push.
  • Other remote hook rejection: keep the complete remote: error, target ref, and time. Successful authentication does not mean the ref or Workspace source was accepted. Check that the push names one supported ref; for a source validation error, correct the named file and run limilake build before committing and retrying. Run limilake docs reporting-problems for instructions to share a reproducible failure.

Access errorsLink to this section

Your access comes from two separate places. Your Tenant Role, tenant_admin or user, controls Tenant administration. Your Workspace Access Level, viewer, editor or owner, controls everything inside one Workspace and comes only from a Membership in that Workspace. Check both, read live:

bash
limilake --output json context

HTTP 403: access deniedLink to this section

  • Reading a Workspace, querying its Lakehouses, running its Functions and opening its Apps need viewer, editor or owner.

  • Writing needs editor or owner. That covers pushing to Git, editing items, writing data, creating Lakehouses and setting up Connections. A scoped credential, such as a sandbox or agent.run() token, also needs the workspace.write scope; a scope never replaces live Workspace access. A personal access token carries your own access.

  • Managing members and Workspace settings needs owner. Ask a Workspace owner to add you or raise your Access Level.

  • There is no administrator bypass. The tenant_admin role grants no Workspace content. A tenant administrator who needs content adds a Membership through Workspace Governance, with a reason that is recorded. This works on any Workspace, Personal Workspaces included:

    bash
    limilake governance workspace member add finance [email protected] \
      --access-level viewer --reason 'Review the quarter-end reports'
  • Billing grants and the usage ledger (billing grant list and billing usage list) need tenant_admin. Every Tenant User can read the plan with billing plan show. These Tenant-facing commands are read-only; contact platform support to request an additional usage grant.

  • Tenant administration (user, governance and audit commands) needs tenant_admin. Ask a tenant administrator to change your Tenant Role.

HTTP 426: cli_upgrade_requiredLink to this section

The platform refuses every request from a CLI older than its supported minimum. It answers before signing in, so your sign-in is kept. Upgrade, then retry the command:

bash
limilake upgrade

A CLI older than 0.1.35 has no upgrade command; run limilake update instead. A CLI older than 0.1.20 cannot update itself this way; reinstall it with the bootstrap installer from Install the CLI:

bash
curl -fsSL https://get.limilake.com/ | sh

The refusal also suggests limilake explain cli_upgrade_required. A CLI older than 0.1.82 does not know that code and answers unknown rejection code; the upgrade command above is the whole fix.

Output formatsLink to this section

Every command accepts a global --output table|json|yaml (default table), so the same commands serve humans and scripts.

Use limilake profile list|show|use|delete for named environments. In parallel shells, set LIMILAKE_PROFILE or pass --profile so one shell never changes the other's effective tenant. limilake --output json context is the scripting contract for the resolved profile, identity, tenant role and capabilities, Workspace access level, credential kind and expiry.

Command spellingLink to this section

Commands use singular nouns followed by actions: agent show, execution show, workspace update, user deactivate, and function commit. Workspace members use workspace member list/add/update/remove/promote --workspace WORKSPACE; promote adds an owner without removing existing owners. User commands manage Tenant access. Provider discovery is connection provider list/show.

Nouns with several actions name the action explicitly:

bash
limilake credential grant list finance-api
limilake credential grant create finance-api finance
limilake credential grant delete finance-api finance --yes
limilake lakehouse schema show finance
limilake billing plan show
limilake billing usage list
limilake billing grant list

credential grant list finance-api lists the credential's grants; grant creation and deletion take both the credential and the Workspace as explicit positional targets.