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 my-notebook

schedule#

Manage notebook schedules.

Usage:

Terminal
weikio notebooks <NotebookId> schedule [command]

schedule add

Add a schedule to a notebook.

Usage:

Terminal
weikio notebooks <NotebookId> schedule add <CronExpression>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook
CronExpression Yes Cron expression for the schedule

Example:

Terminal
weikio notebooks my-notebook schedule add "0 0 * * *"

schedule delete

Delete a notebook schedule.

Usage:

Terminal
weikio notebooks <NotebookId> schedule delete <ScheduleId>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook
ScheduleId Yes ID of the schedule to delete

Example:

Terminal
weikio notebooks my-notebook schedule delete schedule-123

endpoint#

Manage notebook endpoints.

Usage:

Terminal
weikio notebooks <NotebookId> endpoint [command]

endpoint add

Add an endpoint to a notebook.

Usage:

Terminal
weikio notebooks <NotebookId> endpoint add <EndpointPath>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook
EndpointPath Yes Path for the endpoint

Example:

Terminal
weikio notebooks my-notebook endpoint add /api/my-notebook

endpoint delete

Delete a notebook endpoint.

Usage:

Terminal
weikio notebooks <NotebookId> endpoint delete <EndpointId>

Arguments:

Name Required Description
NotebookId Yes ID of the notebook
EndpointId Yes ID of the endpoint to delete

Example:

Terminal
weikio notebooks my-notebook endpoint delete endpoint-123