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.
openapi: 3.2.0
info:
title: Pentonym Watch API
description: Brand-name clearance screening. Not legal advice.
version: 0.1.0
security:
- BearerApiKey: []
- InstallToken: []
- {}
tags:
- name: Watch
paths:
/v1/watch:
post:
summary: Register Watch
description: 'Register a watch on a mark and run the first scan immediately.
The watch is persisted, so it outlives the process that created it. The
response carries a signed alert whose `decision` is PROCEED (register
currently clear), DO_NOT_PROCEED (a conflicting live mark exists), or
CANNOT_DETERMINE (the index was unreachable — UNKNOWN, never a false clear),
and whose `changes` are typed. On this first call the only possible change
is `baseline_established`: there is nothing yet to have changed from.'
operationId: register_watch_v1_watch_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WatchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Register Watch V1 Watch Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Watch
/v1/watch/{watch_id}:
get:
summary: Check Watch
description: 'Re-scan a registered watch and return a fresh signed alert. 404 if the
watch_id is unknown.
`alert.changes` is what this endpoint is for: `new_conflict` for a filing
absent at the last scan, `conflict_gone` for one that left the result set,
`no_change`, or `index_unavailable`. `alert.decision` still reports the
register''s current position — a different question from what moved.'
operationId: check_watch_v1_watch__watch_id__get
parameters:
- name: watch_id
in: path
required: true
schema:
type: string
title: Watch Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Check Watch V1 Watch Watch Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Watch
components:
schemas:
WatchRequest:
properties:
name:
type: string
maxLength: 200
minLength: 1
title: Name
classes:
items:
type: integer
type: array
title: Classes
description: Nice classes to scope the watch. A watch with no classes cannot be class-filtered, so every same/near mark is kept (identification controls over class, §1207.01(d)(v)).
require_class_overlap:
type: boolean
title: Require Class Overlap
description: When true (default) a conflict must share a Nice class with the watch — unless the watch carries no classes at all.
default: true
additionalProperties: false
type: object
required:
- name
title: WatchRequest
description: 'Input. `extra="forbid"` rejects unknown fields rather than silently
dropping them — a caller who believes they constrained a watch by class must
not have that constraint quietly ignored.'
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
securitySchemes:
BearerApiKey:
type: http
scheme: bearer
bearerFormat: pk_...
description: 'Account API key from POST /v1/connect, sent as `Authorization: Bearer pk_…`.'
InstallToken:
type: apiKey
in: header
name: X-Pentonym-Install
description: Opaque per-install token for the anonymous free tier (MCP clients / the web app).