> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt.

# Interface: ApiWatchlistLabel

Defined in: [common/index.ts:77](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/common/index.ts#L77)

A watchlist label (`{ id, name }`), as returned by `meta=userinfo`
`uiprop=watchlistlabels`, `prop=info` `inprop=watchlistlabels`,
`list=watchlist` `wlprop=labels`, and echoed by `action=watch`. Requires
`$wgEnableWatchlistLabels`. Emitted as a list; an empty set serializes as `[]`.

## Since

MediaWiki 1.46

## Properties

### id?

> `optional` **id?**: `number`

Defined in: [common/index.ts:79](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/common/index.ts#L79)

Stable numeric label id.

***

### name?

> `optional` **name?**: `string`

Defined in: [common/index.ts:82](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/common/index.ts#L82)

Label text.
