Teppi Grade API

The grade API from Teppi — 1 operation(s) for grade.

GitHub OpenAPI

Operations 1

GET /v1/trust/{id} Returns the quality grade for a paid endpoint, with the components behind it… #

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/teppi-xyz:teppi-xyz-grade-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

teppi-xyz-grade-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Grade API
  description: The record of what happened when someone paid a machine service. Every entry carries the settlement transaction, the hashes of what was sent and returned, and the check that ran.
  version: 0.1.0
servers:
- url: https://api.teppi.xyz
tags:
- name: grade
paths:
  /v1/trust/{id}:
    get:
      operationId: getGrade
      summary: Returns the quality grade for a paid endpoint, with the components behind it…
      tags:
      - grade
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^cap_[0-9A-HJKMNP-TV-Z]{26}$
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                description: every published card for the endpoint, deepest first
                properties:
                  schema:
                    type: string
                    description: teppi.trust.v1
                  capability_id:
                    type: string
                    description: the endpoint
                  scorecards:
                    type: array
                    items:
                      type: object
                      description: 'one signed card: a grade with everything needed to recompute it'
                      properties:
                        schema:
                          type: string
                          description: teppi.scorecard.v1 or v2
                        capability_id:
                          type: string
                          description: the endpoint graded
                        tier:
                          type: string
                          enum:
                          - LIVENESS_VERIFIED
                          - DELIVERY_VERIFIED
                          - OUTCOME_VERIFIED
                          description: what measured it
                        band:
                          type: string
                          enum:
                          - A
                          - B
                          - C
                          - D
                          - F
                          - UNRATED
                          description: the letter, or UNRATED
                        composite:
                          type: number
                          description: the weighted sum of the lower bounds
                        components:
                          type:
                          - object
                          - 'null'
                          description: every part of the grade, each with its bound and sample count
                          properties:
                            liveness:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                            correctness:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                            honesty:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                            schema_conformance:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                            latency_p95:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                            price_stability:
                              type: object
                              description: one measured part of the grade
                              properties:
                                point:
                                  type:
                                  - number
                                  - 'null'
                                  description: what the samples showed
                                lower:
                                  type:
                                  - number
                                  - 'null'
                                  description: the published lower bound
                                upper:
                                  type:
                                  - number
                                  - 'null'
                                  description: the upper bound, where one is computed
                                n_eff:
                                  type: number
                                  minimum: 0
                                  description: effective samples behind it
                                method:
                                  type: string
                                  description: how the bound was computed
                              required:
                              - point
                              - lower
                              - n_eff
                              - method
                        weights_applied:
                          type: object
                          description: the weight each scored part carried
                        weights_version:
                          type: string
                          description: which weights
                        sample_count:
                          type: integer
                          minimum: 0
                          description: samples behind it
                        window_days:
                          type: integer
                          minimum: 0
                          description: the window it read
                        window_start:
                          type: string
                          description: where the window starts
                        computed_at:
                          type: string
                          description: when it was computed
                        flags:
                          type: array
                          items:
                            type: string
                          description: conditions on the grade
                        evidence_sample:
                          type: array
                          items:
                            type: string
                          description: the evidence hashes it stood on
                        method:
                          type: string
                          description: the method page it was computed under
                        verifier_version:
                          type: string
                          description: which verifier scored the samples
                        signing_key_id:
                          type: string
                          description: the published key that signed it
                        canonicalization:
                          type: string
                          description: RFC8785
                        signature:
                          type: string
                          description: ed25519 over the canonical bytes of the card
                      required:
                      - schema
                      - capability_id
                      - tier
                      - band
                      - composite
                      - components
                      - signature
                    description: the cards, deepest tier first
                  disputes:
                    type: array
                    items:
                      type: object
                    description: the seller's own receipts
                  corrections:
                    type: array
                    items:
                      type: object
                    description: what we got wrong
                required:
                - schema
                - capability_id
                - scorecards
                - disputes
                - corrections