The FamilyCo server exposes a Fastify HTTP API. Every workflow surface — chat, agents, projects, tasks, inbox, audit, budget, skills, tools, plugins, automation, providers — has a corresponding controller underDocumentation Index
Fetch the complete documentation index at: https://familyco.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
apps/server/src/modules/<module>.
Base URL
| Mode | Base URL |
|---|---|
| Local server | http://127.0.0.1:4000 |
| Electron desktop | The embedded server picks a free port at startup. |
API_PREFIX (default /api/v1). The health endpoint is served at /health.
Authentication
The API supports two auth modes. Both are described in detail in Auth and access control.API key
Send your key in theAuthorization header:
ApiKeyRecord rows. Only the hash is persisted; the raw value is returned exactly once at creation. The API_KEY_SALT env var is used for hashing — see Configuration.
JWT
Mint a short-lived JWT from an API key, then use it like a bearer token:JWT_SECRET.
Authorization
- All non-token routes require API key or JWT authentication.
- Route access enforces a minimum agent level:
L0(executive),L1(manager), orL2(worker). - API key lifecycle operations (create / revoke / rotate) are auditable.
Read-only mode
If startup migration safety fails, the server enters read-only mode. Mutation requests return:Module layout
The server registers controllers per module. The current set:auth— API keys, JWT issuance.agent— agent management and chat.approval— approvals and resolutions.audit— audit log queries.budget— usage and caps.cron— recurring automation.dashboard— aggregated views.engine— queue and run inspection.inbox— Founder queue.knowledge— knowledge artifacts.plugins— plugin discovery and enablement.project— project CRUD.provider— provider connections.settings— settings store.setup— first-run setup.skills— skill discovery and toggling.task— task CRUD and execution.tools— tool policy and custom fields.
Current reference scope
The API reference pages in this docs site currently cover:- Core endpoints used during setup and runtime checks:
GET /healthPOST /api/v1/auth/token
- Knowledge endpoints:
GET /api/v1/knowledge/commandsGET /api/v1/knowledge/converter/statusGET /api/v1/knowledge/documentsPOST /api/v1/knowledge/documents/uploadPOST /api/v1/knowledge/documents/{id}/indexGET /api/v1/knowledge/documents/{id}/chunksDELETE /api/v1/knowledge/documents/{id}POST /api/v1/knowledge/retrieve