Trooth Problems API

The Problems API from Trooth, for problems.

GitHub OpenAPI

Operations 1

GET /api/problems Every error code and whether retrying can help #

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/trooth-co:trooth-co-problems-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

trooth-co-problems-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trooth Public Problems API
  version: 1.1.0
  summary: The read-only public surface of the Trooth Network.
  description: 'Everything here answers a question about a software or AI company from published

    evidence, and needs no credential. It is the surface a person, an integrator or an

    authorized agent may build on.


    WHAT IS DELIBERATELY ABSENT. Authentication flows are not documented: they are

    browser redirects in a login sequence, not an API. Unauthenticated endpoints that

    send mail or start work are rate limited and undocumented on purpose. Every

    session-authenticated endpoint is absent because publishing an internal route map

    helps an attacker and promises an API that is not offered.


    EVIDENCE VOCABULARY. Responses distinguish witnessed, public record (wire value

    `verified`), declared, inferred, unknown, not applicable, restricted, unavailable,

    stale and conflicting. Unknown is an answer, never a blank

    filled in, and stale is never the same as wrong. No response carries a figure, a

    rank or a grade for a company: the witness facts are coverage (checks that read as

    expected, out of checks run), freshness (last read), continuity (unbroken since) and change.


    A 404 from these endpoints usually means the Network holds no record, which is an

    answer rather than a failure.


    CROSS-ORIGIN. Every operation here is readable from a browser on any site: responses

    carry Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so

    no cookie is sent or honored. A browser''s OPTIONS check before a request that sends

    the Trooth-Contract, Trooth-Version or If-None-Match header is answered.


    THREE DOCUMENTS, NO SHARED PATH. This one covers the public, credential-free reads

    trooth.co serves under /api. The authenticated trooth.co API an agent works a

    workspace with, every /api/v1 route, is https://trooth.co/openapi-v1.json. api.trooth.co is a separate

    service with its own contract, https://trooth.co/openapi.yaml: its public reads under

    /public (GET https://api.trooth.co/public/keys, the badge image, receipts and action

    evidence) and its authenticated routes, which take a DPoP-bound credential (RFC 9449),

    described there and at https://trooth.co/docs/api#authorization. Its MCP server at https://mcp.trooth.co

    meters tools/call at 300 units every 60 seconds per caller (the OAuth

    subject when a valid token is presented, otherwise the IP address), counted in one

    store shared by every server instance; each tool call costs 1 to 8 units, as

    https://trooth.co/.well-known/mcp.json lists. Over it: 429 with Retry-After giving the seconds

    until units free up.


    Generated from app/api by scripts/gen-openapi.mjs. check:openapi fails the build

    when this document and the source disagree.'
  contact:
    name: Trooth developer support
    email: developers@trooth.co
    url: https://trooth.co/docs/api
  license:
    name: Terms of Service
    url: https://trooth.co/terms
servers:
- url: https://trooth.co
  description: Production
tags:
- name: Problems
paths:
  /api/problems:
    get:
      summary: Every error code and whether retrying can help
      description: 'The registry every RFC 9457 problem document from trooth.co draws on: each code with its status, fixed title, retryable flag, next action, and terminal (true when repeating the same request cannot change the answer, exactly not retryable). A code keeps its meaning once published. Cached for one hour. Readable cross-origin: the response carries Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so a browser on any site may read it without cookies.'
      operationId: get_api_problems
      security: []
      responses:
        '200':
          description: The registry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemCatalog'
      tags:
      - Problems
components:
  schemas:
    ProblemCatalog:
      title: Trooth problem catalog, version 1
      description: 'The registry. Canonical JSON Schema: https://trooth.co/schemas/problem-catalog.v1.schema.json; embedded here with its $defs as ProblemCatalog_* components.'
      type: object
      required:
      - format
      - media_type
      - next_actions
      - problems
      - how_to_read
      additionalProperties: false
      properties:
        format:
          const: trooth.problem-catalog.v1
          description: Names this shape.
        media_type:
          const: application/problem+json
          description: The media type of every problem document.
        next_actions:
          type: array
          description: Every next_action value.
          items:
            enum:
            - retry_later
            - fix_request
            - start_over
            - resync
            - use_current_record
            - none
            - authenticate
            - ask_owner
            - prove_domain
            - contact_support
            description: A next action.
        problems:
          type: array
          description: One entry per code.
          items:
            type: object
            description: A code.
            required:
            - code
            - type
            - status
            - title
            - retryable
            - next_action
            - fix
            - terminal
            additionalProperties: false
            properties:
              code:
                type: string
                description: The code; switch on this.
              type:
                type: string
                description: The RFC 9457 type URI.
              status:
                type: integer
                description: HTTP status.
                minimum: 100
              title:
                type: string
                description: The fixed title.
              retryable:
                type: boolean
                description: True when the same request may succeed after retry_after.
              next_action:
                enum:
                - retry_later
                - fix_request
                - start_over
                - resync
                - use_current_record
                - none
                - authenticate
                - ask_owner
                - prove_domain
                - contact_support
                description: What to do next.
              fix:
                type: string
                description: One sentence on how to repair the request; the same sentence the error carries.
              terminal:
                type: boolean
                description: True when repeating the same request cannot change the answer; exactly not retryable.
        how_to_read:
          type: string
          description: How to read this catalog.
externalDocs:
  url: https://trooth.co/openapi.yaml
  description: The api.trooth.co contract (its /public reads and its authenticated routes); this document shares no path with it
x-related-documents:
- url: https://trooth.co/openapi.yaml
  covers: api.trooth.co
- url: https://trooth.co/openapi-v1.json
  covers: trooth.co /api/v1, with an agent key or the MCP sign-in
- url: https://trooth.co/openapi/network.json
  covers: every Trooth Network MCP tool as POST https://api.trooth.co/v1/tools/{tool}, with x-trooth
- url: https://trooth.co/openapi/semanto.json
  covers: Semanto's routes on api.trooth.co, each with its MCP tool and CLI command in x-trooth
x-counts:
  paths: 13
  operations: 13