Skip to content

Datasets_GetCameraLags

GET
/v1/accounts/{account}/datasets/{dataset}/cameraLags
curl --request GET \
--url https://junction-api.qualiastudios.dev/v1/accounts/example/datasets/example/cameraLags \
--header 'X-API-Key: <X-API-Key>'

Reads per-camera lag estimates and current stamp offsets for an upload, or every upload held by a merged dataset. Untrusted estimates are reported but never applied implicitly.

account
required
string

The account id.

dataset
required
string

The dataset id.

OK

Media type application/json

The per-camera lag estimates and the current setting for each topic.

object
name

The camera lag view for the dataset requested.

string
cameras

Entries are grouped by upload; merged dataset topics are member-local.

Array<object>

One camera topic’s aggregate lag and current correction.

object
upload

The upload containing this camera.

string
topic

Camera topic in this upload.

string
estimatedLagMs

Median trusted per-episode lag; positive means camera content is late. Unset if no trusted estimate exists.

number format: double
confidence

Median confidence among trusted estimates.

number format: double
sampleCount

Episodes with a stored lag entry for this camera.

integer format: int32
trustedSampleCount

Episodes with a trusted, finite lag and confidence.

integer format: int32
appliedOffsetMs

Published channel stamp_offset_ms; unset means ingest uses zero.

number format: double
estimateApplicable

Whether the stored estimate can safely determine an absolute offset.

boolean
estimateUnavailableReason

Why the estimate cannot be applied; empty when it can be applied.

string
topicAvailable

Whether the ingest report proved this camera’s native topic mapping.

boolean
source

Provenance aggregated from stored per-episode values: recorded, estimated, mixed, or unknown.

string
method

Stored estimator/event method, mixed when multiple methods were recorded.

string
Example generated
{
"name": "example"
}

Default error response

Media type application/json
One of:
API error

A refusal from the API itself.

object
code
required

The gRPC code name in upper case, e.g. NOT_FOUND.

string
message
required
string
retryable
required

Whether the same call may succeed if retried.

boolean
details
required

Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.

Array<object>
object
Example generated
{
"code": "example",
"message": "example",
"retryable": true,
"details": [
{}
]
}