Skip to main content
Every kaggle.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Competitions

downloadFile

competitions.downloadFile Download a single competition data file (rules acceptance required) Risk: read
Input Output

downloadFiles

competitions.downloadFiles Download all competition data files as a zip (rules acceptance required) Risk: read
Input Output

downloadLeaderboard

competitions.downloadLeaderboard Download the competition leaderboard as a zip/CSV (base64) Risk: read
Input Output

generateSubmissionUrl

competitions.generateSubmissionUrl Generate a pre-signed URL and token for uploading a competition submission file Risk: write
Input Output: object

list

competitions.list List Kaggle competitions with category, group, sort, and search filters Risk: read
Input Output: object

listFiles

competitions.listFiles List data files available for a Kaggle competition Risk: read
Input Output: object

submit

competitions.submit Finalize a competition submission using a previously uploaded blob file token Risk: write
Input Output: object

viewLeaderboard

competitions.viewLeaderboard View competition leaderboard rankings and scores Risk: read
Input Output: object

Datasets

create

datasets.create Create a new Kaggle dataset (requires prior file upload tokens and owner username in id) Risk: write
Input
Output: object

createVersion

datasets.createVersion Create a new version of an existing Kaggle dataset after uploading updated files Risk: write
Input
Output: object

download

datasets.download Download all files from a Kaggle dataset as a zip (returned as base64) Risk: read
Input Output

downloadFile

datasets.downloadFile Download a single file from a Kaggle dataset (returned as base64) Risk: read
Input Output

getMetadata

datasets.getMetadata Get metadata for a Kaggle dataset including title, licenses, and tags Risk: read
Input Output: object

getStatus

datasets.getStatus Check processing status after dataset create/version (404 expected when already published) Risk: read
Input Output: object

list

datasets.list List Kaggle datasets with optional search, owner, size, and pagination filters Risk: read
Input Output: object

listFiles

datasets.listFiles List files in a Kaggle dataset with optional version and pagination Risk: read
Input Output: object

Kernels

downloadOutput

kernels.downloadOutput Download kernel session output files as base64 (fetches signed GCS URLs from GET /kernels/output) Risk: read
Input Output

getStatus

kernels.getStatus Get execution status of a Kaggle kernel Risk: read
Input Output: object

list

kernels.list List Kaggle kernels (notebooks/scripts) with filters and pagination Risk: read
Input Output: object

listOutputFiles

kernels.listOutputFiles List output files produced by a kernel run Risk: read
Input Output: object

pull

kernels.pull Pull kernel source code and optional metadata from Kaggle Risk: read
Input Output: object

Models

get

models.get Get details for a Kaggle model Risk: read
Input Output: object

getInstance

models.getInstance Get details for a Kaggle model instance (framework variation) Risk: read
Input Output: object

list

models.list List Kaggle models with optional owner, search, and pagination Risk: read
Input Output: object

listInstanceVersionFiles

models.listInstanceVersionFiles List files for a specific version of a model instance/variation Risk: read
Input Output: object