treg.to Catalog API
The Catalog API from treg.to — 6 operation(s) for catalog.
The Catalog API from treg.to — 6 operation(s) for catalog.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/treg-to:treg-to-catalog-api"
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.
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: 3.2.0
info:
title: treg Catalog API
version: 0.0.1
tags:
- name: Catalog
paths:
/catalog/platforms:
get:
summary: Catalog Platforms
description: 'Open: the platform shelves of the endpoint catalog, busiest first, and the display name of
every vendor on them (the /search page''s pile is one tile per vendor).'
operationId: catalog_platforms_catalog_platforms_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Catalog Platforms Catalog Platforms Get
tags:
- Catalog
/catalog/platforms/{slug}:
get:
summary: Catalog Platform
description: 'Open: one platform''s operations, grouped by capability so the same job across providers sits
on one row — that grouping is what makes comparison (and a future failover router) possible.
By default the account/utility ("management") endpoints are dropped from every shape below — the
browse view is data + action. `?include_hidden=1` returns the whole surface (each endpoint still
carries `kind`, so a client can file the plumbing behind an expander); `hidden_count` always
reports how many were set aside so a caller can label that expander without a second request.
Each endpoint carries `observed`, what its served calls say, so the shelf can lead with what
agents actually use; `observations=None` (the server-rendered page) leaves it out.'
operationId: catalog_platform_catalog_platforms__slug__get
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
- name: include_hidden
in: query
required: false
schema:
type: integer
default: 0
title: Include Hidden
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Catalog Platform Catalog Platforms Slug Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Catalog
/catalog/providers/{service}:
get:
summary: Catalog Provider
description: 'Open: every tool one provider serves, filed by platform. A tool that is one of several
providers doing the same capability on its platform (`Catalog.compared`) carries `compare`: the capability, its
URL key and how many providers do it, so a page listing a provider''s tools can link to the
comparison. Plumbing is listed, tagged by `kind`.'
operationId: catalog_provider_catalog_providers__service__get
parameters:
- name: service
in: path
required: true
schema:
type: string
title: Service
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Catalog Provider Catalog Providers Service Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Catalog
/catalog/search:
get:
summary: Catalog Search
description: 'Open: free-text search across the whole catalog — the DISCOVER half of the loop.
An agent that knows what it wants ("tiktok comments") shouldn''t have to guess which platform
shelf hides it. Ranking is plain token matching (see `catalog_store.search`) so results are
reproducible and explainable; equal scores — the common case, not the edge — then break on what
treg has MEASURED and on price, so the cut stops being file order. `hints` carries the next
command, since finding the endpoint is never the goal — inspecting or calling it is.
`added_within_days` and `sort=newest` (catalog.md "`added`") list recently added tools, with or
without words; absent, this route answers exactly as it did before them.
`engine=agent` answers with the search an agent''s `catalog_search` gets (the same use case, the
judged answer where it runs, the same records), in this route''s row shape: the CLI''s search.
Absent, the route is the plain keyword search it always was.'
operationId: catalog_search_catalog_search_get
parameters:
- name: q
in: query
required: false
schema:
type: string
default: ''
title: Q
- name: limit
in: query
required: false
schema:
type: integer
default: 25
title: Limit
- name: added_within_days
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Added Within Days
- name: sort
in: query
required: false
schema:
type: string
default: ''
title: Sort
- name: engine
in: query
required: false
schema:
type: string
default: ''
title: Engine
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Catalog Search Catalog Search Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Catalog
/catalog/find:
get:
summary: Catalog Find
description: 'Open, rate limited: find the endpoints that can do a described JOB (application.catalog_find).
Streams newline-delimited JSON, two events: `candidates` (the lexical recall, immediately) and
`judged` (the relevance judge''s kept rows and a verdict, when it answers). The pages that call
this animate the gap between them. `?platform=` scopes it to one shelf, for that shelf''s
own search box. Agents keep `/catalog/search` and MCP `catalog_search`.'
operationId: catalog_find_catalog_find_get
parameters:
- name: q
in: query
required: false
schema:
type: string
default: ''
title: Q
- name: platform
in: query
required: false
schema:
type: string
default: ''
title: Platform
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Catalog
/catalog/endpoints/{endpoint_id}:
get:
summary: Catalog Endpoint
description: 'Open: everything about ONE endpoint — the INSPECT half of the loop.
Deliberately one round-trip: params, cost, the sibling providers offering the same capability
(so a price/verification comparison needs no second call), a paste-ready `call_template`, and the
captured example response inline — an agent shouldn''t have to fetch /catalog/examples to learn
the response shape it is about to parse.'
operationId: catalog_endpoint_catalog_endpoints__endpoint_id__get
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Catalog Endpoint Catalog Endpoints Endpoint Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Catalog
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