Mzizi Content API
Documentation pages, changelog, AI instructions
Documentation pages, changelog, AI instructions
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mzizi-dev:mzizi-dev-content-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Mzizi Content API
version: 1.0.0
description: 'The Mzizi API — components, brand, architecture, Ubuntu doctrine, the open DNA-helix frontend
model, and design system. Mzizi owns and operates the registry and this API. It is an
open-architecture project of the Bundu Foundation.
The Mzizi API follows resource-oriented design principles. All resources
are served as JSON with schema.org JSON-LD metadata, CORS headers, and CDN-friendly caching.
**Files are the data layer.** Every route answers from the files in
mzizi-dev/mzizi-registry: `registry.json`,
the component sources on disk, `content/doctrine/**` and the generated `lib/*` modules. There
is no database behind this API. Data that is not in those files, such as component version
history, is not served here.
**Base URL:** `https://api.mzizi.dev/v1`
**Registry:** every item across the nodes and rungs of the Mzizi DNA double helix, read from
`registry.json` and the files on disk. The live count is `meta.registryTotal` on `GET /v1/ui`;
counts are never hardcoded in this spec, so it cannot drift from the registry.
**MCP Server:** `https://mcp.mzizi.dev/mcp` (Streamable HTTP transport; `mzizi.dev/mcp` 308-redirects here)'
contact:
name: Mzizi
license:
name: MIT
identifier: MIT
servers:
- url: https://api.mzizi.dev/v1
description: Production
- url: http://localhost:3000/api/v1
description: Development
tags:
- name: Content
description: Documentation pages, changelog, AI instructions
paths:
/docs:
get:
summary: GONE — long-form documentation moved into the repo as MDX
description: 'Always returns HTTP 410 Gone.
Long-form documentation now lives in the repo as MDX (CLAUDE.md §15.18).
The `documentation_pages` Supabase table is HISTORICAL — content was
migrated in PR #57. The response body carries a `migrated_to` map that
lists the live URL for each former slug.'
operationId: listDocs
deprecated: true
tags:
- Content
responses:
'410':
description: Gone — see `migrated_to` for live URLs.
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
properties:
error:
type: string
example: Gone
message:
type: string
migrated_to:
type: object
additionalProperties:
type: string
format: uri
/docs/{slug}:
get:
summary: GONE — see /docs for the migration map
description: 'Always returns HTTP 410 Gone. See `GET /v1/docs` for the
per-slug → URL migration map.'
operationId: getDoc
deprecated: true
tags:
- Content
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'410':
description: Gone — see /docs for the migration map.
content:
application/json:
schema:
type: object
properties:
error:
type: string
example: Gone
message:
type: string
slug:
type: string
/changelog:
get:
summary: List releases
description: 'Every release, newest first, classified. Reads the `releases` view rather than the `changelog` table: ordering that table by `released_at` put ten undated 4.1.x rows above the current 1.0.0, because Postgres sorts NULLS FIRST on DESC. Ordering by semver instead would put 4.2.0 above 1.0.0, which is equally wrong — the version line was deliberately reset. `line` carries the era and the response is pre-sorted by it.'
operationId: listChangelog
tags:
- Content
responses:
'200':
description: Release list
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ChangelogEntry'
meta:
type: object
properties:
total:
type: integer
/changelog/{version}:
get:
summary: Get every entry published under a version
description: '`data` is an ARRAY: a version number is not unique. Eight of them carry two or three entries with different titles and content (4.0.31 has three). This route used a single-row query, and PostgREST answers the same error code for "more than one row" as for "no rows", so those eight versions answered 404 for a release that exists. The first entry is also spread at the top level so consumers written against the older single-object shape keep working.'
operationId: getRelease
tags:
- Content
parameters:
- name: version
in: path
required: true
schema:
type: string
example: 4.0.31
responses:
'200':
description: Every entry published under this version
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ChangelogEntry'
- type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ChangelogEntry'
meta:
type: object
properties:
version:
type: string
entries:
type: integer
'404':
$ref: '#/components/responses/NotFound'
/skills:
get:
summary: List published skills
description: 'Returns every skill (agent-skill MDX bodies) from the registry''s
published skills bundle, in the lightweight summary shape (no `body_mdx`).
Use `GET /skills/{name}` to fetch a single skill''s full body.
Skills are reusable workflows AI assistants invoke on specific
tasks. Distinct from `/ai/instructions`, which serve per-AI-target
system prompts.'
operationId: listSkills
tags:
- Content
responses:
'200':
description: 'Skill index in `{ data: SkillSummary[], meta: { count } }`'
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
name:
type: string
description:
type: string
agents:
type: array
items:
type: string
applies_to:
type: array
items:
type: string
requires_mcp:
type: boolean
version:
type: string
status:
type: string
nullable: true
updated_at:
type: string
format: date-time
meta:
type: object
properties:
count:
type: integer
/skills/summary:
get:
summary: Lightweight skill index for the CLI update path
description: 'The same document as `GET /skills`. Reserved for clients that
detect version drift cheaply (`meta.version`); gives `/skills`
headroom to add filtering or pagination later without breaking
that contract.'
operationId: getSkillsSummary
tags:
- Content
responses:
'200':
description: Skill summary index.
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
meta:
type: object
properties:
count:
type: integer
/skills/{name}:
get:
summary: Get a single skill (with full body_mdx)
description: 'Returns the full skill row including `body_mdx`. Used by
consumers that need to write the skill to disk or pipelines
doing direct `curl` against the API.
Validates `name` against `^[a-z][a-z0-9-]*$`. Returns 400 on
invalid pattern, and 404 when the name is well-formed but no
skill has it.'
operationId: getSkill
tags:
- Content
parameters:
- name: name
in: path
required: true
description: Kebab-case skill name (e.g. `mzizi-design`)
schema:
type: string
pattern: ^[a-z][a-z0-9-]*$
responses:
'200':
description: Skill with full `body_mdx` MDX content.
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: integer
name:
type: string
description:
type: string
body_mdx:
type: string
agents:
type: array
items:
type: string
applies_to:
type: array
items:
type: string
requires_mcp:
type: boolean
version:
type: string
status:
type: string
nullable: true
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
'400':
description: Invalid skill name pattern.
'404':
$ref: '#/components/responses/NotFound'
/ai/instructions:
get:
summary: List AI instruction sets
description: 'Lists the AI instruction sets (system prompts for Claude projects, GitHub Copilot and the
MCP server), read from `content/doctrine/ai-instructions` in the registry. Use
`GET /ai/instructions/{name}` for one set''s full text.'
operationId: listAiInstructions
tags:
- Content
responses:
'200':
description: Instruction set index
headers:
Cache-Control:
schema:
type: string
example: public, max-age=300, s-maxage=3600
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
type: object
required:
- name
- target
properties:
name:
type: string
example: nyuchi-mcp-system-prompt
target:
type: string
example: mcp-server
title:
type: string
description: Present only when the doctrine row has one.
description:
type: string
version:
type: string
example: '2.4'
updated_at:
type: string
description: Present only when the doctrine row has one.
meta:
type: object
properties:
total:
type: integer
'500':
$ref: '#/components/responses/InternalError'
/ai/instructions/{name}:
get:
summary: Get an AI instruction set by name or target
description: 'Returns one instruction set''s doctrine row in full, including `instruction_text`.
`name` is matched against the set''s name first (e.g. `nyuchi-mcp-system-prompt`), then
against its target (e.g. `mcp-server`, `github-copilot`, `claude-system-prompt`).'
operationId: getAiInstruction
tags:
- Content
parameters:
- name: name
in: path
required: true
description: An instruction set's name or its target.
schema:
type: string
example: mcp-server
responses:
'200':
description: Instruction set (the doctrine row, as authored)
headers:
Cache-Control:
schema:
type: string
example: public, max-age=300, s-maxage=3600
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
type: object
required:
- name
- target
- instruction_text
additionalProperties: true
properties:
name:
type: string
example: nyuchi-mcp-system-prompt
target:
type: string
example: mcp-server
description:
type: string
version:
type: string
example: '2.4'
currentVersion:
type: integer
doctrineVersion:
type: string
kind:
type: string
example: ai_instruction
status:
type: string
example: active
owner:
type: string
model:
type: string
example: mzizi-dna-helix
node:
type: integer
strand:
type: string
dnaRole:
type: string
applies_to_categories:
type: array
items:
type: string
instruction_text:
type: string
description: Full instruction text
'404':
description: No instruction set has this name or target
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: AI instruction "claude" not found
'500':
$ref: '#/components/responses/InternalError'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
ChangelogEntry:
type: object
required:
- version
- title
- description
- changed_by
- created_at
- released_at
properties:
version:
type: string
example: 4.0.40
title:
type: string
description:
type: string
line:
type: string
enum:
- public
- pre-1.0
description: Which version era this release belongs to. `public` is the 1.x line; `pre-1.0` is the internal 4.x iteration that 1.0.0 superseded. Both live in one table, which is why no single sort key orders the changelog correctly.
line_rank:
type: integer
description: Sort weight for `line` — public outranks pre-1.0.
major:
type: integer
nullable: true
minor:
type: integer
nullable: true
patch:
type: integer
nullable: true
release_kind:
type: string
enum:
- initial
- major
- minor
- patch
description: Compared to the predecessor within the SAME line — a patch bump in 4.1.x is not a major bump merely because 1.0.0 exists.
breaking:
type: boolean
nullable: true
components_touched:
type: integer
description: components_added + modified + deprecated + removed.
nodes_affected:
type: array
description: 'Nodes and rungs of the DNA double helix touched by this release. No upper bound: node numbers are labels, not a sequence, and the set is never capped.'
items:
type: integer
minimum: 1
components_added:
type: array
items:
type: string
components_modified:
type: array
items:
type: string
components_deprecated:
type: array
items:
type: string
components_removed:
type: array
items:
type: string
tools_added:
type: array
description: Mzizi tools — MCP tools, SDK helpers — added in this release.
items:
type: string
tools_modified:
type: array
items:
type: string
tools_deprecated:
type: array
items:
type: string
tools_removed:
type: array
items:
type: string
linked_issues:
type: array
description: GitHub issue / PR numbers referenced by this release.
items:
type: integer
total_stable:
type: integer
nullable: true
total_deprecated:
type: integer
nullable: true
total_alpha:
type: integer
nullable: true
changed_by:
type: string
created_at:
type: string
format: date-time
released_at:
type: string
format: date-time
headers:
CorsWildcard:
schema:
type: string
example: '*'
CachePublic:
schema:
type: string
example: public, max-age=3600, s-maxage=86400
responses:
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalError:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'