hub

list_datasets

List datasets from the selected StrataHub.

strata hub list-datasets

wire hub_list_datasets

Reads `GET /v1/datasets` from the effective hub URL. Repeatable task, tag, and primitive filters preserve the StrataHub V1 query shape.

Status commands return a scalar or compact status payload and do not mutate database state.

To see the complete help for this command, run:

strata hub list-datasets --help

Example

No CLI example in this release.

Parameters

NameTypeRequiredDescription
hub_urlstring or nullnoExplicit hub URL; when absent the 5-layer resolver runs.
licensestring or nullnoLicense filter.
limitinteger or nullnoPage size.
offsetinteger or nullnoZero-based page offset.
primitivesarraynoPrimitive filters.
size_max_bytesinteger or nullnoMaximum dataset size in bytes.
size_min_bytesinteger or nullnoMinimum dataset size in bytes.
sortanynoSort key.
tagsarraynoTag filters.
tasksarraynoTask filters.

Returns

StatusResponse<HubDatasetPage>

  • dataHubDatasetPage
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

CodeRetryCommit outcome
failed_precondition.engine.runtime_closednevernot_started
not_found.engine.branchnevernot_applicable
unsupported.executor.hub_feature_disabledafter_state_changenot_started
invalid_argument.executor.hub_urlnevernot_started
unavailable.executor.hub_transportsame_requestnot_started
invalid_argument.executor.hub_filternevernot_started
← All 5 Hub commands

agents: this page as markdown → /docs/reference/hub/list_datasets.md