mashprime-dev Discovery API

API index and site orientation.

GitHub OpenAPI

Operations 2

GET /api/v1 API index: version, documentation links, and available endpoints #
GET /api/v1/site Who Mash Prime is, what the site covers, and where the machine-readable… #

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/mashprime-dev:mashprime-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

mashprime-dev-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mash Prime Discovery API
  version: 1.0.0
  summary: 'Read-only API for mashprime.dev: posts, search, and site information.'
  description: 'Read-only JSON API for mashprime.dev — essays and build notes on agentic systems from Mash Prime.


    **Authentication:** none. No API keys; every endpoint is public.


    **Versioning:** the major version is in the URL path (`/api/v1/`) and echoed in the `API-Version` response header. Additive changes (new fields, endpoints, error codes) ship within a version; anything breaking ships as a new path version. A version being retired first returns a `Deprecation` header (RFC 9745) and a `Sunset` header (RFC 8594) at least 90 days before removal, with a `Link: rel="successor-version"` to its replacement.


    **Rate limits:** 60 requests per 60 seconds per client IP. Every response carries `RateLimit-Policy` and `RateLimit` (draft-ietf-httpapi-ratelimit-headers) plus `X-RateLimit-Limit/Remaining/Reset`; a 429 adds `Retry-After`.


    **Errors:** every 4xx/5xx is an RFC 9457 `application/problem+json` object with a stable machine-readable `code` and a resolution `hint`.


    **Also available:** an MCP server (streamable HTTP) at https://mashprime.dev/mcp, and a markdown variant of every page via `Accept: text/markdown`.'
  contact:
    name: Mash Prime
    url: https://mashprime.dev/contact/
servers:
- url: https://mashprime.dev
  description: Production
security: []
tags:
- name: Discovery
  description: API index and site orientation.
paths:
  /api/v1:
    get:
      operationId: getApiIndex
      summary: 'API index: version, documentation links, and available endpoints'
      security: []
      tags:
      - Discovery
      description: Entry point for agents. Returns the API version, documentation links, rate-limit policy, and every available endpoint.
      responses:
        '200':
          description: API index.
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            API-Version:
              $ref: '#/components/headers/API-Version'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIndex'
        '429':
          description: 'Rate limit exceeded. Code: `rate_limited`.'
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: 'Unexpected server error. Code: `internal_error`.'
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /api/v1/site:
    get:
      operationId: getSiteInfo
      summary: Who Mash Prime is, what the site covers, and where the machine-readable…
      security: []
      tags:
      - Discovery
      description: 'Structured orientation: who Mash Prime is, what the site covers, and the URLs of every machine-readable resource (OpenAPI, MCP server, llms.txt, RSS).'
      responses:
        '200':
          description: Site information.
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            API-Version:
              $ref: '#/components/headers/API-Version'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SiteInfo'
        '429':
          description: 'Rate limit exceeded. Code: `rate_limited`.'
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: 'Unexpected server error. Code: `internal_error`.'
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    ApiIndex:
      type: object
      description: API entry point.
      properties:
        name:
          type: string
          description: API name.
        version:
          type: string
          description: Current major version.
        supported_versions:
          type: array
          description: Path versions currently served.
          items:
            type: string
        base_url:
          type: string
          description: Base URL of this version.
          format: uri
        documentation:
          type: string
          description: Developer documentation.
          format: uri
        openapi:
          type: string
          description: This OpenAPI document.
          format: uri
        authentication:
          type: string
          description: Authentication scheme.
          enum:
          - none
        rate_limit:
          type: object
          description: Per-client rate-limit policy.
          properties:
            limit:
              type: integer
              description: Requests per window.
            window_seconds:
              type: integer
              description: Window length in seconds.
          required:
          - limit
          - window_seconds
          additionalProperties: false
        endpoints:
          type: array
          description: Available endpoints.
          items:
            type: object
            properties:
              method:
                type: string
                description: HTTP method.
              path:
                type: string
                description: Path template.
              operation_id:
                type: string
                description: OpenAPI operationId.
              summary:
                type: string
                description: What the endpoint does.
            required:
            - method
            - path
            - operation_id
            - summary
            additionalProperties: false
      required:
      - name
      - version
      - supported_versions
      - base_url
      - documentation
      - openapi
      - authentication
      - rate_limit
      - endpoints
      additionalProperties: false
    SiteInfo:
      type: object
      description: Who Mash Prime is and where the machine-readable resources live.
      properties:
        name:
          type: string
          description: Site name.
        tagline:
          type: string
          description: Site tagline.
        description:
          type: string
          description: What the site covers.
        url:
          type: string
          description: Home page.
          format: uri
        author:
          type: object
          description: Site author.
          properties:
            name:
              type: string
              description: Author name.
            location:
              type: string
              description: Author location.
          required:
          - name
          - location
          additionalProperties: false
        topics:
          type: array
          description: Main topics.
          items:
            type: string
        resources:
          type: object
          description: Machine-readable resources and key pages.
          properties:
            developers:
              type: string
              description: developers
              format: uri
            openapi:
              type: string
              description: openapi
              format: uri
            api_catalog:
              type: string
              description: api catalog
              format: uri
            mcp_endpoint:
              type: string
              description: mcp endpoint
              format: uri
            mcp_server_card:
              type: string
              description: mcp server card
              format: uri
            llms_txt:
              type: string
              description: llms txt
              format: uri
            rss:
              type: string
              description: rss
              format: uri
            sitemap:
              type: string
              description: sitemap
              format: uri
            contact:
              type: string
              description: contact
              format: uri
          additionalProperties:
            type: string
            format: uri
      required:
      - name
      - tagline
      - description
      - url
      - author
      - topics
      - resources
      additionalProperties: false
    Problem:
      type: object
      description: RFC 9457 problem details, extended with a stable `code` and a resolution `hint`.
      properties:
        type:
          type: string
          description: URI identifying the problem type; resolves to its documentation.
          format: uri
        title:
          type: string
          description: Short, human-readable summary of the problem type.
        status:
          type: integer
          description: HTTP status code.
          minimum: 400
          maximum: 599
        detail:
          type: string
          description: Explanation specific to this occurrence.
        instance:
          type: string
          description: Request path (and query) that produced the problem.
        code:
          type: string
          description: Stable machine-readable error code.
          enum:
          - invalid_slug
          - missing_query
          - invalid_parameter
          - query_too_long
          - not_found
          - post_not_found
          - unsupported_version
          - method_not_allowed
          - rate_limited
          - internal_error
          - upstream_unavailable
        hint:
          type: string
          description: How to resolve the problem.
        documentation:
          type: string
          description: Link to the error reference.
          format: uri
        request_id:
          type: string
          description: Request identifier, when available; include it in bug reports.
      required:
      - type
      - title
      - status
      - detail
      - code
      - hint
  headers:
    X-RateLimit-Limit:
      description: Requests allowed per window.
      schema:
        type: integer
    Deprecation:
      description: RFC 9745. Present only once this API version is deprecated; value is the deprecation date, e.g. `@1767225600`.
      schema:
        type: string
    X-RateLimit-Reset:
      description: Unix epoch seconds when the current window resets.
      schema:
        type: integer
    RateLimit:
      description: Remaining quota and seconds until reset for the current window, e.g. `"default";r=59;t=42`.
      schema:
        type: string
    X-RateLimit-Remaining:
      description: Requests left in the current window.
      schema:
        type: integer
    RateLimit-Policy:
      description: Quota policy, e.g. `"default";q=60;w=60`.
      schema:
        type: string
    Sunset:
      description: RFC 8594. Present only once a removal date is set; HTTP-date after which this version stops responding.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying (429 responses only).
      schema:
        type: integer
    API-Version:
      description: Major API version that served the request.
      schema:
        type: string
        example: '1'
externalDocs:
  description: Mash Prime developer docs
  url: https://mashprime.dev/developers/