Skip to content
Weik.ioDocs
2026.1
Try Weik.io

This page describes Weik.io 2026.1, and the current release is 2026.2. Weik.io 2026.2 docs

Notebook Commands

Weik.io 2026.1

Manage notebooks using the CLI.

On this page

Manage notebooks for executing Python code and automation tasks.

Usage#

Terminal
weikio notebooks [NotebookId] [command] [options]

Arguments:

Name Required Description
NotebookId No ID of the notebook (required for some operations)

Subcommands#

ls#

List all notebooks.

Usage:

Terminal
weikio notebooks ls

Example:

Terminal
weikio notebooks ls

run#

Run a notebook.

Usage:

Terminal
weikio notebooks run <NotebookId>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook to run

Example:

Terminal
weikio notebooks run f47ac10b-58cc-4372-a567-0e02b2c3d479

schedule#

Manage notebook schedules.

Usage:

Terminal
weikio notebooks schedule [command]

schedule add

Add a schedule to a notebook.

Usage:

Terminal
weikio notebooks schedule add <NotebookId> --cron "<Expression>"

Arguments:

Name Required Description
NotebookId Yes ID of the notebook

Options:

Flag Description
--cron <expression> Cron expression for the schedule
--freq, -f <timespan> Frequency of the schedule, in place of --cron

Example:

Terminal
weikio notebooks schedule add f47ac10b-58cc-4372-a567-0e02b2c3d479 --cron "0 0 * * *"

schedule delete

Delete a notebook schedule.

Usage:

Terminal
weikio notebooks schedule delete <ScheduleId>

Arguments:

Name Required Description
ScheduleId Yes ID of the schedule to delete

Example:

Terminal
weikio notebooks schedule delete 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

endpoint#

Manage notebook endpoints.

Usage:

Terminal
weikio notebooks endpoint [command]

endpoint add

Add an endpoint to a notebook.

Usage:

Terminal
weikio notebooks endpoint add <NotebookId> --route <Path> --name <Name>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook

Options:

Flag Description
--route, -r <path> Path for the endpoint, required
--name, -n <name> Name of the endpoint, required

Example:

Terminal
weikio notebooks endpoint add f47ac10b-58cc-4372-a567-0e02b2c3d479 --route /api/my-notebook --name my-notebook

endpoint delete

Delete a notebook endpoint.

Usage:

Terminal
weikio notebooks endpoint delete <EndpointId>

Arguments:

Name Required Description
EndpointId Yes ID of the endpoint to delete

Example:

Terminal
weikio notebooks endpoint delete 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

Sign in to the live demo

Sign in with the shared viewer account, which can open every screen of the example projects and can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo