{"service":"ai-builder-service","routes":["GET  /health","GET  /catalog/datasources","GET  /catalog/search?q=<text>&k=5","GET  /catalog/tables/:tableId","POST /catalog/datasources {url, key?, name?}          add a datasource from a connection string (background, read-only) → importId","GET  /catalog/imports · /catalog/imports/:importId    step-by-step progress of adding a datasource","GET  /catalog/datasources/:key/removal                what removing an added datasource would remove / keep / is blocked by","DELETE /catalog/datasources/:key {confirm: key}       remove it (the source database is never touched)","GET  /catalog/learned                                 answered clarifications the search reuses","DELETE /catalog/learned/:id                           forget a wrong lesson","GET  /catalog/glossary · PUT /catalog/glossary/:term {means, note?} · DELETE /catalog/glossary/:term","POST /discover            {prompt, tableId?, datasource?}  table + fields + tables (columns, relationships), metadata only = MCP discover; datasource = search only that one (default: DATASOURCE_VERSION)","GET  /discover?prompt=<text>&tableId=&datasource=","POST /spec/preview        {prompt, tableId?}          (no Station call, free)","POST /jobs                {prompt, requestedBy?, idempotencyKey?}  = MCP run","GET  /jobs?status=&limit=","GET  /jobs/:jobId                                     = MCP getResults","GET  /jobs/:jobId/records?<column>=<value>&limit=&offset=&prefer=auto|direct|station  = MCP getRecords (Station, else the datasource directly)","POST /jobs/:jobId/clarify {tableId | null}            = MCP answerClarification (null = none of these → cancelled)","POST /jobs/:jobId/cancel  {reason?}                   = MCP cancelJob (only before the Station has it)","GET  /jobs/:jobId/events","POST /mcp                 (MCP streamable HTTP)","GET  /graph                                           datasources with table / foreign-key counts","GET  /graph/:ds?mode=before|after&elements=false      schema health: stats, findings, Cytoscape nodes + edges","GET  /graph/:ds/tables/:table                          one table: references, referenced by, findings","GET  /graph/:ds/path?from=&to=&mode=                   join path check + recommended SQL","GET  /graph/:ds/suggest?from=&hops=                    joins from one table, grouped","GET  /graph/:ds/traverse?start=&depth=&direction=      level-by-level walk + the recursive SQL","GET  /graph/:ds/view                                   interactive graph page (open in a browser)","GET  /workspace                                       data workspace page: ask for data, job steps, rows + sources, connect services","GET  /workspace/services                              built services (one per URL), connected or not","GET  /workspace/services/:jobId/health                is it answering (MCP tools/list)","PUT|DELETE /workspace/services/:jobId/connection      connect / disconnect it from the workspace","GET  /workspace/services/:jobId/rows?limit=&offset=&<column>=<value>   rows through the service's REST route","GET  /workspace/services/:jobId/rows/:rowId           one row through the service's get-by-id route","GET  /workspace/services/:jobId/tools                 the service's MCP tools + input schemas (Query Explorer)","POST /workspace/services/:jobId/call {tool, arguments}   call one of those tools (read-only)","GET  /workspace/jobs/:jobId/timeline                  a job as steps (find, check, reuse/build, build, ready)","discover also answers: \"how is X related to Y\", \"what connects to X\", \"schema health of <datasource>\""]}