Skip to content
SynthGraph

Reference

Data model

The fields of every record.

The fields of each record, as the API returns them and the SDK sends them. Every record has a UUID id and a createdAt timestamp.

Ownership#

User ─▶ Project ─▶ Experiment ─▶ Generation ─▶ (dataset versions, asset versions)
                              └▶ Training run ─▶ Metric points
                                              └▶ Evaluations

Datasets and assets belong to a user. A dataset also becomes scoped to a project the first time it is referenced, and a reference from another project is rejected.

Project and experiment#

FieldMeaning
nameUp to 255 characters. Required.
descriptionFree text. Optional.
archivedAtSet when archived. Archived records are hidden and cannot be opened.
updatedAtWhen last renamed or edited.

Generation#

FieldMeaning
nameThe run's name.
generator{ name, version, type }. The name is required.
parametersAny JSON object. No schema is imposed.
reproducibility{ seed, code_version, environment, configuration_hash }, all optional. environment is a JSON object of facts such as Python version and git commit.
statuspending, running, completed or failed.
startedAt, completedAtSet when the status becomes running, and when it becomes completed or failed.
inputs, outputsLists of references.

Status moves forward only: pending to running, then running to completed or failed. Completed and failed are final. An invalid change is rejected with 409. The API has no route to change a generation's generator, parameters or seed after it is created.

Dataset and dataset version#

A dataset has a name, an optional description and metadata, and a project scope. A dataset version is one immutable state of it:

FieldMeaning
versionA label, up to 100 characters, unique within its dataset. The SDK uses the current UTC time if you give none.
uriWhere the data lives. Required. Stored as text and never opened.
formatA free-text label. Optional.
sizeBytes, as a number, returned as a string. Optional.
checksumUp to 255 characters. Optional. The SDK writes sha256:<hex> for a file and sha256-tree:<hex> for a folder it hashed.
metadataAny JSON object.

There is no route to edit a version.

Asset and asset version#

The same as a dataset, with a type on the asset (for example scene, model, texture) and no format on the version. Assets have no project scope.

Training run#

FieldMeaning
nameThe run's name.
trainer{ name, version, type } describing the model and framework.
parametersYour configuration, a JSON object. The SDK's config= is stored here.
statusThe same four values and the same rules as a generation.
startedAt, completedAtSet as the status changes.
captureStatusnull if the run never reported, otherwise { status, integrations } where status is complete, partial or unknown.
datasetsThe dataset versions the run was linked to.
generationReferencesThe generations the run was recorded as using. A link is exact and cannot be changed afterwards.
metadataAny JSON object.

Metric point#

FieldMeaning
stepAn integer.
metricsA JSON object of names to values.

Points are returned in order of step. A request that creates many points at once takes between 1 and 1,000.

Evaluation#

FieldMeaning
datasetVersionIdThe dataset version it was measured on. Required.
metricsA JSON object of names to values. Required.
nameA label. Optional.
checkpointStepAn integer from 0 to 2,147,483,647. Optional. It is never read from the name.
metadataAny JSON object.

Metric direction#

One per experiment and metric name.

FieldMeaning
metricKeyThe exact metric name, up to 200 characters.
directionmaximize, minimize or neutral.
correctedAt, correctionNoteSet when the direction was corrected on purpose, with the reason.

Declaring a different direction for a metric that already has one is rejected with 409. Only a correction, which needs a note, changes it.