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

# Interface: ApiCategory

Defined in: [core/query/categories.ts:10](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L10)

One category membership entry; `clprop` selects the optional fields.

## Properties

### hidden?

> `optional` **hidden?**: `boolean`

Defined in: [core/query/categories.ts:27](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L27)

Whether the category is hidden. `clprop=hidden`; a real `boolean` (not a `Flag`).

***

### ns

> **ns**: `number`

Defined in: [core/query/categories.ts:12](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L12)

Namespace index (the Category namespace, 14).

***

### sortkey?

> `optional` **sortkey?**: `string`

Defined in: [core/query/categories.ts:18](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L18)

Raw (hex) sort key. `clprop=sortkey`.

***

### sortkeyprefix?

> `optional` **sortkeyprefix?**: `string`

Defined in: [core/query/categories.ts:21](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L21)

Human-readable sort key prefix. `clprop=sortkey`.

***

### timestamp?

> `optional` **timestamp?**: `string`

Defined in: [core/query/categories.ts:24](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L24)

When the page was added to the category. `clprop=timestamp`.

***

### title

> **title**: `string`

Defined in: [core/query/categories.ts:15](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/categories.ts#L15)

Full category title, e.g. `Category:Manual`.
