D
DreamLake

DB Schema

Episode

Training episode or experiment run. Belongs to a Space, optionally organized in a folder.

FieldTypeDescription
idObjectIdPrimary key
nameStringEpisode name
descriptionString?Description
tagsString[]Tags
projectIdStringParent project
folderIdObjectId?→ Node.id (null = project root level)
statusString"running" | "completed" | "failed" | "archived" (default: "running")
writeProtectedBooleanOnce true, episode is fully immutable (default: false)
metadataJson?Arbitrary metadata
deletedAtDateTime?Soft delete timestamp
createdAtDateTimeCreated timestamp
updatedAtDateTimeLast updated timestamp

Relations: logEntries, logChunks, logMetadata, tracks, textTracks, labelTracks, audio, parameters

Unique: [projectId, name]

Indexes: projectId, folderId, deletedAt, tags, status, writeProtected