Cyberelf Labs Safepatch API

The Safepatch API from Cyberelf Labs — 1 operation(s) for safepatch.

Operations 1

POST /api/safepatch Apply a section-scoped Markdown patch under conservation checks #

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/cyberelf-link:cyberelf-link-safepatch-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cyberelf-link-safepatch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Verifier-grounded evaluation tools for AI systems. Workbench and report-card requests are stateless and unauthenticated; payloads and results are not persisted. Open Promotion Bench may persist only an opt-in public manifest and sanitized receipt, never task contents or answers. Operational counters and standard access logs are retained.
  license:
    name: AGPL-3.0-or-later
    url: https://www.gnu.org/licenses/agpl-3.0.html
  title: Whetstone Tools Safepatch API
  version: 0.8.0
  x-build-commit: 780558024ed039fc19bd626d956b4bd3267d61f5
servers:
- url: https://whetstone.cyberelf.link
tags:
- name: Safepatch
paths:
  /api/safepatch:
    post:
      operationId: safepatch
      requestBody:
        content:
          application/json:
            example:
              document: '# Summary

                Release 4 ships July 12, 2026.


                # Notes

                The draft is wordy.

                '
              operations:
              - allow_token_changes: []
                find: The draft is wordy.
                replace: The draft is concise.
                target_heading: Notes
              reason: Tighten the Notes section only.
            schema:
              additionalProperties: false
              description: Apply deterministic, section-scoped Markdown replacements under conservation checks.
              properties:
                document:
                  description: Complete Markdown document to patch.
                  maxLength: 200000
                  minLength: 1
                  type: string
                operations:
                  items:
                    additionalProperties: false
                    properties:
                      allow_token_changes:
                        description: Protected literal tokens that this operation may intentionally change.
                        items:
                          type: string
                        maxItems: 100
                        type: array
                      find:
                        minLength: 1
                        type: string
                      replace:
                        type: string
                      target_heading:
                        description: 'Markdown heading text without the leading # characters.'
                        minLength: 1
                        type: string
                    required:
                    - target_heading
                    - find
                    - replace
                    type: object
                  maxItems: 50
                  minItems: 1
                  type: array
                reason:
                  type: string
              required:
              - document
              - operations
              type: object
        required: true
      responses:
        '200':
          description: Deterministic receipt with item-level decision path and SHA-256 hashes.
        '400':
          description: Input error (a hint points at /api/examples).
        '429':
          description: Rate limited.
      summary: Apply a section-scoped Markdown patch under conservation checks
      tags:
      - Safepatch