Skip to content

docs(watch-list): document Signal Agents API and fix get-signals#94

Open
bguillou wants to merge 1 commit into
mainfrom
docs/watch-list-public-api
Open

docs(watch-list): document Signal Agents API and fix get-signals#94
bguillou wants to merge 1 commit into
mainfrom
docs/watch-list-public-api

Conversation

@bguillou

@bguillou bguillou commented Jul 6, 2026

Copy link
Copy Markdown

What

Documents the Watch List / Signal Agents public API and fixes the existing get-signals page, which was out of date with the live API.

Added

Endpoints under /watchlist (OpenAPI operations in v2.json + MDX wrappers + nav):

Method Path Summary
GET /watchlist List Signal Agents
POST /watchlist Create Signal Agent
PATCH /watchlist Update Signal Agent
DELETE /watchlist Delete Signal Agent
GET /watchlist/history Configuration history
GET /watchlist/library Available signal types
GET /watchlist/filters Allowed filters per signal type
GET /watchlist/filter-values Filter value autocomplete

Plus a Watch List object definition (WatchListSchema) and 13 new component schemas.

Fixed (get-signals)

  • Response now documents the real { data, meta: { pagination } } envelope (was { signals, total, page, offset, limit }).
  • Removed the offset query param — the endpoint is page-based only.
  • Corrected the SignalSchema type enum (7 → 19 real signal types) and the signalData fields.
  • Dropped the erroneous per-operation ApiKeyAuth override so it inherits the global Basic auth like every other endpoint.

Note on the diff size

The raw v2.json diff looks large because the default (Myers) diff re-aligns the many repeated { "type": "string", "description": ... } lines. The change is additive — 5 new paths and 13 new schemas, plus the targeted get-signals corrections. git diff --histogram shows the true change: 54 deletions, all inside get-signals.

Verification

  • v2.json and docs.json are valid JSON.
  • Every new openapi: frontmatter resolves to an operation; every openapi-schema:/$ref resolves — no dangling refs.
  • Every nav page maps to an existing file.
  • mint broken-links reports no new broken links (only pre-existing ones elsewhere).
  • Examples use synthetic placeholders only, per the repo data policy.

🤖 Generated with Claude Code

Add the full Watch List / Signal Agents public API surface and correct the
existing (stale) get-signals reference.

New endpoints (v2.json + MDX wrappers + nav):
- GET/POST/PATCH/DELETE /watchlist  list, create, update, delete Signal Agents
- GET /watchlist/history            configuration history
- GET /watchlist/library            available signal types
- GET /watchlist/filters            allowed filters per signal type
- GET /watchlist/filter-values      filter value autocomplete
Plus a Watch List object definition and 13 component schemas.

get-signals corrections (align the docs with the live API):
- response is the { data, meta.pagination } envelope, not { signals, total, offset, ... }
- remove the offset query param (the endpoint is page-based only)
- correct the SignalSchema type enum (7 -> 19) and the signalData fields
- drop the erroneous ApiKeyAuth override (the API uses Basic auth globally)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bguillou bguillou self-assigned this Jul 6, 2026
@mintlify

mintlify Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lemlist 🟢 Ready View Preview Jul 6, 2026, 11:32 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant