API Reference
All registered HTTP routes and WorkerEntrypoint RPC methods, auto-generated from source.281
HTTP Routes
33
API Routes
16
Admin Routes
10
RPC Methods
API
33
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| POST | /api/feedback |
postFeedback | api-key-or-session | json |
| GET | /api/feedback/draft |
getFeedbackDraft | api-key-or-session | json |
| GET | /api/users/me |
<inline> | api-key-or-session | json |
| POST | /api/users/switch |
<inline> | api-key-or-session | json |
| GET | /api/users/switcher |
<inline> | api-key-or-session | json |
| GET | /api/funds |
apiListFunds | api-key-or-session | json |
| GET | /api/funds/:fundId |
apiGetFund | api-key-or-session | json |
| GET | /api/funds/:fundId/commitments |
apiListFundCommitments | api-key-or-session | json |
| GET | /api/funds/:fundId/clauses |
apiListFundClauses | api-key-or-session | json |
| GET | /api/funds/:fundId/activity |
apiListFundActivity | api-key-or-session | json |
| GET | /api/funds/:fundId/mfn/calculate |
apiCalculateMfn | api-key-or-session | json |
| GET | /api/investors |
apiListInvestors | api-key-or-session | json |
| GET | /api/investors/:investorId |
apiGetInvestor | api-key-or-session | json |
| GET | /api/commitments/:commitmentId |
apiGetCommitment | api-key-or-session | json |
| GET | /api/clauses/search |
<inline> | api-key-or-session | json |
| GET | /api/clauses/:clauseId |
apiGetClause | api-key-or-session | json |
| GET | /api/funds/:fundId/events |
<inline> | api-key-or-session | json |
| GET | /api/funds/:fundId/tasks |
<inline> | api-key-or-session | json |
| GET | /api/funds/:fundId/clauses/search |
<inline> | api-key-or-session | json |
| GET | /api/lp-profile/facets |
lpProfileFacetsHandler | api-key-or-session | json |
| GET | /api/lp-profile |
lpProfileHandler | api-key-or-session | json |
| GET | /api/clause-names |
<inline> | api-key-or-session | json |
| GET | /api/investor-categories |
<inline> | api-key-or-session | json |
| GET | /api/fund-categories |
<inline> | api-key-or-session | json |
| GET | /api/gps |
<inline> | api-key-or-session | json |
| GET | /api/lp-countries |
<inline> | api-key-or-session | json |
| GET | /api/chat/context |
<inline> | api-key-or-session | json |
| GET | /api/chat/status |
<inline> | api-key-or-session | json |
| POST | /api/chat |
createChatHandler | api-key-or-session | json |
| POST | /api/funds/:fundId/tasks |
<inline> | api-key-or-session | json |
| POST | /api/tasks/:taskId/complete |
<inline> | api-key-or-session | json |
| POST | /api/anonymise |
<inline> | api-key-or-session | json |
| GET | /api/pins/count |
pinCountHandler | api-key-or-session | json |
Admin
16
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /admin |
adminPage | admin | html |
| GET | /admin/feedback |
adminFeedbackPage | admin | html |
| POST | /admin/users |
adminCreateUser | admin | html |
| PUT | /admin/users/:id |
adminUpdateUser | admin | html |
| POST | /admin/users/:id/toggle-active |
adminToggleActive | admin | html |
| GET | /admin/permissions |
adminPermissionsTab | admin | html |
| POST | /admin/permissions |
adminGrantFund | admin | html |
| DELETE | /admin/permissions/:userFundId |
adminRevokeFund | admin | html |
| GET | /admin/activity |
adminActivityTab | admin | html |
| GET | /admin/documents |
adminDocumentsTab | admin | html |
| POST | /admin/documents/:docId/reparse |
adminReparseDoc | admin | html |
| POST | /admin/documents/reparse-all |
adminReparseAll | admin | html |
| POST | /admin/documents/reparse-all-dlq |
adminReparseAllDlq | admin | html |
| POST | /admin/embeddings/backfill |
adminEmbeddingsBackfill | admin | html |
| POST | /admin/sweep/run |
adminRunSweep | admin | html |
| GET | /test-files/:key |
<inline> | admin | html |
Upload
20
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /funds/:fundId/upload |
uploadPage | session | html |
| POST | /funds/:fundId/upload |
uploadHandler | session | html |
| GET | /funds/:fundId/upload/lp-suggest |
uploadLpSuggestHandler | session | html |
| GET | /funds/:fundId/upload/compare |
uploadCompareHandler | session | html |
| POST | /funds/:fundId/upload/:docId/flag |
uploadFlagHandler | session | html |
| POST | /funds/:fundId/upload/:docId/mark-gap-reviewed |
uploadMarkGapReviewedHandler | session | html |
| PUT | /funds/:fundId/upload/:docId/clause/:clauseId/boundary |
uploadBoundaryHandler | session | html |
| GET | /funds/:fundId/upload/:docId/processing |
uploadProcessingPage | session | html |
| GET | /funds/:fundId/upload/:docId/parse-status |
uploadParseStatusHandler | session | html |
| GET | /funds/:fundId/upload/:docId/inline-parse-status |
inlineParseStatusHandler | session | html |
| POST | /funds/:fundId/upload/:docId/parse |
uploadParseHandler | session | html |
| POST | /funds/:fundId/upload/:docId/retry |
uploadRetryHandler | session | html |
| GET | /funds/:fundId/upload/:docId/review |
uploadReviewPage | session | html |
| GET | /funds/:fundId/upload/:docId/download |
uploadDocumentDownloadHandler | session | html |
| GET | /funds/:fundId/upload/:docId/source.docx |
uploadSourceDocxHandler | session | html |
| POST | /funds/:fundId/upload/:docId/confirm |
uploadConfirmHandler | session | html |
| POST | /funds/:fundId/upload/:docId/discard |
uploadDiscardHandler | session | html |
| POST | /funds/:fundId/upload/:docId/reject/:clauseId |
uploadRejectClauseHandler | session | html |
| PUT | /funds/:fundId/upload/:docId/clause/:clauseId |
uploadUpdateClauseHandler | session | html |
| POST | /funds/:fundId/upload/:docId/merge |
uploadMergeClausesHandler | session | html |
Export
17
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /funds/:fundId/export |
exportPage | session | html |
| GET | /funds/:fundId/export/settings |
fundExportSettingsPage | session | html |
| POST | /funds/:fundId/export/settings/firm |
fundExportSettingsFirmHandler | session | html |
| POST | /funds/:fundId/export/settings/template/:kind |
fundExportSettingsTemplateUploadHandler | session | html |
| POST | /funds/:fundId/export/settings/template/:kind/remove |
fundExportSettingsTemplateRemoveHandler | session | html |
| GET | /funds/:fundId/export/settings/starter/isl |
fundExportSettingsStarterIslHandler | session | html |
| GET | /funds/:fundId/export/recent-exports |
exportRecentExportsHandler | session | html |
| GET | /funds/:fundId/export/isl/preview |
exportIslPreviewHandler | session | html |
| GET | /funds/:fundId/export/isl/preview/close |
exportIslPreviewCloseHandler | session | html |
| POST | /funds/:fundId/export/isl/preview-docx |
exportIslPreviewDocxHandler | session | html |
| POST | /funds/:fundId/export/isl/generate |
exportIslHandler | session | html |
| POST | /funds/:fundId/export/isl |
exportIslHandler | session | html |
| POST | /funds/:fundId/export/ef |
exportEfHandler | session | html |
| POST | /funds/:fundId/export/msl |
exportMslHandler | session | html |
| POST | /funds/:fundId/export/pinned |
exportPinnedHandler | session | html |
| GET | /funds/:fundId/export/download/:docId |
exportDownloadHandler | session | html |
| GET | /funds/:fundId/export/clauses |
exportClausesHandler | session | html |
ISL
9
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| POST | /funds/:fundId/isl/:lpId/elect/:clauseId |
islElect | session | html |
| POST | /funds/:fundId/isl/:lpId/remove/:clauseId |
islRemoveFromSl | session | html |
| POST | /funds/:fundId/isl/:lpId/exclude-from-ef/:clauseId |
islExcludeFromEf | session | html |
| POST | /funds/:fundId/isl/:lpId/readd-to-ef/:clauseId |
islReaddToEf | session | html |
| POST | /funds/:fundId/isl/:lpId/exclude/:clauseId |
islExclude | session | html |
| POST | /funds/:fundId/isl/:lpId/unexclude/:ruleId |
islUnexclude | session | html |
| POST | /funds/:fundId/isl/:lpId/exclude-group/:groupId |
islExcludeGroup | session | html |
| POST | /funds/:fundId/isl/:lpId/unexclude-group/:groupId |
islUnexcludeGroup | session | html |
| GET | /funds/:fundId/isl/:lpId |
islPage | session | html |
MFN
14
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /funds/:fundId/mfn |
mfnSettingsPage | session | html |
| PUT | /funds/:fundId/mfn/basic-rule |
saveBasicRule | session | html |
| POST | /funds/:fundId/mfn/general-rules |
createGeneralRule | session | html |
| POST | /funds/:fundId/mfn/general-rules/toggle |
toggleGeneralRule | session | html |
| POST | /funds/:fundId/mfn/general-rules/toggle-group |
toggleGeneralGroupRule | session | html |
| DELETE | /funds/:fundId/mfn/general-rules/:ruleId |
deleteGeneralRule | session | html |
| POST | /funds/:fundId/mfn/general-rules/:ruleId/rationale |
updateGeneralRuleRationale | session | html |
| POST | /funds/:fundId/mfn/individual-rules |
createIndividualRule | session | html |
| POST | /funds/:fundId/mfn/individual-rules/:ruleId/rationale |
updateIndividualRuleRationale | session | html |
| DELETE | /funds/:fundId/mfn/individual-rules/:ruleId |
deleteIndividualRule | session | html |
| GET | /funds/:fundId/mfn/clause-exclusions-list |
clauseExclusionsFragment | session | html |
| GET | /funds/:fundId/mfn/rationale-modal |
rationaleModal | session | html |
| GET | /funds/:fundId/mfn-impact |
mfnImpactPage | session | html |
| POST | /funds/:fundId/mfn-impact/exclude |
mfnImpactExcludeHandler | session | html |
Library
22
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /library |
crossFundLibraryPage | session | html |
| GET | /library/:clauseNameId/variants |
libraryVariantsPartial | session | html |
| GET | /funds/:fundId/library |
libraryPage | session | html |
| GET | /funds/:fundId/library/pinned |
pinnedBasketPartial | session | html |
| POST | /funds/:fundId/library/pin |
togglePinHandler | session | html |
| GET | /funds/:fundId/library/compare-group |
compareGroupHandler | session | html |
| POST | /funds/:fundId/library/compare-group/save-as-set |
saveCompareGroupAsSetHandler | session | html |
| GET | /funds/:fundId/library/new |
clauseNewPage | session | html |
| POST | /funds/:fundId/library |
clauseCreateHandler | session | html |
| GET | /funds/:fundId/library/:clauseId |
clauseDetailPage | session | html |
| GET | /funds/:fundId/library/:clauseId/mfn-exclusions/new-panel |
mfnExclusionPanelHandler | session | html |
| POST | /funds/:fundId/library/:clauseId/mfn-exclusions |
createMfnClauseExclusion | session | html |
| POST | /funds/:fundId/library/:clauseId/mfn-exclusions/:exclusionId/delete |
deleteMfnClauseExclusion | session | html |
| GET | /funds/:fundId/library/:clauseId/diff/:prevClauseId |
clauseDiffHandler | session | html |
| GET | /funds/:fundId/library/:clauseId/similar |
similarClausesFragment | session | html |
| GET | /funds/:fundId/library/:clauseId/rich-panel |
richPanelHandler | session | html |
| GET | /funds/:fundId/library/:clauseId/ops-tags |
opsTagsPartialHandler | session | html |
| GET | /funds/:fundId/library/:clauseId/edit-panel |
richPanelHandler | session | html |
| POST | /funds/:fundId/library/:clauseId/edit-panel |
editPanelSaveHandler | session | html |
| GET | /funds/:fundId/library/:clauseId/edit |
clauseEditPage | session | html |
| POST | /funds/:fundId/library/:clauseId/edit |
clauseUpdateHandler | session | html |
| POST | /funds/:fundId/library/:clauseId/assign-set |
assignClauseToSetHandler | session | html |
Pages
150
| Method | Path | Handler | Auth | Response |
|---|---|---|---|---|
| GET | /auth/addin-complete |
<inline> | session | html |
| GET | /funds/:fundId/search |
searchHandler | session | html |
| GET | /export/clauses |
exportClausesHandler | session | html |
| GET | / |
fundsPage | session | html |
| GET | /investors |
globalInvestorsPage | session | html |
| GET | /investors/:investorId |
globalInvestorDetailPage | session | html |
| GET | /sponsors |
sponsorsListPage | session | html |
| POST | /sponsors |
createSponsor | session | html |
| GET | /sponsors/unknown |
sponsorsUnknownPage | session | html |
| GET | /sponsors/:id |
sponsorDetailPage | session | html |
| GET | /sponsors/:id/edit |
sponsorEditForm | session | html |
| POST | /sponsors/:id |
updateSponsor | session | html |
| POST | /sponsors/:id/delete |
deleteSponsor | session | html |
| GET | /sponsors/:sponsorId/export/settings |
sponsorExportSettingsPage | session | html |
| POST | /sponsors/:sponsorId/export/template/:kind |
sponsorExportSettingsTemplateUploadHandler | session | html |
| POST | /sponsors/:sponsorId/export/template/:kind/remove |
sponsorExportSettingsTemplateRemoveHandler | session | html |
| POST | /sponsors/:sponsorId/export/settings/firm |
sponsorExportSettingsFirmHandler | session | html |
| GET | /intelligence |
clausePrecedentPage | session | html |
| POST | /funds |
createFund | session | html |
| GET | /funds/:fundId |
fundDetailPage | session | html |
| POST | /funds/:fundId/commitments/:commitmentId/doc-status |
updateCommitmentDocStatus | session | html |
| GET | /funds/:fundId/edit |
fundEditPage | session | html |
| GET | /funds/:fundId/lpa-drafts |
lpaDocumentsPage | session | html |
| POST | /funds/:fundId/lpa-drafts |
uploadLpaDocumentHandler | session | html |
| GET | /funds/:fundId/lpa-drafts/:draftId/download |
downloadLpaDocumentHandler | session | html |
| GET | /funds/:fundId/lpa-drafts/:draftId/source.docx |
lpaDocumentSourceHandler | session | html |
| POST | /funds/:fundId/lpa-drafts/:draftId/publish |
publishLpaDocumentHandler | session | html |
| GET | /funds/:fundId/lpa-memos |
lpaMemosPage | session | html |
| POST | /funds/:fundId/lpa-memos |
uploadLpaMemoHandler | session | html |
| GET | /funds/:fundId/lpa-memos/:memoId/download |
downloadLpaMemoHandler | session | html |
| GET | /funds/:fundId/lpa-memos/:memoId/review |
memoReviewPage | session | html |
| GET | /funds/:fundId/lpa-memos/:memoId/replies |
composedRepliesPage | session | html |
| GET | /funds/:fundId/lpa-memos/:memoId/source.docx |
memoSourceDocxHandler | session | html |
| POST | /funds/:fundId/lpa-memos/:memoId/comments/:commentId/bind |
bindCommentHandler | session | html |
| POST | /funds/:fundId/lpa-memos/:memoId/comments/:commentId/quick-bind |
quickBindHandler | session | html |
| POST | /funds/:fundId/lpa-memos/:memoId/comments/:commentId/new-rip |
createRecurringInvestorPointHandler | session | html |
| POST | /funds/:fundId/lpa-memos/:memoId/finish-review |
finishReviewHandler | session | html |
| GET | /funds/:fundId/master-memo |
masterMemoListPage | session | html |
| GET | /funds/:fundId/master-memo/:ripId/panel |
masterMemoPanelHandler | session | html |
| POST | /funds/:fundId/master-memo/:ripId/replies |
publishStandardReplyHandler | session | html |
| POST | /funds/:fundId/master-memo/:ripId/edit |
editRecurringInvestorPointHandler | session | html |
| POST | /funds/:fundId/master-memo/:ripId/consolidate |
consolidateRecurringInvestorPointHandler | session | html |
| GET | /funds/:fundId/stale-replies |
staleRepliesPage | session | html |
| POST | /funds/:fundId/stale-replies/bulk-reconfirm |
bulkReconfirmHandler | session | html |
| POST | /funds/:fundId/stale-replies/:commentId/:ripId/reconfirm |
reconfirmStaleReplyHandler | session | html |
| PUT | /funds/:fundId |
updateFund | session | html |
| DELETE | /funds/:fundId |
deleteFund | session | html |
| GET | /funds/:fundId/investors |
investorsPage | session | html |
| GET | /funds/:fundId/investors/new |
investorNewPage | session | html |
| GET | /funds/:fundId/investors/import |
importUploadPage | session | html |
| GET | /funds/:fundId/investors/import/template |
importTemplateHandler | session | html |
| POST | /funds/:fundId/investors/import/review |
importMapHandler | session | html |
| POST | /funds/:fundId/investors/import/preview |
importPreviewHandler | session | html |
| POST | /funds/:fundId/investors/import/revalidate |
importRevalidateHandler | session | html |
| POST | /funds/:fundId/investors/import/plan |
importPlanHandler | session | html |
| POST | /funds/:fundId/investors/import/execute |
importExecuteHandler | session | html |
| POST | /funds/:fundId/investors/import/confirm |
importConfirmHandler | session | html |
| POST | /funds/:fundId/investors/import/:jobId/undo |
importUndoHandler | session | html |
| GET | /funds/:fundId/investors/import/:jobId/progress |
importProgressPage | session | html |
| GET | /funds/:fundId/investors/import/:jobId/progress/status |
importProgressStatusHandler | session | html |
| GET | /funds/:fundId/investors/import/similar |
importSimilarPanelHandler | session | html |
| POST | /funds/:fundId/investors/import/profiles |
importProfileCreateHandler | session | html |
| DELETE | /funds/:fundId/investors/import/profiles/:id |
importProfileDeleteHandler | session | html |
| POST | /funds/:fundId/investors |
createInvestor | session | html |
| GET | /funds/:fundId/investors/:investorId |
investorDetailPage | session | html |
| GET | /funds/:fundId/investors/:investorId/compare/:clauseId |
compareClauseDrawerHandler | session | html |
| PUT | /funds/:fundId/investors/:lpId/clause-note/:clauseId |
updateClauseAssignmentNote | session | html |
| GET | /funds/:fundId/clause/:clauseId/editor |
clauseEditorFragmentHandler | session | html |
| GET | /funds/:fundId/clause/:clauseId/shared-with |
clauseSharedWithPopoverHandler | session | html |
| PUT | /funds/:fundId/clause/:clauseId/text |
updateClauseTextHandler | session | html |
| PUT | /funds/:fundId/clause/:clauseId/classification |
updateClauseClassificationHandler | session | html |
| POST | /funds/:fundId/clause/:clauseId/undo |
undoClauseEditHandler | session | html |
| GET | /funds/:fundId/investors/:investorId/edit |
investorEditPage | session | html |
| PUT | /funds/:fundId/investors/:investorId |
updateInvestor | session | html |
| DELETE | /funds/:fundId/investors/:investorId |
deleteInvestor | session | html |
| GET | /funds/:fundId/investors/:investorId/commitment/new |
commitmentNewFormHandler | session | html |
| POST | /funds/:fundId/investors/:investorId/commitment |
createCommitment | session | html |
| GET | /funds/:fundId/investors/:investorId/commitment/:commitmentId/edit |
commitmentEditHandler | session | html |
| GET | /funds/:fundId/investors/:investorId/commitment/:commitmentId/row |
commitmentRowHandler | session | html |
| PUT | /funds/:fundId/investors/:investorId/commitment/:commitmentId |
updateCommitment | session | html |
| DELETE | /funds/:fundId/investors/:investorId/commitment/:commitmentId |
deleteCommitment | session | html |
| GET | /configuration |
configurationPage | session | html |
| GET | /categories |
categoriesPage | session | html |
| POST | /categories |
createCategory | session | html |
| DELETE | /categories/:categoryId |
deleteCategory | session | html |
| GET | /funds/:fundId/msl |
mslPage | session | html |
| GET | /funds/:fundId/analytics/tropes |
<inline> | session | html |
| GET | /funds/:fundId/analytics/tropes/pro-forma |
<inline> | session | html |
| GET | /funds/:fundId/pro-forma |
proFormaPage | session | html |
| POST | /funds/:fundId/pro-forma |
proFormaSubmit | session | html |
| GET | /funds/:fundId/pro-forma/export.docx |
proFormaExportDocx | session | html |
| GET | /clause-names |
clauseNamesPage | session | html |
| POST | /clause-names |
clauseNameCreateHandler | session | html |
| GET | /ops-tags |
opsTagsPage | session | html |
| POST | /ops-tags |
createOpsTagCategory | session | html |
| DELETE | /ops-tags/:id |
deleteOpsTagCategory | session | html |
| POST | /funds/:fundId/clauses/:clauseId/tags |
addClauseTag | session | html |
| DELETE | /funds/:fundId/clauses/:clauseId/tags/:tagId |
removeClauseTag | session | html |
| GET | /funds/:fundId/groups |
clauseGroupsPage | session | html |
| POST | /funds/:fundId/groups |
createGroupHandler | session | html |
| POST | /funds/:fundId/groups/:groupId/prefer/:clauseId |
setPreferredHandler | session | html |
| POST | /funds/:fundId/groups/:groupId/delete |
deleteGroupHandler | session | html |
| POST | /funds/:fundId/groups/:groupId/add-clause |
addClauseToGroupHandler | session | html |
| POST | /funds/:fundId/groups/:groupId/remove-clause/:clauseId |
removeClauseFromGroupHandler | session | html |
| POST | /funds/:fundId/groups/:groupId/description |
updateGroupDescriptionHandler | session | html |
| GET | /funds/:fundId/activity |
activityPage | session | html |
| GET | /funds/:fundId/operations |
operationsPage | session | html |
| GET | /funds/:fundId/definitions |
definitionsPage | session | html |
| POST | /funds/:fundId/definitions |
createDefinition | session | html |
| GET | /funds/:fundId/definitions/:id/edit |
editDefinitionForm | session | html |
| GET | /funds/:fundId/definitions/:id/row |
definitionRowPartial | session | html |
| PUT | /funds/:fundId/definitions/:id |
updateDefinition | session | html |
| DELETE | /funds/:fundId/definitions/:id |
deleteDefinition | session | html |
| GET | /funds/:fundId/setup |
fundSetupPage | session | html |
| GET | /funds/:fundId/setup/bpmsl-import |
bpmslImportPage | session | html |
| POST | /funds/:fundId/setup/bpmsl-import/clone |
bpmslImportHandler | session | html |
| GET | /funds/:fundId/closings |
<inline> | session | html |
| POST | /funds/:fundId/closings |
createClosing | session | html |
| GET | /funds/:fundId/closings/:closingId/edit |
editClosingForm | session | html |
| GET | /funds/:fundId/closings/:closingId/row |
closingRowPartial | session | html |
| PUT | /funds/:fundId/closings/:closingId |
updateClosing | session | html |
| DELETE | /funds/:fundId/closings/:closingId |
deleteClosing | session | html |
| GET | /funds/:fundId/lpac |
<inline> | session | html |
| POST | /funds/:fundId/lpac |
addLpacMember | session | html |
| DELETE | /funds/:fundId/lpac/:memberId |
removeLpacMember | session | html |
| GET | /funds/:fundId/tasks |
fundTasksPage | session | html |
| GET | /funds/:fundId/tasks/fragment |
fundTasksFragment | session | html |
| GET | /funds/:fundId/tasks/activity |
fundActivityPage | session | html |
| GET | /funds/:fundId/tasks/create-form |
fundTaskCreateForm | session | html |
| POST | /funds/:fundId/tasks/create |
createFundTask | session | html |
| POST | /funds/:fundId/tasks/bulk |
bulkUpdateTasks | session | html |
| POST | /funds/:fundId/tasks/archive-done |
archiveAllDone | session | html |
| POST | /funds/:fundId/tasks/:taskId/status |
updateTaskStatus | session | html |
| GET | /funds/:fundId/tasks/:taskId/edit-card |
kanbanCardEditForm | session | html |
| POST | /funds/:fundId/tasks/:taskId/edit-card |
kanbanCardSave | session | html |
| GET | /funds/:fundId/tasks/:taskId/card |
kanbanCardCompact | session | html |
| GET | /funds/:fundId/tasks/:taskId/detail |
taskDetailFragment | session | html |
| POST | /funds/:fundId/tasks/:taskId/archive |
archiveTask | session | html |
| POST | /funds/:fundId/tasks/:taskId/unarchive |
unarchiveTask | session | html |
| GET | /funds/:fundId/tasks/:taskId/history |
taskHistoryFragment | session | html |
| GET | /funds/:fundId/tasks/:taskId/comments |
commentsFragment | session | html |
| POST | /funds/:fundId/tasks/:taskId/comments |
addCommentHandler | session | html |
| POST | /funds/:fundId/tasks/:taskId/comments/:commentId/edit |
editCommentHandler | session | html |
| POST | /funds/:fundId/tasks/:taskId/comments/:commentId/delete |
deleteCommentHandler | session | html |
| GET | /funds/:fundId/investors/:investorId/tasks |
<inline> | session | html |
| GET | /funds/:fundId/investors/:investorId/tasks/new |
lpTaskNewForm | session | html |
| POST | /funds/:fundId/investors/:investorId/tasks |
createLpTask | session | html |
| GET | /funds/:fundId/investors/:investorId/tasks/:taskId/edit |
lpTaskEditForm | session | html |
| POST | /funds/:fundId/investors/:investorId/tasks/:taskId/edit |
editLpTask | session | html |
| POST | /funds/:fundId/investors/:investorId/tasks/:taskId/complete |
completeLpTask | session | html |
Service Bindings (RPC) 10 methods
WorkerEntrypoint methods exposed over Cloudflare service bindings. Consumer workers add [[services]] binding = "HUGO" to their wrangler.toml and call these directly — zero-network-hop RPC. Generated from source by the ts-morph walk in scripts/generate-discovery.mjs.
hugo.HugoService
10 methods
| Method | Params | Returns | Source |
|---|---|---|---|
| MFN Engine MFN eligibility computation — stateless wrappers over mfn-queries.ts. | |||
calculateAllMfn |
fundId: string |
Promise<MfnResult[]> |
src/services/hugo-service.ts:192 |
calculateMfn |
fundId: string, targetLpId: string |
Promise<MfnResult> |
src/services/hugo-service.ts:187 |
| Tasks LP task reads and mutations exposed over RPC. | |||
completeTask |
taskId: string |
Promise<boolean> |
src/services/hugo-service.ts:251 |
createTask |
fundId: string, commitmentId: string, title: string, priority?: string, dueDate?: string | null |
Promise<string> |
src/services/hugo-service.ts:241 |
getTasks |
fundId: string, limit?: number |
Promise<TaskRow[]> |
src/services/hugo-service.ts:223 |
| Search & Discovery Clause and fund lookups used by consumer workers (MCP, future sitrep agents). | |||
getClause |
clauseId: string |
Promise<ClauseSearchResult | null> |
src/services/hugo-service.ts:140 |
getCommitments |
fundId: string |
Promise<CommitmentSummary[]> |
src/services/hugo-service.ts:169 |
getFund |
fundId: string |
Promise<FundSummary | null> |
src/services/hugo-service.ts:153 |
searchClauses |
fundId: string | null, query: string, limit?: number |
Promise<ClauseSearchResult[]> |
src/services/hugo-service.ts:95 |
| Analytics & Logging Fund event stream reads for consumer workers. | |||
getFundEvents |
fundId: string, opts?: { since?: string; limit?: number; type?: string } |
Promise<FundEventRow[]> |
src/services/hugo-service.ts:197 |
Generated at 2026-04-15T23:41:19.677Z · hugo.nordiclawfirm.com
Discovery pipeline
This page is auto-generated from Hugo's source code by scripts/generate-discovery.mjs. Two independent extraction paths feed a single discovery.json artifact:
- HTTP routes — single-line regex walk over
src/index.tsx. Captures everyapp.<verb>('/path', handler)registration and classifies by path prefix. - RPC methods — ts-morph AST walk over
src/services/hugo-service.ts. Finds every class extendingWorkerEntrypointand extracts public method signatures (params, return types, source line numbers). Mirrors the Gustav dev-portal pattern.
How to update
npm run discovery:generate | Re-extract routes from source and write contracts/discovery.json. Also copies to hugo-dev/src/data/. |
npm run discovery:check | Compare on-disk artifact against current source. Exits 1 if stale — use in CI to catch drift. |
Artifact locations
hugo-worker/contracts/ | Source of truth. Committed to git. |
hugo-dev/src/data/ | Copy consumed by this dev portal at build time. |
Route classification (capability, auth, response type) is inferred from path prefixes. Override metadata is not yet supported — add contracts/discovery.overrides.json if needed.