Skip to content

Add CLI support for listing notebook versions #1070

Description

@shivamgravity

Currently it is difficult to determine available notebook versions through the CLI.

The CLI supports submitting notebook outputs using:

-k <notebook>
-v <version>

However, there appears to be no API endpoint to retrieve notebook version history or determine the latest version programmatically.

For automation workflows, it would be useful to have a command such as:

kaggle kernels versions <kernel>

that lists notebook versions and their statuses.

Exposing notebook version metadata would enable:

  • automation pipelines
  • notebook-based competition submissions
  • latest-version submission helpers
  • tracking notebook execution history

Example output:

Version 1 COMPLETE
Version 2 COMPLETE
Version 3 RUNNING

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions