SpecProof Impact API

The impact API from SpecProof — 8 operation(s) for impact.

GitHub OpenAPI

Operations 8

GET /specs/versions List Versions #
GET /specs/diff Diff Spec Versions #
GET /specs/timeline Spec Timeline #
GET /specs/impact Spec Impact #
POST /artifacts/stale-scan Stale Scan #
GET /specs/rfc/{rfc}/lineage Rfc Lineage #
POST /artifacts/{artifact_id}/regenerate Regenerate Artifact #
POST /generate/suite Build Cross Spec Suite #

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/specproof-ai:specproof-ai-impact-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

specproof-ai-impact-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SpecProof Portal Impact API
  version: 1.0.0
tags:
- name: Impact
paths:
  /specs/versions:
    get:
      tags:
      - Impact
      summary: List Versions
      operationId: list_versions_specs_versions_get
      parameters:
      - name: spec_base
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: e.g. '38331'; omit to list all specs with >1 version
          title: Spec Base
        description: e.g. '38331'; omit to list all specs with >1 version
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 200
          title: Limit
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /specs/diff:
    get:
      tags:
      - Impact
      summary: Diff Spec Versions
      description: 'What changed normatively between two documents — two versions of a spec, or an RFC and

        the RFC that obsoletes it.'
      operationId: diff_spec_versions_specs_diff_get
      parameters:
      - name: spec_base
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: e.g. '38331'
          title: Spec Base
        description: e.g. '38331'
      - name: from_version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: e.g. 'j20'
          title: From Version
        description: e.g. 'j20'
      - name: to_version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: e.g. 'j30'
          title: To Version
        description: e.g. 'j30'
      - name: from_doc
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: document id (unambiguous; use for MPEG/RFC)
          title: From Doc
        description: document id (unambiguous; use for MPEG/RFC)
      - name: to_doc
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: To Doc
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /specs/timeline:
    get:
      tags:
      - Impact
      summary: Spec Timeline
      description: 'The revision history of a spec: every version, and the normative delta across each

        consecutive pair. Powers the revision tracker and its hover overlays.


        Bounded to the newest `limit` versions — MPEG publishes >100 documents for some parts, and

        diffing every consecutive pair of those on a page load would be absurd. What was dropped is

        reported rather than silently truncated.'
      operationId: spec_timeline_specs_timeline_get
      parameters:
      - name: spec_base
        in: query
        required: true
        schema:
          type: string
          title: Spec Base
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 20
          minimum: 2
          description: how many of the newest versions to walk
          default: 10
          title: Limit
        description: how many of the newest versions to walk
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /specs/impact:
    get:
      tags:
      - Impact
      summary: Spec Impact
      description: 'Blast radius of a version bump: which specs depend on this one, and which of *your*

        artifacts are built on clauses that changed.'
      operationId: spec_impact_specs_impact_get
      parameters:
      - name: spec_base
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Spec Base
      - name: from_version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: From Version
      - name: to_version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: To Version
      - name: from_doc
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: From Doc
      - name: to_doc
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: To Doc
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artifacts/stale-scan:
    post:
      tags:
      - Impact
      summary: Stale Scan
      description: 'Flag this org''s artifacts affected by a spec moving on — a version bump, or an RFC being

        obsoleted by another.


        Three outcomes per artifact, and the distinction matters:

        · the clause was **reworded** -> stale, and we record where it now lives, so it can be

        regenerated in one click;

        · the clause was **removed** -> stale, and NOT regenerable: there is nothing to write a

        test against, so we say so instead of inventing a target;

        · the clause was **carried over** into a new document (only possible across an RFC

        obsolescence) -> stale only because it now lives in a different RFC; regenerating

        re-anchors the test to its new home.'
      operationId: stale_scan_artifacts_stale_scan_post
      parameters:
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaleScanRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /specs/rfc/{rfc}/lineage:
    get:
      tags:
      - Impact
      summary: Rfc Lineage
      description: 'An RFC''s change history. RFCs are immutable — they are never revised, only obsoleted or

        updated by other RFCs — so this graph, not a version diff, IS their revision history.


        Returns the four directions (what it obsoletes/updates, and what obsoletes/updates it) plus

        this org''s tests written against it, so an obsoleted RFC surfaces as work to do.'
      operationId: rfc_lineage_specs_rfc__rfc__lineage_get
      parameters:
      - name: rfc
        in: path
        required: true
        schema:
          type: string
          title: Rfc
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artifacts/{artifact_id}/regenerate:
    post:
      tags:
      - Impact
      summary: Regenerate Artifact
      description: Queue a regeneration of a stale artifact against the clause as it now reads.
      operationId: regenerate_artifact_artifacts__artifact_id__regenerate_post
      parameters:
      - name: artifact_id
        in: path
        required: true
        schema:
          type: string
          title: Artifact Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /generate/suite:
    post:
      tags:
      - Impact
      summary: Build Cross Spec Suite
      description: 'Assemble a suite for one procedure across a spec *and the specs it normatively references*,

        then queue a generation job per requirement.


        A procedure like registration is never described in one spec — this is what makes the suite

        cross-spec rather than a per-document filter.'
      operationId: build_cross_spec_suite_generate_suite_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      - name: X-Org-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuiteRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StaleScanRequest:
      properties:
        spec_base:
          anyOf:
          - type: string
          - type: 'null'
          title: Spec Base
        from_version:
          anyOf:
          - type: string
          - type: 'null'
          title: From Version
        to_version:
          anyOf:
          - type: string
          - type: 'null'
          title: To Version
        from_doc:
          anyOf:
          - type: integer
          - type: 'null'
          title: From Doc
        to_doc:
          anyOf:
          - type: integer
          - type: 'null'
          title: To Doc
      type: object
      title: StaleScanRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SuiteRequest:
      properties:
        spec_base:
          type: string
          title: Spec Base
        version_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Version Label
        keyword:
          type: string
          title: Keyword
        target:
          type: string
          title: Target
          default: pytest
        include_references:
          type: boolean
          title: Include References
          default: true
        max_requirements:
          type: integer
          title: Max Requirements
          default: 15
      type: object
      required:
      - spec_base
      - keyword
      title: SuiteRequest