Teppi Watch API
The watch API from Teppi — 3 operation(s) for watch.
Operations 3
GET
/v1/watchers/{watcher_id}
Reads a watcher back, with the token from registering as a bearer: what it…
#
The watch API from Teppi — 3 operation(s) for watch.
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/teppi-xyz:teppi-xyz-watch-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: Teppi Watch 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: watch
paths:
/v1/watchers:
post:
operationId: registerWatcher
summary: Registers an https receiver to be posted a signed notice whenever the card of…
tags:
- watch
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
pattern: ^https:[/]{2}
maxLength: 2048
watch:
type: array
minItems: 1
maxItems: 500
items:
type: string
minLength: 1
maxLength: 2048
description: capability ids or urls to be told about
required:
- url
- watch
additionalProperties: false
responses:
'200':
description: ok
content:
application/json:
schema:
type: object
description: a watcher kept once its receiver echoed the challenge
properties:
watcher_id:
type: string
description: the watcher
token:
type: string
description: the one way to read or stop it; shown once and never again
url:
type: string
description: where notices are posted
watching:
type: array
items:
type: string
description: the capability ids it is told about
not_in_record:
type: array
items:
type: string
description: what was named and is not in the record, so nothing will be said about it
since:
type: string
description: nothing computed before this is news to it
manage:
type: string
description: where to read it back, with the token as a bearer
stop:
type: string
description: where to stop it, with the token as a bearer
notices:
type: string
description: 'the schema of what is posted: teppi.notice.v1'
says:
type: string
description: what to do with the token
required:
- watcher_id
- token
- url
- watching
- not_in_record
- since
/v1/watchers/{watcher_id}:
get:
operationId: watcherState
summary: 'Reads a watcher back, with the token from registering as a bearer: what it…'
tags:
- watch
parameters:
- name: watcher_id
in: path
required: true
schema:
type: string
pattern: ^wch_[0-9A-HJKMNP-TV-Z]{26}$
responses:
'200':
description: ok
content:
application/json:
schema:
type: object
description: a watcher and the last fifty notices it was sent, with whether each arrived
properties:
watcher_id:
type: string
description: the watcher
url:
type: string
description: where notices are posted
active:
type: boolean
description: false once stopped; a stopped watcher stays stopped
created_at:
type: string
description: when it was registered
watching:
type: array
items:
type: string
description: the capability ids it is told about
notices:
type: array
items:
type: object
properties:
notice_id:
type: string
description: the notice
capability_id:
type: string
description: what it is about
tier:
type: string
description: the tier that moved
change:
type: string
description: band_fell, evidence_lapsed, depth_lost, flag_raised or composite_fell
from:
type: string
description: before
to:
type: string
description: after
observed_at:
type: string
description: when the card that moved was worked out
delivered_at:
type:
- string
- 'null'
description: when the receiver took it, or null
attempts:
type: integer
minimum: 0
description: tries so far
last_error:
type:
- string
- 'null'
description: what the last failed try met
required:
- notice_id
- capability_id
- change
- delivered_at
- attempts
required:
- watcher_id
- url
- active
- watching
- notices
/v1/watchers/stop:
post:
operationId: stopWatcher
summary: Stops a watcher for good, with the token from registering as a bearer.
tags:
- watch
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
watcher_id:
type: string
pattern: ^wch_[0-9A-HJKMNP-TV-Z]{26}$
required:
- watcher_id
additionalProperties: false
responses:
'200':
description: ok
content:
application/json:
schema:
type: object
properties:
watcher_id:
type: string
description: the watcher
active:
type: boolean
const: false
description: stopped
required:
- watcher_id
- active