ScrubMyText Quality API

The Quality API from ScrubMyText — 5 operation(s) for quality.

GitHub OpenAPI

Operations 5

POST /v1/quality/cards/list TrustMyChoice — list public contextual quality cards #
POST /v1/quality/cards/get TrustMyChoice — get a contextual quality card #
POST /v1/quality/cards/compare TrustMyChoice — compare exact quality targets #
POST /v1/quality/observations/record TrustMyChoice — record a structured observation #
POST /v1/quality/corrections/request TrustMyChoice — request a correction or appeal #

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/scrubmytext-com:scrubmytext-com-quality-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

scrubmytext-com-quality-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScrubMyText + Agent Infrastructure Quality API
  version: 7.5.0
  description: 49 deterministic tools for text integrity, AI-agent controls, and contextual service-quality evidence. TrustMyChoice provides free public lookup and comparison plus free, identity-verified structured contributions without publishing a universal trust score or selling ranking position. Selected premium stateless text tools include a 3-call trial and optional x402 pay-per-call.
servers:
- url: https://api.scrubmytext.com
tags:
- name: Quality
paths:
  /v1/quality/cards/list:
    post:
      operationId: listQualityCards
      summary: TrustMyChoice — list public contextual quality cards
      description: Returns exact target/version/task cards that meet the public threshold of at least three observations from three distinct verified contributor identities. Results are ordered by evidence recency, never by quality, payment, or sponsorship.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QualityCardListQuery'
      responses:
        '200':
          description: Unranked public quality-card directory
        '422':
          description: Invalid directory filter
      tags:
      - Quality
  /v1/quality/cards/get:
    post:
      operationId: getQualityCard
      summary: TrustMyChoice — get a contextual quality card
      description: Returns opt-in structured evidence, dimension status, sample size, recency, independent verified-contributor count, uncertainty, and pending correction state for one exact target/version/task. It is not a safety guarantee or universal reputation score.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QualityCardQuery'
      responses:
        '200':
          description: Quality card, including insufficient-evidence state
        '422':
          description: Invalid target or task identity
      tags:
      - Quality
  /v1/quality/cards/compare:
    post:
      operationId: compareQualityTargets
      summary: TrustMyChoice — compare exact quality targets
      description: Returns two to ten contextual cards in caller-provided order without selecting or selling a universal winner. This public comparison is free.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                targets:
                  type: array
                  minItems: 2
                  maxItems: 10
                  items:
                    $ref: '#/components/schemas/QualityTargetQuery'
                task_category:
                  type: string
                  maxLength: 120
                region:
                  type: string
                  maxLength: 40
                max_latency_ms:
                  type: integer
                  minimum: 0
                  maximum: 86400000
                max_price_micros:
                  type: integer
                  minimum: 0
                  maximum: 1000000000000
                minimum_evidence_class:
                  type: string
                  enum:
                  - E0
                  - E1
              required:
              - targets
              - task_category
              additionalProperties: false
      responses:
        '200':
          description: Unranked contextual cards
        '422':
          description: Invalid target or task identity
      tags:
      - Quality
  /v1/quality/observations/record:
    post:
      operationId: recordQualityObservation
      summary: TrustMyChoice — record a structured observation
      description: Stores opt-in structured metrics for one exact target/version/task. Receipt-linked observations are E1; other observations are E0. No prompt, response, credential, email, or free-form review is accepted. A Founding Access, legacy verified-contributor, or subscription key may be used.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QualityObservation'
      responses:
        '200':
          description: Observation result and evidence class
        '401':
          description: Founding Access, verified-contributor, or subscription key required
        '422':
          description: Invalid structured observation
      tags:
      - Quality
  /v1/quality/corrections/request:
    post:
      operationId: requestQualityCorrection
      summary: TrustMyChoice — request a correction or appeal
      description: Attaches a digest-only pending correction or appeal request. It does not prove provider identity, erase evidence, or guarantee an outcome. A Founding Access, legacy verified-contributor, or subscription key may be used.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                card_id:
                  type: string
                  pattern: ^tmc_[a-f0-9]{40}$
                request_key:
                  type: string
                  maxLength: 160
                request_kind:
                  type: string
                  enum:
                  - correction
                  - appeal
                reason_code:
                  type: string
                  enum:
                  - inaccurate_target
                  - outdated_version
                  - methodology
                  - evidence
                  - error
                  - other
                correction_digest:
                  $ref: '#/components/schemas/Sha256Digest'
              required:
              - card_id
              - request_key
              - request_kind
              - reason_code
              - correction_digest
              additionalProperties: false
      responses:
        '200':
          description: Pending correction or appeal state
        '401':
          description: Founding Access, verified-contributor, or subscription key required
        '422':
          description: Invalid request
      tags:
      - Quality
components:
  schemas:
    QualityCardListQuery:
      type: object
      properties:
        target_type:
          type: string
          enum:
          - mcp_server
          - rest_api
        task_category:
          type: string
          maxLength: 120
          pattern: ^[a-z0-9][a-z0-9._:-]{0,119}$
        limit:
          type: integer
          minimum: 1
          maximum: 50
          default: 24
      additionalProperties: false
    QualityTargetQuery:
      type: object
      properties:
        target_type:
          type: string
          enum:
          - mcp_server
          - rest_api
        provider_domain:
          type: string
          maxLength: 253
        canonical_endpoint:
          type: string
          format: uri
          maxLength: 2048
        version:
          type: string
          maxLength: 120
        interface_digest:
          $ref: '#/components/schemas/Sha256Digest'
      required:
      - target_type
      - provider_domain
      - canonical_endpoint
      - version
      additionalProperties: false
    Sha256Digest:
      type: string
      pattern: ^(?:sha256:)?[a-f0-9]{64}$
      description: 'A lowercase SHA-256 digest, with an optional sha256: prefix.'
    QualityCardQuery:
      type: object
      properties:
        target_type:
          type: string
          enum:
          - mcp_server
          - rest_api
        provider_domain:
          type: string
          maxLength: 253
        canonical_endpoint:
          type: string
          format: uri
          maxLength: 2048
        version:
          type: string
          maxLength: 120
        interface_digest:
          $ref: '#/components/schemas/Sha256Digest'
        task_category:
          type: string
          maxLength: 120
        region:
          type: string
          maxLength: 40
        max_latency_ms:
          type: integer
          minimum: 0
          maximum: 86400000
        max_price_micros:
          type: integer
          minimum: 0
          maximum: 1000000000000
        minimum_evidence_class:
          type: string
          enum:
          - E0
          - E1
      required:
      - target_type
      - provider_domain
      - canonical_endpoint
      - version
      - task_category
      additionalProperties: false
    QualityObservation:
      type: object
      properties:
        target_type:
          type: string
          enum:
          - mcp_server
          - rest_api
        provider_domain:
          type: string
          maxLength: 253
        canonical_endpoint:
          type: string
          format: uri
          maxLength: 2048
        version:
          type: string
          maxLength: 120
        interface_digest:
          $ref: '#/components/schemas/Sha256Digest'
        task_category:
          type: string
          maxLength: 120
        region:
          type: string
          maxLength: 40
        max_latency_ms:
          type: integer
          minimum: 0
          maximum: 86400000
        max_price_micros:
          type: integer
          minimum: 0
          maximum: 1000000000000
        minimum_evidence_class:
          type: string
          enum:
          - E0
          - E1
        observation_key:
          type: string
          maxLength: 160
        receipt_id:
          type: string
          maxLength: 100
        outcome_success:
          type: boolean
        reliability:
          type: boolean
        latency_ms:
          type: integer
          minimum: 0
          maximum: 86400000
        quoted_price_micros:
          type: integer
          minimum: 0
          maximum: 1000000000000
        final_price_micros:
          type: integer
          minimum: 0
          maximum: 1000000000000
        observed_at:
          type: string
          format: date-time
      required:
      - target_type
      - provider_domain
      - canonical_endpoint
      - version
      - task_category
      - observation_key
      - outcome_success
      - reliability
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: smt_founder_..., smt_live_..., or legacy smt_tmc_...
      description: smt_founder_ keys provide all-tool access for 30 days or 1,000 total calls with no overages, then remain limited to TrustMyChoice evidence writes. Paid smt_live_ keys access subscription tools. Legacy smt_tmc_ keys are limited to TrustMyChoice observation and correction writes.