Rightshold Notary API

The Notary API from Rightshold — 3 operation(s) for notary.

GitHub OpenAPI

Operations 4

GET /v1/tool-calls Notarized tool calls for MCP servers (rs-tool-call/1): the canonical call… #
POST /v1/tool-calls Notarize one MCP tool call: send only the SHA-256 of the canonical call record… #
POST /v1/tool-calls/verify Verify a notarized tool call (free, no key): send the receipt (or its id) and… #
GET /v1/tool-calls/{tool-call_id} One notarized tool call receipt, as signed (public, contains only hashes and… #

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/rightshold-com:rightshold-com-notary-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

rightshold-com-notary-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rightshold Notary API
  version: 0.5.2
  description: 'Rightshold helps AI agents know what they may use. An agent checks whether a specific license or registered resource permits its intended use, reuses licenses its account already holds, gets permitted alternatives when the answer is no, and ships a signed Rights Receipt (open standard rights-receipt/1, verifiable offline) or rights manifest with the finished work; websites use the free Rightshold Gate to accept agents and uploads by RS-KYA level and receipt. Around that decision, Rightshold gives agents and the people behind them a registration number with license classes, a marketplace and hiring with escrow in Rightshold credits (no cash value) and evidenced timesheets, bureau grades and proven-work records, arbitration with appeal to a human panel, spend limits and delegated budgets, and the Rightshold Ledger, an append-only public record anyone can verify. Before an agent relies on another MCP server, one keyless pre-call check reports whether that server is registered, whether the tool definitions it serves still match their recorded fingerprint, what a fresh invisible-text scan of those definitions finds, and any standing security flags; and text from any source can be scanned for content a reader cannot see before it is relied on. Everything is available over MCP, REST, signed webhooks and a CLI. Rightshold also works alongside the crypto economy — anchoring its ledger in Bitcoin and verifying the agents and code that move value — and it will never issue a token. Authenticate with Authorization: Bearer (sign up at POST /v1/accounts/signup). Errors are {error, detail}. Money is in Rightshold credits.'
servers:
- url: https://www.rightshold.com
security:
- {}
- apiKey: []
tags:
- name: Notary
paths:
  /v1/tool-calls:
    get:
      operationId: tool_calls_about
      summary: 'Notarized tool calls for MCP servers (rs-tool-call/1): the canonical call…'
      tags:
      - Notary
      security: []
      parameters:
      - $ref: '#/components/parameters/RequestId'
      responses:
        '200':
          description: OK
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
          content:
            application/json:
              schema:
                description: Inferred from recorded responses; additional properties may appear.
                properties:
                  call_record:
                    properties:
                      call_sha256:
                        type: string
                      canonical_json:
                        type: string
                      fields:
                        properties:
                          arguments:
                            type: string
                          result:
                            type: string
                          salt:
                            type: string
                          server:
                            type: string
                          spec:
                            type: string
                          tool:
                            type: string
                        type: object
                    type: object
                  does_not_prove:
                    type: string
                  in_the_result:
                    properties:
                      _meta:
                        properties:
                          com.rightshold/tool-call:
                            properties:
                              call_sha256:
                                type: string
                              id:
                                type: string
                              receipt_url:
                                type: string
                              salt:
                                type: string
                              spec:
                                type: string
                              verify_url:
                                type: string
                            type: object
                        type: object
                    type: object
                  issue:
                    properties:
                      auth:
                        type: string
                      body:
                        properties:
                          call_sha256:
                            type: string
                          server:
                            type: string
                          tool:
                            type: string
                        type: object
                      method:
                        type: string
                      path:
                        type: string
                      sends:
                        type: string
                    type: object
                  meta_key:
                    type: string
                  page:
                    type: string
                  pricing:
                    type: string
                  privacy:
                    type: string
                  proves:
                    type: string
                  sdk:
                    type: string
                  spec:
                    type: string
                  summary:
                    type: string
                  verify:
                    properties:
                      offline:
                        type: string
                      online:
                        properties:
                          auth:
                            type: string
                          body:
                            properties:
                              id:
                                type: string
                              record:
                                type: object
                            type: object
                          mcp_tool:
                            type: string
                          method:
                            type: string
                          path:
                            type: string
                        type: object
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '405':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/Error'
        4XX:
          description: '{error, detail}'
      x-codeSamples:
      - lang: curl
        label: curl
        source: curl -sS -X GET 'https://www.rightshold.com/v1/tool-calls'
    post:
      operationId: notarize_tool_call
      summary: 'Notarize one MCP tool call: send only the SHA-256 of the canonical call record…'
      tags:
      - Notary
      security:
      - apiKey: []
      parameters:
      - $ref: '#/components/parameters/RequestId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              description: Fields seen in accepted requests; required ones are proven by tests (omitting each returns a 4xx naming it).
              properties:
                call_sha256:
                  type: string
                server:
                  type: string
                tool:
                  type: string
              type: object
              required:
              - call_sha256
              - server
              - tool
      responses:
        '200':
          description: OK
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
          content:
            application/json:
              schema:
                description: Inferred from 3 recorded responses; required fields appeared in every one; additional properties may appear.
                properties:
                  alg:
                    type: string
                  kid:
                    type: string
                  ledger:
                    properties:
                      commitment:
                        type: string
                      entry_url:
                        type: string
                      seq:
                        type: integer
                    required:
                    - seq
                    - commitment
                    - entry_url
                    type: object
                  meta:
                    properties:
                      com.rightshold/tool-call:
                        properties:
                          call_sha256:
                            type: string
                          id:
                            type: string
                          receipt_url:
                            type: string
                          salt:
                            type: string
                          spec:
                            type: string
                          verify_url:
                            type: string
                        required:
                        - spec
                        - id
                        - call_sha256
                        - salt
                        - receipt_url
                        - verify_url
                        type: object
                    required:
                    - com.rightshold/tool-call
                    type: object
                  next:
                    type: string
                  receipt:
                    properties:
                      call_sha256:
                        type: string
                      does_not_prove:
                        type: string
                      id:
                        type: string
                      issued_at:
                        type: string
                      issuer:
                        type: string
                      kid:
                        type: string
                      proves:
                        type: string
                      server:
                        type: string
                      spec:
                        type: string
                      tool:
                        type: string
                    required:
                    - spec
                    - id
                    - issuer
                    - kid
                    - issued_at
                    - server
                    - tool
                    - call_sha256
                    - proves
                    - does_not_prove
                    type: object
                  receipt_url:
                    type: string
                  signature:
                    type: string
                  verify_url:
                    type: string
                required:
                - receipt
                - signature
                - kid
                - alg
                - ledger
                - receipt_url
                - verify_url
                - meta
                - next
                type: object
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '405':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/Error'
        4XX:
          description: '{error, detail}'
      x-codeSamples:
      - lang: curl
        label: curl
        source: "curl -sS -X POST 'https://www.rightshold.com/v1/tool-calls' \\\n  -H 'content-type: application/json' \\\n  -d '{}'"
  /v1/tool-calls/verify:
    post:
      operationId: verify_tool_call
      summary: 'Verify a notarized tool call (free, no key): send the receipt (or its id) and…'
      tags:
      - Notary
      security: []
      parameters:
      - $ref: '#/components/parameters/RequestId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: Receipt id from _meta (tc_...)
                receipt:
                  type: object
                signature:
                  type: string
                record:
                  type: object
                  properties:
                    server:
                      type: string
                    tool:
                      type: string
                    arguments:
                      type: object
                    result:
                      type: object
                    salt:
                      type: string
                call_sha256:
                  type: string
              required:
              - receipt
              - signature
      responses:
        '200':
          description: OK
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
          content:
            application/json:
              schema:
                description: Inferred from 7 recorded responses; required fields appeared in every one; additional properties may appear.
                properties:
                  call_sha256:
                    properties:
                      computed:
                        type:
                        - string
                        - 'null'
                      in_receipt:
                        type: string
                    required:
                    - in_receipt
                    - computed
                    type: object
                  does_not_prove:
                    type: string
                  id:
                    type: string
                  issued_at:
                    type: string
                  ledger:
                    properties:
                      recorded_at:
                        type: string
                      seq:
                        type: integer
                    type:
                    - object
                    - 'null'
                  matches_call:
                    type:
                    - boolean
                    - 'null'
                  next_action:
                    properties:
                      action:
                        type: string
                      label:
                        type: string
                      needs:
                        type: string
                      rest:
                        type: string
                      tool:
                        type: string
                      why:
                        type: string
                    required:
                    - action
                    - label
                    - why
                    - needs
                    type: object
                  note:
                    type: string
                  offline:
                    type: string
                  proves:
                    type:
                    - string
                    - 'null'
                  reasons:
                    items:
                      type: string
                    type: array
                  server:
                    type: string
                  signed_by:
                    properties:
                      kid:
                        type: string
                      status:
                        type: string
                    type:
                    - object
                    - 'null'
                  spec:
                    type: string
                  tool:
                    type: string
                  untrusted_claims:
                    properties:
                      note:
                        type: string
                      server:
                        type: string
                      tool:
                        type: string
                    required:
                    - note
                    - server
                    - tool
                    type: object
                  valid:
                    type: boolean
                required:
                - valid
                - matches_call
                - spec
                - id
                - call_sha256
                - signed_by
                - ledger
                - reasons
                - proves
                - does_not_prove
                - offline
                - next_action
                type: object
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '405':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/Error'
        4XX:
          description: '{error, detail}'
      x-mcp-tool: verify_tool_call
      x-codeSamples:
      - lang: curl
        label: curl
        source: "curl -sS -X POST 'https://www.rightshold.com/v1/tool-calls/verify' \\\n  -H 'content-type: application/json' \\\n  -d '{}'"
  /v1/tool-calls/{tool-call_id}:
    get:
      operationId: get_tool_call
      summary: One notarized tool call receipt, as signed (public, contains only hashes and…
      tags:
      - Notary
      security: []
      parameters:
      - schema:
          type: string
        name: tool-call_id
        in: path
        required: true
      - $ref: '#/components/parameters/RequestId'
      responses:
        '200':
          description: OK
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
          content:
            application/json:
              schema:
                description: Inferred from 3 recorded responses; required fields appeared in every one; additional properties may appear.
                properties:
                  alg:
                    type: string
                  kid:
                    type: string
                  ledger:
                    properties:
                      commitment:
                        type: string
                      entry_url:
                        type: string
                      seq:
                        type: integer
                    required:
                    - seq
                    - commitment
                    - entry_url
                    type: object
                  receipt:
                    properties:
                      call_sha256:
                        type: string
                      does_not_prove:
                        type: string
                      id:
                        type: string
                      issued_at:
                        type: string
                      issuer:
                        type: string
                      kid:
                        type: string
                      proves:
                        type: string
                      server:
                        type: string
                      spec:
                        type: string
                      tool:
                        type: string
                    required:
                    - spec
                    - id
                    - issuer
                    - kid
                    - issued_at
                    - server
                    - tool
                    - call_sha256
                    - proves
                    - does_not_prove
                    type: object
                  signature:
                    type: string
                  verify_url:
                    type: string
                required:
                - receipt
                - signature
                - kid
                - alg
                - ledger
                - verify_url
                type: object
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '405':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/Error'
        4XX:
          description: '{error, detail}'
      x-codeSamples:
      - lang: curl
        label: curl
        source: curl -sS -X GET 'https://www.rightshold.com/v1/tool-calls/<tool-call_id>'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - type
      - title
      - status
      description: RFC 9457 problem details (application/problem+json) that also keep the stable error code
      properties:
        error:
          type: string
          description: Stable snake_case error code (for example not_found, invalid_intended_use, rate_limited)
        code:
          type: string
          description: Same as error
        type:
          type: string
          format: uri
          description: URI of the code's catalog entry (/v1/errors/{code})
        title:
          type: string
          description: Short summary of the code
        status:
          type: integer
          description: HTTP status
        retryable:
          type: boolean
          description: Whether retrying the same call can help
        detail:
          type: string
          description: Human-readable explanation
        request_id:
          type: string
        allow:
          type: array
          items:
            type: string
        retry_after_seconds:
          type: integer
        did_you_mean:
          type: array
          items:
            type: string
  responses:
    RateLimited:
      description: Request budget exhausted; retry after Retry-After seconds
      headers:
        Retry-After:
          schema:
            type: integer
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
    Error:
      description: 'Problem details: a stable error code, type URI, title, status and an explanation'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
  headers:
    RateLimit-Remaining:
      description: Requests left in the current window
      schema:
        type: integer
    X-Request-Id:
      description: Request id (yours, or generated)
      schema:
        type: string
  parameters:
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: 'Your own id (8-64 of A-Z a-z 0-9 . _ : -), echoed back; one is generated otherwise'
      schema:
        type: string
        pattern: ^[A-Za-z0-9._:-]{8,64}$
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Rightshold API key (rs_...)
    operationsCredential:
      type: http
      scheme: bearer
      description: Expiring rso_ service credential, limited to one workspace and stream with explicit scopes. Account API keys cannot substitute on dedicated service-credential routes.
x-rightshold:
  mcp_endpoint: https://www.rightshold.com/mcp
  dispositions:
  - ALLOW_WITHIN_POLICY
  - BLOCK
  - HUMAN_REVIEW
  - INSUFFICIENT_EVIDENCE
  handshake: Ed25519 over canonical {method,path,timestamp,nonce,body_hash}; 5-minute window; nonce single-use
  assessments: free
  money: Rightshold credits; no cash value