WiseResume & WiseHire — Public API

This page documents the public API surface for resume.thewise.cloud and serves as the service-doc target referenced from /.well-known/api-catalog.

Discovery endpoints

URLPurposeType
/sitemap.xmlCanonical public URLsapplication/xml
/robots.txtCrawler rules + Content Signalstext/plain
/.well-known/api-catalogRFC 9727 link setapplication/linkset+json
/.well-known/openid-configurationOIDC issuer (delegates to Kinde)application/json
/.well-known/oauth-authorization-serverOAuth 2.0 AS metadataapplication/json
/.well-known/oauth-protected-resourceRFC 9728 protected resource metadataapplication/json
/.well-known/mcp/server-card.jsonMCP server card (SEP-1649)application/json
/.well-known/agent-skills/index.jsonAgent Skills index (v0.2.0)application/json

Authentication

Authentication is provided by Kinde (issuer https://thewisecloud.kinde.com) via OAuth 2.0 / OIDC. Kinde-issued JWTs are exchanged server-side for Supabase-scoped tokens by the token-exchange edge function. Authenticated calls to the API MUST include a Authorization: Bearer <jwt> header.

HTTP API surface

GET /api/health

Liveness probe. Returns { "status": "ok", "timestamp": "..." }.

GET /api/db-health

Database connectivity probe. Returns { "status": "ok" } on success.

ALL /api/fn/:fnName

Server-side proxy that forwards the request body, query string, and Authorization header to the matching Supabase Edge Function https://<project>.supabase.co/functions/v1/:fnName. The Supabase project anon key is injected by the proxy and never leaves the server. Response status, body, and Content-Type are forwarded verbatim.

The full set of available :fnName values is enumerated under supabase/functions/ in the source tree. Common public-surface functions include token-exchange, ai-health, portfolio-public-get, contact-form, and waitlist-signup.

Markdown for Agents

All HTML pages on this origin honor the Accept: text/markdown content-negotiation header. Sending that header returns a markdown rendering of the same page with Content-Type: text/markdown, suitable for ingestion into LLM agents. Browsers continue to receive HTML.

WebMCP

The landing page registers a small set of in-page tools via navigator.modelContext.provideContext() for WebMCP-aware agents. Tools currently registered include open_pricing, open_examples, and start_resume.

Contact

For partnership or integration questions, email contact@thewise.cloud.