DreamLake

API Reference

Base URL: http://localhost:10334. All endpoints require Authorization: Bearer <token> unless noted.

Auth

MethodPathDescription
POST/auth/exchangeExchange vuer-auth token for dreamlake JWT (no auth required)
GET/auth/meCurrent user profile
PATCH/auth/meUpdate profile

Namespaces & Projects

MethodPathDescription
GET/auth/namespacesList public namespaces (no auth)
GET/namespaces/:slugNamespace overview with asset counts
PATCH/namespaces/:slugUpdate namespace (owner only)
GET/namespaces/:slug/projectsList projects
POST/namespaces/:slug/projectsCreate project
PATCH/namespaces/:slug/projects/:projUpdate project

Episodes

MethodPathDescription
POST/namespaces/:slug/projects/:proj/episodesCreate/upsert episode
GET/namespaces/:slug/projects/:proj/episodesList episodes (paginated)
PATCH/namespaces/:slug/projects/:proj/episodes/:nameUpdate episode

Nodes (File Tree)

MethodPathDescription
POST/nodesCreate node (auto-creates hierarchy)
GET/nodesList nodes by namespace/project/kind
GET/nodes/childrenList 1-level children
GET/nodes/lookupResolve node by materialized path
GET/nodes/:id/descendantsAll descendants (recursive)
GET/nodes/:id/contentsEpisodes + files (paginated)
GET/nodes/:id/downloadPresigned S3 download URL
PATCH/nodes/:idUpdate node (name, move, tags)
DELETE/nodes/:idHard-delete node + descendants

Files

MethodPathDescription
POST/episodes/:id/filesUpload file (multipart)
GET/episodes/:id/filesList files
GET/episodes/:id/files/:fid/downloadDownload file
DELETE/episodes/:id/files/:fidDelete file

Tracks & Logs

MethodPathDescription
POST/episodes/:id/tracks/:name/appendAppend data point
POST/episodes/:id/tracks/:name/append-batchAppend batch
GET/episodes/:id/tracks/:name/dataRead track data
GET/episodes/:id/tracksList tracks
POST/episodes/:id/logsCreate log entries
GET/episodes/:id/logsQuery logs (level, time, search)

Parameters

MethodPathDescription
POST/episodes/:id/parametersSet/merge parameters
GET/episodes/:id/parametersGet parameters
DELETE/episodes/:id/parametersSoft-delete

Bindrs & Datasets

MethodPathDescription
POST…/bindrsCreate bindr
GET…/bindrsList bindrs
GET…/bindrs/:nameGet bindr
PATCH…/bindrs/:nameUpdate bindr
DELETE…/bindrs/:nameSoft-delete
POST…/bindrs/:name/membersAdd members
DELETE…/bindrs/:name/membersRemove members
POST…/datasetsCreate dataset
GET…/datasetsList datasets
GET…/datasets/:nameGet dataset with bindrs
PATCH…/datasets/:nameUpdate dataset
DELETE…/datasets/:nameSoft-delete

All bindr/dataset paths are under /namespaces/:slug/projects/:proj/.

Search

MethodPathDescription
POST/projects/:id/searchProject-wide vector search
POST/projects/:id/episodes/:eid/searchEpisode-scoped search
POST…/assets/searchSemantic search (CLIP text/image)

Health

MethodPathDescription
GET/healthServer status (no auth)