Mzizi Discovery API

API metadata, health, search, stats

GitHub OpenAPI

Operations 4

GET / API Discovery #
GET /health Health Check #
GET /stats Public usage statistics (open data — CC BY 4.0) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mzizi-dev:mzizi-dev-discovery-api"
All apis
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.

Get an API 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 Specification

mzizi-dev-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mzizi Discovery 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: Discovery
  description: API metadata, health, search, stats
paths:
  /:
    get:
      summary: API Discovery
      description: Returns a discovery document listing all available resources.
      operationId: getApiDiscovery
      tags:
      - Discovery
      responses:
        '200':
          description: Discovery document with schema.org WebAPI metadata
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDiscovery'
        '500':
          $ref: '#/components/responses/InternalError'
  /health:
    get:
      summary: Health Check
      description: 'Returns structured health status for monitoring.

        Compatible with Vercel, Datadog, and standard health check protocols.

        No caching — always returns live status.'
      operationId: getHealth
      tags:
      - Discovery
      responses:
        '200':
          description: All checks passing
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, no-store
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthStatus'
        '503':
          description: One or more checks failing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthStatus'
  /search:
    get:
      summary: Search components
      description: 'Searches the registry on disk. `q` is a case-insensitive substring of a component''s

        name or description, `node` is its node on the helix, and `category` is one of its

        `categories`. Parameters combine (AND), and at least one is required.'
      operationId: search
      tags:
      - Discovery
      parameters:
      - name: q
        in: query
        required: false
        description: Case-insensitive substring of the name or description.
        schema:
          type: string
          example: button
      - name: node
        in: query
        required: false
        description: Node number on the helix, as written (e.g. `2`).
        schema:
          type: string
          example: '2'
      - name: category
        in: query
        required: false
        description: One of the component's `categories`.
        schema:
          type: string
      - name: layer
        in: query
        required: false
        deprecated: true
        description: 'Deprecated alias of `node`, kept so older clients keep their results. When it is

          used (and `node` is not), the response carries `meta.deprecation` and a

          `Deprecation: true` header. `node` wins when both are given. It will be removed.

          '
        schema:
          type: string
      responses:
        '200':
          description: Matching components, in registry order
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=300, s-maxage=3600
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
            Deprecation:
              description: '`true` when the request filtered with the deprecated `layer` parameter.'
              schema:
                type: string
                example: 'true'
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - meta
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                      - name
                      properties:
                        name:
                          type: string
                        type:
                          type: string
                          example: registry:ui
                        title:
                          type: string
                        description:
                          type: string
                        categories:
                          type: array
                          items:
                            type: string
                        node:
                          type: integer
                        nodeLabel:
                          type: string
                  meta:
                    type: object
                    required:
                    - total
                    - query
                    - node
                    - category
                    properties:
                      total:
                        type: integer
                      query:
                        type:
                        - string
                        - 'null'
                      node:
                        type:
                        - string
                        - 'null'
                      category:
                        type:
                        - string
                        - 'null'
                      deprecation:
                        type: string
                        description: Present only when the deprecated `layer` parameter was used.
        '400':
          description: None of q, node (or layer) and category was given
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: At least one of q, node, or category is required
        '500':
          $ref: '#/components/responses/InternalError'
  /stats:
    get:
      summary: Public usage statistics (open data — CC BY 4.0)
      description: 'The public usage dataset — aligned with the bundu open data philosophy.

        Usage telemetry is not part of the registry''s files, so the aggregate

        counts (calls, errors, latency, top components, top tools) are zero.

        `layers` holds the real per-node component counts, derived from the

        registry on disk. Carries schema.org `Dataset` JSON-LD + CC BY 4.0

        license. Never hardcoded.'
      operationId: getStats
      tags:
      - Discovery
      parameters:
      - name: days
        in: query
        required: false
        description: Lookback period in days. Clamped to [1, 90].
        schema:
          type: integer
          minimum: 1
          maximum: 90
          default: 30
      responses:
        '200':
          description: Stats
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=60, s-maxage=120
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                type: object
                properties:
                  '@context':
                    type: string
                    const: https://schema.org
                  '@type':
                    type: string
                    const: Dataset
                  name:
                    type: string
                  description:
                    type: string
                  license:
                    type: string
                    format: uri
                  total_api_calls:
                    type: integer
                  total_mcp_calls:
                    type: integer
                  layers:
                    type: object
                    additionalProperties:
                      type: integer
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    HealthCheck:
      type: object
      required:
      - status
      - latencyMs
      properties:
        status:
          type: string
          enum:
          - pass
          - fail
        latencyMs:
          type: integer
        message:
          type: string
        itemCount:
          type: integer
    ApiDiscovery:
      type: object
      required:
      - '@context'
      - '@type'
      - name
      - version
      - description
      - homepage
      - resources
      properties:
        $schema:
          type: string
          example: https://mzizi.dev/schema/api.json
        '@context':
          type: string
          const: https://schema.org
        '@type':
          type: string
          const: WebAPI
        name:
          type: string
          example: Mzizi API
        version:
          type: string
          example: 1.0.0
        description:
          type: string
        homepage:
          type: string
          format: uri
          example: https://mzizi.dev
        data:
          type: object
          description: Where the data comes from. There is no database; the files are the data layer.
          properties:
            source:
              type: string
              const: files
            repository:
              type: string
              format: uri
              example: https://github.com/mzizi-dev/mzizi-registry
            components:
              type: integer
              description: Live registry count.
        resources:
          type: object
          additionalProperties:
            type: object
            required:
            - href
            - description
            properties:
              href:
                type: string
              description:
                type: string
    HealthStatus:
      type: object
      required:
      - status
      - timestamp
      - checks
      - version
      properties:
        status:
          type: string
          enum:
          - healthy
          - degraded
          - unhealthy
        timestamp:
          type: string
          format: date-time
        checks:
          type: object
          required:
          - registry
          - filesystem
          properties:
            registry:
              $ref: '#/components/schemas/HealthCheck'
            filesystem:
              $ref: '#/components/schemas/HealthCheck'
        version:
          type: string
  headers:
    CorsWildcard:
      schema:
        type: string
        example: '*'
    CachePublic:
      schema:
        type: string
        example: public, max-age=3600, s-maxage=86400
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'