Types
DearDiary.User — Type
User <: ResultTypeA struct that represents a user.
Fields
id::Int64: The ID of the user.first_name::String: The first name of the user.last_name::String: The last name of the user.username::String: The username of the user.password::String: The password of the user. This is a hashed version of the password, not the plain text password.created_date::DateTime: The date and time the user was created.is_admin::Bool: Whether the user is an administrator.
DearDiary.UserPermission — Type
UserPermission <: ResultTypeA struct representing a user's permissions for a specific project.
Fields
id::Int64: The unique identifier for the user permission record.user_id::Int64: The ID of the user.project_id::Int64: The ID of the project.create_permission::Bool: Permission to create resources.read_permission::Bool: Permission to read resources.update_permission::Bool: Permission to update resources.delete_permission::Bool: Permission to delete resources.
DearDiary.Project — Type
Project <: ResultTypeA struct representing a project with its details.
Fields
id::Int64: The ID of the project.name::String: The name of the project.description::String: A brief description of the project.created_date::DateTime: The date and time the project was created.
DearDiary.Experiment — Type
Experiment <: ResultTypeA struct representing an experiment within a project.
Fields
id::Int64: The unique identifier of the experiment.project_id::Int64: The identifier of the project to which the experiment belongs.status_id::Int64: The status of the experiment.name::String: The name of the experiment.description::String: A description of the experiment.created_date::DateTime: The date and time when the experiment was created.end_date::Optional{DateTime}: The date and time when the experiment ended, ornothingif it is still ongoing.
DearDiary.Iteration — Type
Iteration <: ResultTypeA struct representing an iteration within an experiment.
Fields
id::Int64: The unique identifier of the iteration.experiment_id::Int64: The identifier of the experiment to which the iteration belongs.notes::String: Notes associated with the iteration.created_date::DateTime: The date and time when the iteration was created.end_date::Optional{DateTime}: The date and time when the iteration ended, ornothingif it is still ongoing.parent_iteration_id::Optional{Int64}: The identifier of the parentIterationwhen this iteration is a child run (e.g. one trial in an HPO sweep, one fold in a nested CV, one worker in a distributed run).nothingfor top-level iterations.status_id::Int64: The current lifecycleIterationStatus—RUNNINGwhile the iteration is in flight, thenSUCCEEDED,FAILED, orKILLEDonce it terminates.error_message::String: Captured exception text whenstatus_idisFAILED. Empty otherwise.julia_version::String:string(VERSION)captured bysnapshot_environment!. Empty when no snapshot has been taken.git_sha::String: HEAD commit SHA captured bysnapshot_environment!. Empty when the iteration ran outside a git working tree or no snapshot was taken.git_dirty::Bool:truewhen the working tree had uncommitted changes at snapshot time.entrypoint::String:PROGRAM_FILEcaptured bysnapshot_environment!. Empty for REPL-driven runs.project_toml::String: Verbatim contents of the activeProject.tomlat snapshot time.manifest_toml::String: Verbatim contents of the activeManifest.tomlat snapshot time. This is the bit-exact dependency tree thatrestorereconstructs.
DearDiary.Parameter — Type
Parameter <: ResultTypeA struct representing a parameter with its details.
Fields
id::Int64: The ID of the parameter.iteration_id::Int64: The ID of the iteration this parameter belongs to.key::String: The key/name of the parameter.value::String: The value of the parameter.
DearDiary.Metric — Type
Metric <: ResultTypeA struct representing a metric value logged against an Iteration. Repeated logs of the same key form a series indexed by step and timestamped by recorded_at, so a training script can record a loss curve over many epochs.
Fields
id::Int64: The ID of the metric.iteration_id::Int64: The ID of the iteration this metric belongs to.key::String: The key/name of the metric (e.g."loss","accuracy").value::Float64: The recorded value.step::Int64: Position in the time series for this(iteration_id, key). Defaults tomax(step) + 1server-side when not supplied by the caller.recorded_at::DateTime: When the value was captured. Defaults to the server clock when not supplied by the caller.
DearDiary.Resource — Type
Resource <: ResultTypeA struct representing a resource associated with an experiment.
Fields
id::Int64: The ID of the resource.experiment_id::Int64: The ID of the experiment this resource belongs to.name::String: The name of the resource.description::String: A description of the resource.data::Optional{Array{UInt8,1}}: The binary data of the resource. Populated for the SQLite backend (legacy inline storage);nothingfor rows whose canonical bytes live in an external backend (filesystem, S3) and are fetched on demand via the trait.created_date::DateTime: The date and time when the resource was created.updated_date::Optional{DateTime}: The date and time when the resource was last updated.backend::String: Short backend identifier ("sqlite","filesystem","s3"). Drives dispatch on theAbstractArtifactStoretrait.uri::String: Stable pointer at the canonical bytes ("file:///...","s3://..."). Empty string whenbackend == "sqlite"(the bytes are inline indata).size_bytes::Int64: Exact byte count of the artifact. Surfaced in list endpoints without materialising the BLOB.content_hash::String: Lower-case sha256 hex digest of the bytes. Empty string for pre-phase-1 rows that have not yet been re-hashed by the backfill pass.
DearDiary.Model — Type
Model <: ResultTypeA struct representing a registered model in the project-scoped model registry. A Model is the named container under which one or more ModelVersion checkpoints are recorded.
Fields
id::Int64: The unique identifier of the model.project_id::Int64: The identifier of theProjectthat owns the model.name::String: The registry-unique name of the model (unique per project).description::String: A free-form description of the model.created_date::DateTime: The date and time when the model was registered.updated_date::Optional{DateTime}: The date and time of the most recent update, ornothingif the record has never been updated.
DearDiary.ModelVersion — Type
ModelVersion <: ResultTypeA struct representing a concrete checkpoint of a registered Model. Each version is produced by a specific Iteration and may point at an artifact Resource that stores the serialised bytes.
Fields
id::Int64: The unique identifier of the model version.model_id::Int64: The identifier of the parentModel.version::Int64: The per-model monotonically-increasing version number, assigned by the service layer at registration time.iteration_id::Int64: The identifier of theIterationthat produced this checkpoint, recording lineage from training run to registered artifact.resource_id::Optional{Int64}: The identifier of theResourcethat holds the serialised artifact, ornothingwhen the registration predates the upload.stage_id::Int64: The lifecycleStagethe version currently occupies.description::String: A free-form description of the version (e.g. training notes).created_date::DateTime: The date and time when the version was registered.updated_date::Optional{DateTime}: The date and time of the most recent update, ornothingif the record has never been updated.
DearDiary.Client — Type
ClientHandle for talking to a running DearDiary REST API. Constructed via connect. The token, expiry, and cached user are mutable so refresh_token! and reauthentication do not require rebuilding the client.
Fields
base_url::String: Base URL of the server (e.g."http://127.0.0.1:9000"), without trailing slash.token::Optional{String}: Bearer token, ornothingwhen the server runs with auth disabled.expires_at::Optional{Int}: Unix epoch seconds at which the token expires.user::Optional{UserResponse}: The signed-in user, if known.
DearDiary.ClientError — Type
ClientError <: ExceptionRaised by Client methods when the server returns a non-2xx status.
Fields
status::Int: The HTTP status code.code::String: The stable error code from the response body ("NOT_FOUND","CONFLICT", …), or"UNKNOWN"when the body is unparseable.message::String: Human-readable description from the response body.