> 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: ApiRandomPage

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

One randomly selected page.

## Properties

### id

> **id**: `number`

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

Page id — keyed `id` here, unlike the `pageid` elsewhere.

***

### ns

> **ns**: `number`

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

Namespace index.

***

### redirect?

> `optional` **redirect?**: `boolean`

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

The page is a redirect. A real `boolean` (explicitly `false` too);
present only with `rnfilterredir=all`.

***

### title

> **title**: `string`

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

Full page title.
