Functions index
All 47 Netlify functions in .framework/functions/, grouped by domain. Every function is reachable publicly as /api/<name> (/api/* → /.netlify/functions/:splat, .framework/public/_redirects), and all JSON responses use the { data, error, meta } envelope from .framework/functions/_shared/middleware.ts.
Pages linked below are full references; everything else is a one-line summary.
Data & access
| Function | What it does |
|---|
| admin-data | Generic CRUD + stats over the entity allowlist, with record permissions, schema stamping, and trigger firing. |
| account-nodes | One account plus its ancestors, children, and descendants for hierarchy views. |
| api-keys | Mint, validate, revoke, and list sk_… machine API keys plus usage logs. |
| auth | The caller's user context — person, role, permissions, accessible accounts — plus a health probe. |
| invites | Registration placement, invite lifecycle, join-request approval, and member management. |
| item-progress | Per-person pipeline progress on items with enforced status transitions. |
Config CRUD
| Function | What it does |
|---|
| apps | App registry CRUD plus schema, availability, and version actions. |
| prompt-configs | Prompt configuration CRUD — model, context template, escalation, output fields. |
| roles | Role CRUD (system_admin-gated). |
| types | Type CRUD plus getBySlug/getSchema; derives validation_schema from design_schema. |
Automation
| Function | What it does |
|---|
| pipelines | Pipeline CRUD plus toggle, by-trigger lookup, and execution listing. |
| pipeline-executions | Run bookkeeping — list/get, start/complete/cancel, running, stats, cleanup. |
| pipeline-runner-background | Netlify background function that executes one dispatched pipeline run. |
| system-cron | Cron tick: sweeps stale executions, fires due schedules and timers, evaluates threshold alerts, retries deliveries, cleans logs. |
| timers | Timer CRUD + toggle for scheduled pipeline firing. |
| trigger-scheduler | Netlify scheduled function (* * * * *) that bridges Clockwork invocations to system-cron. |
| triggers | Trigger CRUD plus toggle, listByEvent, and execution listing. |
Integrations & AI
| Function | What it does |
|---|
| ai-agents | Agent CRUD plus action=run multi-turn inference. |
| ai-interactions | Feedback and interaction capture (submit_feedback, create_interaction). |
| deliveries | webhook_deliveries list/get plus outbound action=retry. |
| embeddings | Embedding lifecycle — generate, search-similar/search-semantic, revoke, approve, cleanup. |
| eval-harness | AI eval cases, runs, results, and coverage reporting. |
| integration-outbound | Executes outbound deliveries through integration adapters with retry bookkeeping. |
| integration-routes | Public inbound webhook receiver — machine-principal auth, handler registry, record creation. |
| integrations | Integration registry CRUD (providers, credentials, config). |
| kb | Knowledge-base ingest, search, publish, reindex, revoke. |
Observability & system
| Function | What it does |
|---|
| admin-funnel | Visitor→user→install funnel metrics. Dormant: no handler export — nothing routes to it. |
| admin-install-funnel | Install-funnel metrics plus exportData. Dormant: no handler export. |
| admin-signals | Product-signal metrics and audit listing. Dormant: no handler export. |
| debug-auth | Auth diagnostics — resolved principal type and env flags. Debug endpoint; not gated beyond authentication. |
| logs | Log query API — account/target/person/stats/search/cleanup — plus log writes. |
| observability | Metrics API — event volume, error rate, latency percentiles, pipeline stats, top actors, AI support metrics, cleanup. |
| security | Flagged accounts, ban/unban across blocklist + Supabase + edge firewall, blocklist management. |
| system | Deployment manifest, health, and openapi descriptors. |
| tests | test_runs/test_results reporting — list, get, 30-day per-suite stats. |