Peptide Tracker

Peptide Tracker API Docs

Public discovery metadata for session auth, widget access, and health checks. Accounts sign in with an email and password (older accounts can still use their access code), and sessions use secure HttpOnly cookies.

Session auth

Email and password sign-in (or a legacy access code) creates a browser session in HttpOnly JWT cookies.

POST /auth/register

Start an email and password sign-up; a confirmation link follows by email.

POST /auth/login

Sign in with email and password, or a legacy access code.

POST /auth/password/forgot

Email a one-hour password reset link.

POST /auth/logout

Clear session cookies.

POST /auth/refresh

Refresh the access cookie from the refresh cookie.

GET /auth/me

Return the current authenticated user.

Widget and health

The public widget flow uses short-lived widget tokens; readiness probes stay public.

POST /dashboard/api/widget/token

Mint a one-hour widget token from a widget key.

GET /dashboard/api/widget

Read widget data with Authorization: Bearer or X-Widget-Token.

GET /health

Plain-text health check.

GET /readyz

Database-backed readiness status.

Discovery endpoints

Machine-readable metadata for agents and API clients.

GET /.well-known/api-catalog

RFC 9727 API catalog in application/linkset+json.

GET /.well-known/openapi.json

OpenAPI 3.1 service description covering public and agent-relevant endpoints.

GET /.well-known/agent-skills/index.json

Agent Skills discovery index with digests for each published SKILL.md artifact.

GET /.well-known/llms.txt

High-level model-facing project summary.

Protocol notes

This site does not publish OAuth/OIDC discovery metadata or an MCP server card yet.

INFO https://tracker.unclelyh.me/auth

Authentication is email and password plus session cookies, not OAuth 2.0 or OpenID Connect.

INFO https://tracker.unclelyh.me

Browser-side WebMCP tools are exposed on public pages; there is no standalone MCP server transport yet.