ModelMarket Plugin Provenance API

The plugin-provenance API from ModelMarket — 4 operation(s) for plugin-provenance.

GitHub OpenAPI

Operations 4

POST /ai-market/v2/p/provenance/attest Attest #
GET /ai-market/v2/p/provenance/receipt/{receipt_id} Get Receipt #
GET /ai-market/v2/p/provenance/verify/{receipt_id} Verify #
GET /ai-market/v2/p/provenance/anchor/{receipt_id} Anchor Status #

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/modelmarket-dev:modelmarket-dev-plugin-provenance-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

modelmarket-dev-plugin-provenance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: modelmarket.dev — AIMarket Hub v3 Plugin Provenance API
  description: Lean federation hub for AI capability discovery and routing. Plugins extend functionality.
  version: 3.21.0
tags:
- name: plugin-provenance
paths:
  /ai-market/v2/p/provenance/attest:
    post:
      tags:
      - plugin-provenance
      summary: Attest
      description: 'Create a self-contained AWR/2 ``WorkReceipt``.


        Requires Bearer token in Authorization header if

        AIMARKET_PROVENANCE_API_TOKEN is configured.'
      operationId: attest_ai_market_v2_p_provenance_attest_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Attest Ai Market V2 P Provenance Attest Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ai-market/v2/p/provenance/receipt/{receipt_id}:
    get:
      tags:
      - plugin-provenance
      summary: Get Receipt
      description: 'Retrieve an immutable AWR document with narrow, GET-only CORS.


        The verifier and USE portal need to fetch this public document in the

        caller''s browser. Adding those origins to the hub-wide CORS middleware

        would also authorize cross-origin POSTs to state-changing routes. The

        receipt endpoint therefore emits ACAO itself only for the two explicit

        read surfaces; every other origin can still navigate to the public JSON

        but cannot read it from script.'
      operationId: get_receipt_ai_market_v2_p_provenance_receipt__receipt_id__get
      parameters:
      - name: receipt_id
        in: path
        required: true
        schema:
          type: string
          title: Receipt Id
      - name: origin
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Origin
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ai-market/v2/p/provenance/verify/{receipt_id}:
    get:
      tags:
      - plugin-provenance
      summary: Verify
      description: Verify a provenance receipt by ID — all checks (public).
      operationId: verify_ai_market_v2_p_provenance_verify__receipt_id__get
      parameters:
      - name: receipt_id
        in: path
        required: true
        schema:
          type: string
          title: Receipt Id
      - name: profile
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Profile
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Verify Ai Market V2 P Provenance Verify  Receipt Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ai-market/v2/p/provenance/anchor/{receipt_id}:
    get:
      tags:
      - plugin-provenance
      summary: Anchor Status
      description: 'Where this receipt stands in HISTOR''s receipts log (anchoring.py).


        A row pruned from the outbox is answered from the log itself, so an anchored

        receipt never reads as "not_queued" once its row has aged out.'
      operationId: anchor_status_ai_market_v2_p_provenance_anchor__receipt_id__get
      parameters:
      - name: receipt_id
        in: path
        required: true
        schema:
          type: string
          title: Receipt Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Anchor Status Ai Market V2 P Provenance Anchor  Receipt Id  Get
        '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
    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