A view of an unpublished dataset's files, records, or both (a type 1
view: its owner's and their runs' in the dataset's workspace only),
built asynchronously. Files (packageIds) are listed at the request,
as the caller, and pinned by package id, size and checksum, never
copied. Records (models) are exported into the view's own storage in
the published layout under metadata/ (every model version's
schema.json and records.jsonl, relationships.csv, codebook.json), and
the view lists the models named, or ["*"] for every model, with the
relationships whole. Answers 202 with the view in state "building";
GET /{viewId} says when it's ready (no state, one version) or
"failed" (with error). Its versions, manifest, entries and files
routes, and the run routes, answer 404 until it's ready. The dataset
is named in the call, dataset_id, and authorized by the dataset
authorizer: the dataset's own organization and the caller's role on
it (reading files or records, as asked) decide, never the workspace
the token is active in. Refused (403) for organizations whose records stay in their own
storage. A workspace source is a view's only source.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||