competition_top_kernels
List public kernels and notebooks for a Kaggle competition, sorted by public score, votes, or other metrics.
Instructions
List top public kernels/notebooks for a competition, sorted by public score.
Note: Kaggle API does not return the score value for active competitions,
but DOES sort by score. Scores shown are extracted from notebook titles
(e.g. '[44/50]', '[0.371]') where authors include them.
Args:
competition: Competition URL suffix (e.g. 'titanic').
sort_by: Sort order — scoreDescending (default), scoreAscending,
voteCount, hotness, dateCreated, dateRun, commentCount.
page_size: Number of results (max 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort_by | No | scoreDescending | |
| page_size | No | ||
| competition | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |