---
title: "wiki.article-draft-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/wiki.article-draft-request"
updated: null
---

# wiki.article-draft-request@1 · OpenVibe.Services

HTML: [wiki.article-draft-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/wiki.article-draft-request)

# WikiArticleDraftRequest `wiki.article-draft-request@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: wiki
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/wiki/article-draft-request.v1.json`](/docs/contracts/wiki.article-draft-request.json)

wiki.article-draft-request@1: the body of the wiki writer on OpenVibe.Wiki (an editor of the space). POST /api/v1/pages/:id/draft runs OpenVibe.AI's content.wiki workflow — research with web search plus the sources the article already cites, a citation on every sentence, and an infobox from structured facts — and files the result as a pending wiki proposal. It never publishes: a person approves it in the review queue.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `instruction` | string \| null |  | What the editor wants written or improved. | - `maxLength 4000` |
| `choice` | [ai.choice](/docs/contracts/ai.choice) |  | The model for the writer, from the same chip as every AI run. |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: expand

~~~~
{
  "instruction": "Expand the setup section and keep every sentence sourced.",
  "choice": {
    "model": "openvibe/auto",
    "source": "openvibe"
  }
}
~~~~

Rejected: instruction-not-text

~~~~
{
  "instruction": 5
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('wiki.article-draft-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
