---
title: "Create Wiki Page"
method: POST
path: "/api/v1/gm/wiki"
tags: ["gm", "gm"]
---

# Create Wiki Page

`POST /api/v1/gm/wiki`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/gm/wiki`
- Auth: API key in header `X-API-Key`

Create a wiki page. Upserts by (state, domain, title).

Admin-gated: wiki pages are loaded verbatim into agent system prompts
(Code Judgment onboarding, State GM briefings) — an unauthenticated write
here would be a prompt-injection path into the merge gate.

## Request body

- WikiPageCreate
  - `state` string, required
  - `domain` string, required
  - `title` string, required
  - `content_md` string, required
  - `source_finding_ids` string[], nullable
  - `contributors` string[], nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
