Mzizi Architecture API
Ecosystem architecture, data layer, pipeline, sovereignty, the DNA-helix frontend model
Ecosystem architecture, data layer, pipeline, sovereignty, the DNA-helix frontend model
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-architecture-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 Architecture 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: Architecture
description: Ecosystem architecture, data layer, pipeline, sovereignty, the DNA-helix frontend model
paths:
/ecosystem:
get:
summary: Ecosystem Architecture
description: 'Returns architecture principles (Ubuntu, local-first, mobile-first,
open-source/sovereign, open-data) and the framework decision (Next.js + Capacitor).
Includes schema.org JSON-LD metadata (`@context`, `@type: TechArticle`).'
operationId: getEcosystem
tags:
- Architecture
responses:
'200':
description: Ecosystem architecture
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
$ref: '#/components/schemas/EcosystemArchitecture'
'500':
$ref: '#/components/responses/InternalError'
/data-layer:
get:
summary: Data Layer Architecture
description: 'Returns the local-first data layer (RxDB, SQLite, IndexedDB),
cloud services (Supabase, CouchDB), and data ownership rules.
Includes schema.org JSON-LD metadata (`@context`, `@type: TechArticle`).'
operationId: getDataLayer
tags:
- Architecture
responses:
'200':
description: Data layer specification
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
$ref: '#/components/schemas/DataLayerArchitecture'
'500':
$ref: '#/components/responses/InternalError'
/pipeline:
get:
summary: Open Data Pipeline
description: 'Returns the open data pipeline stages — Redpanda event streaming,
Apache Flink PII stripping, and Apache Doris analytics.
Includes schema.org JSON-LD metadata (`@context`, `@type: TechArticle`).'
operationId: getPipeline
tags:
- Architecture
responses:
'200':
description: Pipeline stages
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineArchitecture'
'500':
$ref: '#/components/responses/InternalError'
/sovereignty:
get:
summary: Technology Sovereignty
description: 'Returns sovereignty assessments for every technology in the stack,
including removed technologies and migration notes.
Includes schema.org JSON-LD metadata (`@context`, `@type: TechArticle`).'
operationId: getSovereignty
tags:
- Architecture
responses:
'200':
description: Sovereignty assessments
headers:
Cache-Control:
$ref: '#/components/headers/CachePublic'
Access-Control-Allow-Origin:
$ref: '#/components/headers/CorsWildcard'
content:
application/json:
schema:
$ref: '#/components/schemas/SovereigntyReport'
'500':
$ref: '#/components/responses/InternalError'
/architecture:
get:
summary: Architecture snapshot (DNA double helix)
description: 'Full snapshot of the Mzizi DNA double helix — every node and rung with its
covenant, stakeholder, implementation rules and live component count, plus the
strands that group them by backbone. There are no axes and no outliers.
Reads the helix doctrine under `content/doctrine/` in the registry, with each node''s
component count derived from where the component files live on disk.
`data` is an object with `nodes`, `rungs`, and `strands` arrays. An empty model
returns 200 with empty arrays and `meta.empty: true`, so a consumer can
distinguish "the collection is empty" from "the request failed"; nothing is
substituted from a fallback. ISR cache: 1 hour.'
operationId: getArchitectureSnapshot
tags:
- Architecture
responses:
'200':
description: Snapshot of the helix — strands with their nodes, plus the rungs.
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:
nodes:
type: array
items:
type: object
rungs:
type: array
items:
type: object
strands:
type: array
items:
type: object
meta:
type: object
properties:
model:
type: string
example: mzizi-dna-helix
node_count:
type: integer
rung_count:
type: integer
strand_count:
type: integer
empty:
type: boolean
description: True when the collection returned nothing. The response is still 200 with empty arrays — an empty model is reported honestly rather than filled with a fallback.
source:
type: string
version:
type: string
/architecture/axes:
get:
summary: Per-axis summary (retired)
description: '**HTTP 410 Gone — retired.** The axis model is retired. Mzizi serves the
DNA double helix: nodes on an engineering backbone and a meaning
backbone, held together by cross-cutting rungs. There are no axes, no
outliers, no 3D and no X/Y/Z.
Wrapped `get_axes_summary()`, which returned four rows — horizontal / vertical / depth / outlier —
with every count zeroed after the helix migration.
Retired rather than remapped — emitting strand data through an
axis-shaped field would look correct and teach the wrong model to every
consumer that read it.
Replaced by:
- `GET /architecture` — the helix snapshot
- MCP `get_node_counts` — per-node counts'
operationId: architecture-axes-gone
tags:
- Architecture
responses:
'410':
description: Gone — the axis model is retired.
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
model:
type: string
example: mzizi-dna-helix
migrated_to:
type: object
additionalProperties:
type: string
/architecture/nodes/{n}:
get:
summary: Per-node detail (covenant, stakeholder, rules, component count)
description: 'One element of the DNA double helix — a node on a strand or a cross-cutting
rung — with its covenant, stakeholder, implementation rules, strand, backbone
and live component count. Reads
`component_documents` / `documentation-architecture-nodes`.
**`n` has no upper bound.** Node numbers are labels, not a sequence, and the
set is never capped, so a `maximum` here would be the defect rather than a
validation — the `1-10` bound on the retired `/architecture/layers/{n}` is
exactly what made N11 unreachable. Whether `n` exists is answered by the
collection: a missing number is 404, not 400. 400 is reserved for input that
is not a positive integer at all.'
operationId: getHelixNode
tags:
- Architecture
parameters:
- name: n
in: path
required: true
schema:
type: integer
minimum: 1
responses:
'200':
description: Node or rung detail with covenant, stakeholder, and rules.
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
meta:
type: object
properties:
model:
type: string
example: mzizi-dna-helix
version:
type: string
'400':
description: '`n` is not a positive integer.'
'404':
$ref: '#/components/responses/NotFound'
/architecture/layers/{n}:
get:
summary: Per-layer detail (retired)
description: '**HTTP 410 Gone — retired.** Wrapped `get_layer_detail(p_layer_number int)`
and served an `axis_name` on every row behind a `1-10` bound. Both halves
were the retired model: nothing belongs to an axis because there are none,
and the node set is never capped — that bound is what made N11 unreachable.
Retired rather than kept as a stable alias. The `layers` segment was
previously preserved "for URL stability", and a stable URL serving retired
vocabulary is how the drift spread.
Replaced by:
- `GET /architecture/nodes/{n}` — the same unit, uncapped, no axis field
- `GET /architecture` — the whole helix
- MCP `get_node_documents` — the live node/strand documents
The SITE path `/architecture/layers/{n}` is a permanent redirect to
`/architecture/nodes/{n}`, so a human following an old link still lands on
the page.'
operationId: architecture-layers-gone
tags:
- Architecture
parameters:
- name: n
in: path
required: true
schema:
type: integer
minimum: 1
responses:
'410':
description: Gone — the layer model is retired.
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
model:
type: string
example: mzizi-dna-helix
migrated_to:
type: object
additionalProperties:
type: string
/architecture/frontend/axes:
get:
summary: Frontend axes (retired)
description: '**HTTP 410 Gone — retired.** The axis model is retired. Mzizi serves the
DNA double helix: nodes on an engineering backbone and a meaning
backbone, held together by cross-cutting rungs. There are no axes, no
outliers, no 3D and no X/Y/Z.
Served one row per axis with a `geometry` field carrying horizontal / vertical / depth / external.
Retired rather than remapped — emitting strand data through an
axis-shaped field would look correct and teach the wrong model to every
consumer that read it.
Replaced by:
- `GET /architecture` — the helix snapshot
- MCP `get_node_documents`'
operationId: architecture-frontend-axes-gone
tags:
- Architecture
responses:
'410':
description: Gone — the axis model is retired.
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
model:
type: string
example: mzizi-dna-helix
migrated_to:
type: object
additionalProperties:
type: string
/architecture/frontend/layers:
get:
summary: Frontend layers (retired)
description: '**HTTP 410 Gone — retired.** The axis model is retired. Mzizi serves the
DNA double helix: nodes on an engineering backbone and a meaning
backbone, held together by cross-cutting rungs. There are no axes, no
outliers, no 3D and no X/Y/Z.
Served `layerNumber` / `subLabel` / `axisName` per row — layer-era vocabulary in which every unit belonged to an axis.
Retired rather than remapped — emitting strand data through an
axis-shaped field would look correct and teach the wrong model to every
consumer that read it.
Replaced by:
- `GET /architecture/nodes/{n}` — per-node detail
- MCP `get_node_documents` — live node and strand documents'
operationId: architecture-frontend-layers-gone
tags:
- Architecture
responses:
'410':
description: Gone — the axis model is retired.
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
model:
type: string
example: mzizi-dna-helix
migrated_to:
type: object
additionalProperties:
type: string
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
DataLayerTechnology:
type: object
required:
- name
- role
- platform
- description
- sovereignty
properties:
name:
type: string
role:
type: string
platform:
type: string
enum:
- native
- browser
- both
description:
type: string
sovereignty:
$ref: '#/components/schemas/SovereigntyAssessment'
SovereigntyAssessment:
type: object
required:
- technology
- role
- license
- governance
- sovereigntyRisk
- forkable
- selfHostable
- rationale
properties:
technology:
type: string
role:
type: string
license:
type: string
governance:
type: string
sovereigntyRisk:
type: string
enum:
- none
- low
- removed
forkable:
type: boolean
selfHostable:
type: boolean
rationale:
type: string
CloudService:
type: object
required:
- name
- role
- consistencyModel
- database
- dataCategories
- description
- sovereignty
properties:
name:
type: string
role:
type: string
consistencyModel:
type: string
enum:
- strict
- eventual
database:
type: string
dataCategories:
type: array
items:
type: string
description:
type: string
sovereignty:
$ref: '#/components/schemas/SovereigntyAssessment'
PlatformTarget:
type: object
required:
- name
- strategy
- status
properties:
name:
type: string
strategy:
type: string
status:
type: string
enum:
- production
- planned
- research
RemovedTechnology:
type: object
required:
- name
- previousRole
- reason
- replacement
- migrationPath
properties:
name:
type: string
previousRole:
type: string
reason:
type: string
replacement:
type: string
migrationPath:
type: string
ArchitecturePrinciple:
type: object
required:
- name
- title
- description
- rationale
- implementation
properties:
name:
type: string
title:
type: string
description:
type: string
rationale:
type: string
implementation:
type: string
DataLayerArchitecture:
type: object
required:
- '@context'
- '@type'
- name
- localDataLayer
- cloudLayer
- dataOwnership
properties:
'@context':
type: string
const: https://schema.org
'@type':
type: string
const: TechArticle
name:
type: string
example: Mukoko Data Layer Architecture
localDataLayer:
type: array
items:
$ref: '#/components/schemas/DataLayerTechnology'
cloudLayer:
type: array
items:
$ref: '#/components/schemas/CloudService'
dataOwnership:
type: array
items:
$ref: '#/components/schemas/DataOwnershipRule'
FrameworkDecision:
type: object
required:
- name
- approach
- framework
- rationale
- sovereigntyAdvantage
- platforms
- harmonyOs
properties:
name:
type: string
approach:
type: string
framework:
type: string
rationale:
type: string
sovereigntyAdvantage:
type: string
platforms:
type: array
items:
$ref: '#/components/schemas/PlatformTarget'
harmonyOs:
type: object
required:
- approach
- rationale
- status
properties:
approach:
type: string
rationale:
type: string
status:
type: string
DataOwnershipRule:
type: object
required:
- category
- consistencyModel
- database
- examples
- ownership
- description
properties:
category:
type: string
consistencyModel:
type: string
enum:
- strict
- eventual
- aggregate
database:
type: string
examples:
type: array
items:
type: string
conflictResolution:
type: string
ownership:
type: string
enum:
- user-private
- community-shared
- public-open
description:
type: string
SovereigntyReport:
type: object
required:
- '@context'
- '@type'
- name
- assessments
- removedTechnologies
properties:
'@context':
type: string
const: https://schema.org
'@type':
type: string
const: TechArticle
name:
type: string
example: Mukoko Technology Sovereignty
assessments:
type: array
items:
$ref: '#/components/schemas/SovereigntyAssessment'
removedTechnologies:
type: array
items:
$ref: '#/components/schemas/RemovedTechnology'
PipelineStage:
type: object
required:
- name
- role
- description
- sovereignty
properties:
name:
type: string
role:
type: string
description:
type: string
sovereignty:
$ref: '#/components/schemas/SovereigntyAssessment'
PipelineArchitecture:
type: object
required:
- '@context'
- '@type'
- name
- stages
properties:
'@context':
type: string
const: https://schema.org
'@type':
type: string
const: TechArticle
name:
type: string
example: Mukoko Open Data Pipeline
stages:
type: array
items:
$ref: '#/components/schemas/PipelineStage'
EcosystemArchitecture:
type: object
required:
- '@context'
- '@type'
- name
- principles
- frameworkDecision
properties:
'@context':
type: string
const: https://schema.org
'@type':
type: string
const: TechArticle
name:
type: string
example: Mukoko Ecosystem Architecture
principles:
type: array
minItems: 5
items:
$ref: '#/components/schemas/ArchitecturePrinciple'
frameworkDecision:
$ref: '#/components/schemas/FrameworkDecision'
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'