recording
Models for data related to recordings.
PaginatedRecordingsResponse
pydantic-model
¶
Bases: PaginatedResponse
Paginated list of recordings.
Fields:
-
total(NonNegativeInt) -
offset(NonNegativeInt) -
limit(PositiveInt) -
recordings(list[RecordingOut])
RecordingAnalysisSummary
pydantic-model
¶
Bases: BaseModel
Compact per-recording analysis summary (id + status + config name).
Fields:
-
id(UUID) -
status(AnalysisStatus) -
analysis_config_name(str)
RecordingHeader
pydantic-model
¶
Bases: BaseModel
Model with information that header reading functions should return.
Fields:
-
channels(list[ChannelOut]) -
length_ms(PositiveInt) -
recording_start(datetime)
RecordingOut
pydantic-model
¶
Bases: RecordingUpdate, RecordingHeader
Recording information available to user.
Fields:
-
channels(list[ChannelOut]) -
length_ms(PositiveInt) -
recording_start(datetime) -
owner_id(UUID | None) -
id(UUID) -
created_at(datetime) -
original_filename(str) -
file_size_bytes(NonNegativeInt) -
format(FileFormat) -
state(FileUploadState) -
verifying(bool) -
checksum(None | str) -
content_sha256(None | str) -
study_id(UUID | None) -
study_name(str | None) -
analyses(list[RecordingAnalysisSummary]) -
missing_since(datetime | None)
analyses
pydantic-field
¶
Per-recording analysis summaries (id, status, config name).
checksum = None
pydantic-field
¶
The storage's ETag for the uploaded file: the MD5 of a single-part upload, or, with a '-{parts}' suffix, of a multipart upload's parts. It depends on how the file was sent, so it identifies no content: content_sha256 does. May be None.
content_sha256 = None
pydantic-field
¶
The SHA-256 of the recording's bytes, as its ingest read them; every later run is checked against it. Two recordings with the same one hold the same file. None until its ingest has read it.
created_at
pydantic-field
¶
The date and time when the recording was created.
file_size_bytes
pydantic-field
¶
Size of the file in bytes
format
pydantic-field
¶
The format of the file, e.g., 'edf'.
id
pydantic-field
¶
The unique identifier of the recording.
missing_since = None
pydantic-field
¶
When a look for new files found the bucket file it was registered from gone from its key, or changed there; null while it is there. New analyses of a missing recording are refused.
owner_id = None
pydantic-field
¶
The member who added it. Only they, or the project's owner, may change or remove it; it passes to the project's owner when they leave the organization.
state
pydantic-field
¶
The state of the file, e.g., 'registered'. An accepted recording is 'uploaded' until its ingest verifies it, and 'verified' after: only then do its analyses run.
study_id = None
pydantic-field
¶
ID of the parent study. Populated in flat project-level listings.
study_name = None
pydantic-field
¶
Name of the parent study. Populated in flat project-level listings.
verifying = False
pydantic-field
¶
Whether its ingest is queued or running. An uploaded recording that is not verifying was not verified by its last ingest, and is read again daily. False from a server that predates it.
RecordingUpdate
pydantic-model
¶
Bases: BaseModel
Updatable file fields.