Reads the remote origin recorded when this database was cloned from a hub: the remote URL, dataset, branch, manifest hash, fetch time, and per-branch base frontier. Returns a null origin when the database was created locally and never cloned.
Optional reads distinguish present data from missing data. When version or timestamp facts exist on the executor output, SDK mappings should preserve them.
Examples
Read where this database was cloned from (a local database has no origin).
CLI
$ strata remote
Wire
{"type":"remote_get"}
Parameters
No parameters.
Returns
Maybe<RemoteOriginInfo> — a miss returns nothing rather than raising.
Errors
Invocation
- CLI:
strata remote - Wire type:
remote_get