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

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

Response of `action=query`. `query` widens as modules get covered.

## Extends

- [`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md)

## Properties

### batchcomplete?

> `optional` **batchcomplete?**: `true`

Defined in: [envelope/index.ts:178](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L178)

Present and `true` when all data for the current batch of pages has been
returned. Continuation may still be ongoing: the generator runs again for
the next batch of pages, and list/meta modules may continue independently.
Serialized as a real boolean under `formatversion=2`.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`batchcomplete`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#batchcomplete)

***

### continue?

> `optional` **continue?**: [`ApiQueryContinue`](https://types-mediawiki-response.pages.dev/api/core/ApiQueryContinue.md)

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

Cursors to merge into the next request to fetch the following batch, absent
once every requested module is exhausted. The keys present depend on which
`prop=`/`list=`/`meta=`/`generator=` modules were requested.

***

### curtimestamp?

> `optional` **curtimestamp?**: `string`

Defined in: [envelope/index.ts:187](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L187)

Current server time (ISO 8601), present when the request set `curtimestamp`.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`curtimestamp`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#curtimestamp)

***

### errorlang?

> `optional` **errorlang?**: `string`

Defined in: [envelope/index.ts:199](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L199)

Language error messages are rendered in (`responselanginfo=1`).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`errorlang`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#errorlang)

***

### limits?

> `optional` **limits?**: `Record`\<`string`, `number`>

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

Effective limits per module, keyed by module name (e.g. `{ categories: 500 }`).

***

### query

> **query**: [`ApiQueryResult`](https://types-mediawiki-response.pages.dev/api/core/ApiQueryResult.md)

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

Output of the requested `prop=`/`list=`/`meta=` modules.

***

### query-continue?

> `optional` **query-continue?**: `Record`\<`string`, `Record`\<`string`, `string` | `number`>>

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

Legacy continuation cursors, keyed by module and then by parameter name,
emitted at the root level (not under `query`) when the request sets
`rawcontinue=1`. It replaces `continue` / `batchcomplete`, which are not
emitted in that mode; `query-noncontinue` may appear alongside it.

***

### query-noncontinue?

> `optional` **query-noncontinue?**: `Record`\<`string`, `Record`\<`string`, `string` | `number`>>

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

Parameters carried over from the previous batch that are not continuation
cursors, keyed by module and then by parameter name (`rawcontinue=1`).
Array values are joined with `|` before serialization.

***

### requestid?

> `optional` **requestid?**: `string`

Defined in: [envelope/index.ts:190](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L190)

Opaque value echoed back from the request's `requestid` parameter.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`requestid`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#requestid)

***

### servedby?

> `optional` **servedby?**: `string`

Defined in: [envelope/index.ts:184](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L184)

Identifier of the server that handled the request. Present by default on
error responses; on successful responses only when explicitly requested.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`servedby`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#servedby)

***

### uselang?

> `optional` **uselang?**: `string`

Defined in: [envelope/index.ts:196](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L196)

Language of the interface strings in the response (`responselanginfo=1`).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`uselang`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#uselang)

***

### warnings?

> `optional` **warnings?**: [`ApiWarnings`](https://types-mediawiki-response.pages.dev/api/core/ApiWarnings.md)

Defined in: [envelope/index.ts:193](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/envelope/index.ts#L193)

Non-fatal warnings; shape depends on `errorformat` (see [ApiWarnings](https://types-mediawiki-response.pages.dev/api/core/ApiWarnings.md)).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`warnings`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#warnings)

***

### watchlistraw?

> `optional` **watchlistraw?**: [`ApiWatchlistRawEntry`](https://types-mediawiki-response.pages.dev/api/core/ApiWatchlistRawEntry.md)\[]

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

Raw watchlist titles (`list=watchlistraw`) — a root-level key.
