list_labels
Retrieve project labels with optional filtering by search keyword, inclusion of ancestor groups, and issue/merge request counts. Supports pagination.
Instructions
List labels for a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| with_counts | No | Whether to include issue and merge request counts | |
| include_ancestor_groups | No | Include ancestor groups | |
| search | No | Keyword to filter labels by | |
| page | No | Page number for pagination (default: 1) | |
| per_page | No | Number of items per page (max: 100, default: 20) |