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

Defined in: [core/edit.ts:89](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/edit.ts#L89)

The captcha challenge of a `result: "Failure"` edit, as emitted by ConfirmEdit.

## Properties

### id?

> `optional` **id?**: `string`

Defined in: [core/edit.ts:97](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/edit.ts#L97)

Cache key of the pending challenge; pass it back as `captchaid` alongside the `captchaword` answer.

***

### mime?

> `optional` **mime?**: `string`

Defined in: [core/edit.ts:94](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/edit.ts#L94)

MIME type the challenge renders as, e.g. `text/plain`, `image/png`, `text/html`.

***

### question?

> `optional` **question?**: `string`

Defined in: [core/edit.ts:100](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/edit.ts#L100)

Challenge text: an arithmetic expression for the sample implementation, the prompt for a question captcha.

***

### type?

> `optional` **type?**: `string`

Defined in: [core/edit.ts:91](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/edit.ts#L91)

Captcha implementation, e.g. `simple` (arithmetic challenge) or `image`. Open union.
