Skip to main content
Version: 2026.04

Systems & snapshots

Data types for systems, configurations, snapshots, tags, and upstream remotes.

info

All data types support standard serialization methods (to_json, from_json, to_dict, from_dict, to_str) which are omitted from the tables below.

System

Represents a System object that aggregates configuration, versioning, and file content

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
namestr
descriptionstr
archive_statusstr
configurationsOptional[List[SystemConfiguration]]
baseline_tagged_snapshot_idOptional[str]

Methods:

NameDescription
bulk_share_by_snapshotGrant a subject access to every file in a given snapshot (defaults to the system baseline).
bulk_share_by_configurationGrant a subject access to every file in the latest snapshot of a configuration.
bulk_share_by_systemGrant a subject access to every file in the system's baseline snapshot.
get_branchLook up a branch (SnapshotTag) by name. Entry point for the branching API.
list_branchesList all user branches on the system (excludes the baseline tag).
create_branchCreate a new branch from an existing branch (like git checkout -b).
add_to_branchAdd file revisions and/or SubsystemLink entries to a branch in a single commit.
remove_from_branchRemove file revisions and/or SubsystemLink entries from a branch in a single commit.
list_branch_revisionsList the file revisions tracked by a branch at its current snapshot.
list_branch_subsystemsList the SnapshotSubsystemItem entries tracked by a branch at its current snapshot.
merge_branchMove a target branch to point at the same snapshot as a source branch (like git merge --ff).
rollbackMove a branch back N positions in its commit history (like git reset --hard HEAD~N).
list_branch_historyReturn the full commit history of a branch as SnapshotTagRevision entries, newest first (like git log).
create_accessCreate a new access relationship for a subject by ID.
create_access_by_emailCreate a new access relationship for a subject by email.
update_accessUpdate an existing access relationship for a subject.
remove_accessRemove an existing access relationship.
list_accessList all access relationships for this resource.
archiveArchive the current item using the client's archive method for this resource type.
restoreRestore the current item using the client's restore method for this resource type.

SystemBaseline

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
system_idstr
tag_idstr
snapshot_idstr

SystemConfiguration

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
system_idstr
namestr
shastr
archive_statusstr

Snapshot

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
configuration_idstr
shastr
created_by_idstr

SnapshotItem

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
snapshot_idstr
file_revision_idstr

SnapshotTag

A named, movable pointer to a snapshot. Used to model branches: the baseline tag is created automatically with each system, and the branching API on System creates additional tags such as main or feature/x.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
tagstr
is_baselinebool
archive_statusstr
snapshot_idstr

SnapshotTagRevision

One entry in a tag's history — i.e. one of the snapshots the tag has pointed at. Returned by list_branch_history() on System.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
tag_idstr
archive_statusstr
snapshot_idstr

NewSystem

Attributes:

NameTypeDescription
namestr
descriptionstr

NewSystemConfiguration

Attributes:

NameTypeDescription
namestr
tracked_filesOptional[List[NewTrackedFile]]
tracked_systemsOptional[List[NewTrackedSystem]]Subsystems to compose into this configuration. See System composition.

NewTrackedSystem

Reference to a child system that should be tracked as a subsystem of a parent configuration.

Attributes:

NameTypeDescription
system_idstrId of the child system to link as a subsystem.
tag_idOptional[str]Id of a SnapshotTag on the child system to pin to. Falls back to the child's baseline.

Subsystem

A child system as it appears on a parent configuration, including the configuration and snapshot it is pinned to.

Attributes:

NameTypeDescription
idstrId of the child system.
createddatetime.datetime
created_by_idstr
namestr
descriptionstr
archive_statusstr
tag_idstrId of the SnapshotTag the subsystem is pinned to.
tagged_configurationSystemConfigurationThe child configuration the tag points at.
tagged_snapshot_idstrThe child snapshot the tag points at.
added_ondatetime.datetimeWhen the subsystem was added to the parent configuration.
added_by_idstr
infosec_levelOptional[InfosecLevel]

SnapshotSubsystemItem

A subsystem entry as captured on a snapshot. Returned by list_snapshot_subsystems().

Attributes:

NameTypeDescription
system_idstrId of the child system.
system_namestr
system_descriptionOptional[str]
tag_idstrId of the SnapshotTag on the child.
tagged_configuration_idstrId of the child configuration the tag points at.
tagged_configuration_namestr
tagged_snapshot_idstrId of the child snapshot the tag points at.
is_archivedboolWhether the underlying child system is archived.
created_by_idstr
createddatetime.datetime

Lightweight reference to a child system (and optional tag) used by the branching API on System — for example as the subsystems argument to add_to_branch and remove_from_branch. See System composition.

Attributes:

NameTypeDescription
systemSystemThe child system to link as a subsystem.
tagOptional[SnapshotTag]Tag on the child system to pin to. Defaults to the child's baseline when omitted.

NewSnapshot

Attributes:

NameTypeDescription
dry_runOptional[bool]

NewSnapshotTag

Attributes:

NameTypeDescription
tagstr

UpdateSystem

Attributes:

NameTypeDescription
namestr
descriptionstr

UpdateTag

Attributes:

NameTypeDescription
snapshot_idstr

DryRunSnapshot

Attributes:

NameTypeDescription
configuration_idstr
shastr
created_by_idstr
createddatetime.datetime

ResponseCreateSnapshot

Attributes:

NameTypeDescription
anyof_schema_1_validatorOptional[Snapshot]
anyof_schema_2_validatorOptional[DryRunSnapshot]
anyof_schema_3_validatorOptional[NoOpResponse]
actual_instanceOptional[Union[DryRunSnapshot, NoOpResponse, Snapshot]]
any_of_schemasSet[str]

Methods:

NameDescription
actual_instance_must_validate_anyof

UpstreamRemote

UpstreamRemote(id: ‘UUID’, created: ‘Annotated[datetime, AwareDatetime]’)

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
labelstr
tenant_labelstr
tenant_idstr
registry_urlstr
is_archivedbool

UpstreamRemoteInfo

Attributes:

NameTypeDescription
idstr
labelstr

UpstreamRemoteSync

Data class for creating a remote sync.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
upstream_remote_idstr
statusUpstreamRemoteSyncStatus
updateddatetime.datetime
messageOptional[str]

UpstreamRemoteSyncStatus

Enum for remote sync status.

Attributes:

NameTypeDescription
PENDING
IN_PROGRESS
COMPLETED
FAILED
CANCEL

CreateUpstreamRemoteSync

Attributes:

NameTypeDescription
upstream_remote_idstr

PageSystem

Attributes:

NameTypeDescription
itemsList[System]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageSystemConfiguration

Attributes:

NameTypeDescription
itemsList[SystemConfiguration]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageSnapshot

Attributes:

NameTypeDescription
itemsList[Snapshot]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageSnapshotItem

A paginated response object for listing snapshot items.

PageSubsystem

Attributes:

NameTypeDescription
itemsList[Subsystem]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageSnapshotSubsystemItem

Attributes:

NameTypeDescription
itemsList[SnapshotSubsystemItem]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageSnapshotTag

Attributes:

NameTypeDescription
itemsList[SnapshotTag]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageUpstreamRemote

Attributes:

NameTypeDescription
itemsList[UpstreamRemote]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]