Semogram Docs
Reference

Artifacts

Output kinds, storage classes, contracts, and review.

Artifacts are the durable outputs runs leave behind: datasets, fact sets, predictions, recommendations — each with lineage, storage rules, and review state.

Artifact kinds

KindHoldsExample
Table / datasetStructured rowsForecast scores table
Parquet / JSON / fileSerialized payloadsExported feature file
Ontology fact-set manifestPrediction-ready grouped factsAccount feature manifest
ManifestPointers over other artifactsRun output index
Recommendations / reviewsDecision-facing outputsTop-20 risk list with reasons

Storage classes

ClassMeaningUse for
EphemeralMay expire; carries an expiry timePreviews, intermediates
PersistedKept under retention rulesCommitted outputs
ExternalLives outside Semogram, referenced by URIWarehouse tables, file drops

Contracts

FieldMeaning
KindRows, fact sets, assertions, signals, features, predictions, recommendations, reviews
FieldsNamed, typed, nullable/required columns with descriptions
Primary keyRow identity for downstream joins
Evidence requirementsWhether citations, source artifacts, or source records are mandatory
{
  "kind": "predictions",
  "name": "renewal-risk-scores",
  "fields": [
    { "name": "account_id", "type": "string", "required": true },
    { "name": "risk", "type": "number", "required": true },
    { "name": "drivers", "type": "string", "nullable": true, "description": "Top reasons cited" }
  ],
  "primaryKey": ["account_id"],
  "evidence": { "citations": true, "sourceRecordIds": true }
}

Lineage and review

FieldMeaning
Produced byRun, node, and upstream artifact ids — full parentage
Namespace / ontology packageWhich model or domain it belongs to
Review stateApproved, corrected, or rejected with reasons

Image: artifact detail with lineage parents, contract fields, and review state.

Choosing well

  • Ephemeral for previews, persisted for commitments, external where teams already read.
  • Demand evidence requirements on anything feeding decisions.
  • Lineage is the audit trail — artifacts without parents are orphans; treat them as suspect.