Skip to main content
Hookfish generates an OpenAPI 3.1 document from the same Hono route schemas used at runtime. Because provider management and organization routing are configurable, the running deployment is the authoritative endpoint reference.
  • Swagger UI: /api/docs
  • OpenAPI document: /api/openapi.json
  • Raw server API: /api/*
  • Optional browser facade: /api/client/*

Authentication

Send the root key or a named scoped token on authenticated raw API requests:
OAuth callbacks use encrypted, single-use state instead. Runtime stats, Swagger UI, the OpenAPI document, and MCP client-metadata documents are public.

Core endpoints

Administration and vault

Provider-management endpoints exist only when providerManagement is enabled. With organization routing, OAuth management, providers, and secrets also have organization-prefixed variants documented by the deployment’s OpenAPI output.

Call the API from your application

Use Hono’s typed client in trusted server code. Authenticate the user on your application route first, then supply a scoped broker credential to Hookfish:
Do not create this client with a broker credential in browser code.

Optional browser facade

The /api/client facade forwards only:
  • Runtime health and stats
  • Provider discovery
  • Connection lists and details
  • Authorization starts
  • Disconnects
It rejects provider tokens, callbacks, secret values, and administration. It uses one server-configured broker credential, so app-owned authenticated routes are the recommended tenant boundary.

Response handling

Provider-token and vault-value responses set Cache-Control: no-store. Connection and provider metadata never include stored tokens or client secrets. See Errors for the stable JSON error shape.