json

index.list

List JSON secondary indexes.

strata json index list

wire json_list_indexes

Lists JSON secondary index definitions in the selected branch and space, including each index's field path and kind.

Paginated responses use opaque cursors. Clients should pass the returned cursor back to the same command shape and must not parse cursor contents.

To see the complete help for this command, run:

strata json index list --help

Example

List secondary indexes.

strata json index create by_name $.name --index-type tagstrata json index list

Parameters

NameTypeRequiredDescription
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
spacestring or nullnoTarget product space. Defaults to `"default"`.

Returns

Page<JsonIndexDefinition, String>

  • dataobject

    Shared pagination continuation facts.

  • 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
invalid_argument.engine.product_spacenevernot_started
← All 16 JSON commands

agents: this page as markdown → /docs/reference/json/index/list.md