capella-console-wizard

Starting with capella-console-client>=0.8.0 this package ships with an interactive wizard-like CLI

Installation

$ pip install capella-console-client[wizard]

Note: For ZSH shells the brackets need to be escaped or full package name quoted:

$ pip install "capella-console-client[wizard]" or pip install capella-console-client\[wizard\]
capella-console-wizard --help

Configure

$ capella-console-wizard configure
2021-10-07 15:01:22,936 - πŸ›°οΈ  Capella 🐐 - INFO - let's get you all setup using capella-console-wizard:
2021-10-07 15:01:22,936 - πŸ›°οΈ  Capella 🐐 - INFO -            Press Ctrl + C anytime to quit

? Console API key: ****************************************************************
updated API key for Capella Console
? Specify the default location for downloads and .json STAC exports: (press <tab>) /data/stuff/things/here/
updated default output path for .json STAC exports
? Specify the order of search filters to be used in searches: console UI filters on top
updated order of search filters to be used in searches
? Which STAC item fields would you like to display in the search results table? done (9 selections)
updated fields that to will be displayed in search results table
? Speciy default limit to be used in searches (can be overridden at search time): 100
updated default search limit to 100

Workflows

capella-console-wizard exposes common interactive workflows (search, order, download, cancel tasking requests).

The following sections describe a subset of those

Checkout

Interactively search, order and download products.

$ capella-console-wizard workflows checkout
? What would you like to do? (Use arrow keys)
new search
  use previously saved search results
Β» provide a collect id
  provide a taskingrequest id
  select existing order

Given collect id

? provide a collect id: <collect_id>
? product type(s): (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
  β—‹ SLC
  ● GEO
  β—‹ SICD
Β» ● GEC
  β—‹ SIDD
  β—‹ CPHD
? asset type: (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» β—‹ all
  ● raster
  β—‹ metadata
  β—‹ thumbnail
? download location: /Users/thomas.beyer/data/new_stuff
2021-11-17 14:00:53,144 - πŸ›°οΈ  Capella 🐐 - INFO - searching catalog with payload {'query': {'capella:collect_id': {'in': ['<collect_id>']}, 'sar:product_type': {'in': ['GEO', 'GEC']}}}
2021-11-17 14:00:53,145 - πŸ›°οΈ  Capella 🐐 - INFO -    page 1 (0 - 500)
2021-11-17 14:00:53,477 - πŸ›°οΈ  Capella 🐐 - INFO - found 2 STAC items
2021-11-17 14:00:54,461 - πŸ›°οΈ  Capella 🐐 - INFO - reviewing order for <stac_id_1>, <stac_id_2>
2021-11-17 14:00:56,197 - πŸ›°οΈ  Capella 🐐 - INFO - submitting order for <stac_id_1>, <stac_id_2>
2021-11-17 14:00:58,106 - πŸ›°οΈ  Capella 🐐 - INFO - successfully submitted order <order_id>
2021-11-17 14:00:58,106 - πŸ›°οΈ  Capella 🐐 - INFO - getting presigned assets for order <order_id>
2021-11-17 14:00:59,541 - πŸ›°οΈ  Capella 🐐 - INFO - downloading 2 products
2021-11-17 14:00:59,541 - πŸ›°οΈ  Capella 🐐 - INFO - filtering by product_types: GEO, GEC
2021-11-17 14:00:59,542 - πŸ›°οΈ  Capella 🐐 - INFO - downloading product <stac_id_1> to /Users/thomas.beyer/data/new_stuff/<stac_id_1>
2021-11-17 14:00:59,542 - πŸ›°οΈ  Capella 🐐 - INFO - Only including assets HH, VV
2021-11-17 14:00:59,543 - πŸ›°οΈ  Capella 🐐 - INFO - downloading product <stac_id_2> to /Users/thomas.beyer/data/new_stuff/<stac_id_2>
2021-11-17 14:00:59,543 - πŸ›°οΈ  Capella 🐐 - INFO - Only including assets HH, VV
...

? Want to open any product directories? Yes
? select which product directories you want to open done (2 selections)

New search

? What would you like to do? new search
? Select your search filters: done (2 selections)
? collections [=]: capella-open-data
? limit [=]: 1
2021-11-17 14:10:53,289 - πŸ›°οΈ  Capella 🐐 - INFO - searching catalog with payload {'collections': ['capella-open-data'], 'limit': 1, 'query': {'constellation': {'eq': 'capella'}}}
2021-11-17 14:10:53,289 - πŸ›°οΈ  Capella 🐐 - INFO -    page 1 (0 - 1)
2021-11-17 14:10:53,473 - πŸ›°οΈ  Capella 🐐 - INFO - Using https://0r1mdcwa5c.execute-api.us-west-2.amazonaws.com/prod/search for searches
2021-11-17 14:10:53,637 - πŸ›°οΈ  Capella 🐐 - INFO - found 1 STAC item
╒═════╀═════════════════════════════════════════════════════╀═══════════════════╀════════════════╀════════════════════════════╀═══════════════════╀═════════════════╕
β”‚   # β”‚ id                                                  β”‚ instrument_mode   β”‚ product_type   β”‚ datetime                   β”‚   incidence_angle β”‚ polarizations   β”‚
β•žβ•β•β•β•β•β•ͺ═════════════════════════════════════════════════════β•ͺ═══════════════════β•ͺ════════════════β•ͺ════════════════════════════β•ͺ═══════════════════β•ͺ═════════════════║
β”‚   1 β”‚ CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 β”‚ spotlight         β”‚ SLC            β”‚ 2021-10-20T06:59:17.374865 β”‚              27.3 β”‚ ['HH']          β”‚
β•˜β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›


? Anything you'd like to do now? refine search
Refining
    {"collections": [["=", ["capella-open-data"]]], "limit": [["=", 1]]}
? Select your search filters: done (2 selections)
? collections [=]: ['capella-open-data']
? limit [=]: 2
2021-11-17 14:11:05,597 - πŸ›°οΈ  Capella 🐐 - INFO - searching catalog with payload {'collections': ['capella-open-data'], 'limit': 2, 'query': {'constellation': {'eq': 'capella'}}}
2021-11-17 14:11:05,597 - πŸ›°οΈ  Capella 🐐 - INFO -    page 1 (0 - 2)
2021-11-17 14:11:05,759 - πŸ›°οΈ  Capella 🐐 - INFO - found 2 STAC items
╒═════╀═════════════════════════════════════════════════════╀═══════════════════╀════════════════╀════════════════════════════╀════════════════════╀═════════════════╕
β”‚   # β”‚ id                                                  β”‚ instrument_mode   β”‚ product_type   β”‚ datetime                   β”‚   incidence_angle  β”‚ polarizations   β”‚
β•žβ•β•β•β•β•β•ͺ═════════════════════════════════════════════════════β•ͺ═══════════════════β•ͺ════════════════β•ͺ════════════════════════════β•ͺ════════════════════β•ͺ═════════════════║
β”‚   1 β”‚ CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 β”‚ spotlight         β”‚ SLC            β”‚ 2021-10-20T06:59:17.374865 β”‚              27.3  β”‚ ['HH']          β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   2 β”‚ CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928 β”‚ spotlight         β”‚ GEC            β”‚ 2021-10-20T06:59:17.374849 β”‚              27.3  β”‚ ['HH']          β”‚
β•˜β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›


? Anything you'd like to do now? continue
? asset type: [thumbnail]
? download location: /Users/thomas.beyer/data/new_stuff
2021-11-17 14:11:12,876 - πŸ›°οΈ  Capella 🐐 - INFO - reviewing order for CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918, CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:14,565 - πŸ›°οΈ  Capella 🐐 - INFO - submitting order for CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918, CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:16,409 - πŸ›°οΈ  Capella 🐐 - INFO - successfully submitted order 48128100-47f3-11ec-8308-5bb8546cd9f5
2021-11-17 14:11:16,409 - πŸ›°οΈ  Capella 🐐 - INFO - getting presigned assets for order 48128100-47f3-11ec-8308-5bb8546cd9f5
2021-11-17 14:11:17,845 - πŸ›°οΈ  Capella 🐐 - INFO - downloading 2 products
2021-11-17 14:11:17,846 - πŸ›°οΈ  Capella 🐐 - INFO - downloading product CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918
2021-11-17 14:11:17,846 - πŸ›°οΈ  Capella 🐐 - INFO - Only including assets thumbnail
2021-11-17 14:11:17,847 - πŸ›°οΈ  Capella 🐐 - INFO - downloading product CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928 to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:17,847 - πŸ›°οΈ  Capella 🐐 - INFO - Only including assets thumbnail
2021-11-17 14:11:18,125 - πŸ›°οΈ  Capella 🐐 - INFO - downloading to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png (382.4 KiB)
2021-11-17 14:11:18,175 - πŸ›°οΈ  Capella 🐐 - INFO - downloading to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png (382.4 KiB)
2021-11-17 14:11:18,365 - πŸ›°οΈ  Capella 🐐 - INFO - successfully downloaded to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png
2021-11-17 14:11:18,365 - πŸ›°οΈ  Capella 🐐 - INFO - successfully downloaded to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png

? Do you want to open any product directories? No

Update tasking requests

$ capella-console-wizard tasks update

users with elevated permissions will be prompted to select who they’d like to update tasking requests for

? Update tasking requests of ? (Use arrow keys)
Β» current user
  by tasking request ID
  current organization (requires elevated perms)
  admin (requires elevated perms)
  • current user: tasking requests of current user will be searched

  • by tasking request ID: one or more tasking request IDs (UUIDs) will be prompted

  • current organization: tasking requests of current user’s org will be searched (requires elevated permissions)

  • admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)

After selecting scope, matching tasking requests are fetched and presented as a checkbox:

? Update tasking requests of ? current user
2026-02-16 14:39:42,023 - πŸ›°οΈ  Capella 🐐 - INFO - searching tasking requests with payload ...
2026-02-16 14:39:42,813 - πŸ›°οΈ  Capella 🐐 - INFO - found 5 tasking requests matching search query
? Which tasking request? done (2 selections)

Select which fields to update (multi-select):

? Which fields to update? (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» ● name
  β—‹ description
  β—‹ custom attribute 1
  β—‹ custom attribute 2
  β—‹ product types

Each selected field is then prompted individually:

? new name: updated tasking request name

A confirmation prompt summarises the pending changes before any API call is made:

? Apply the following updates:
  name: 'updated tasking request name'

to 2 tasking request(s):
 - aaaaaaaa-b2ca-4a44-9362-0304025e149f
 - bbbbbbbb-b2ca-4a44-9362-0304025e149f
 Yes
╒══════════════════════════════════════╀══════════╀══════════════════════════════╕
β”‚ tasking request id                   β”‚ status   β”‚ name                         β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ══════════β•ͺ══════════════════════════════║
β”‚ aaaaaaaa-b2ca-4a44-9362-0304025e149f β”‚ βœ…       β”‚ updated tasking request name β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ bbbbbbbb-b2ca-4a44-9362-0304025e149f β”‚ βœ…       β”‚ updated tasking request name β”‚
β•˜β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›

Cancel tasking requests

$ capella-console-wizard tasks cancel

users with elevated permissions will be prompted to select who they’d like to cancel tasking requests for

? Cancel tasking requests of ? (Use arrow keys)
Β» current user
  by tasking request ID
  current organization (requires elevated perms)
  admin (requires elevated perms)
  • current user: cancelable tasking requests of current user will be searched

  • by tasking request ID: one or more tasking request IDs (UUIDs) will be prompted

  • current organization: cancelable tasking requests of current user’s org will be searched (requires elevated permissions)

  • admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)

? Cancel tasking requests of ? current organization (requires elevated perms)
2026-02-16 14:39:42,023 - πŸ›°οΈ  Capella 🐐 - INFO - searching tasking requests with payload {'query': {'includeRepeatingTasks': {'eq': False}, 'organizationIds': ['2d98e85f-8c4b-4089-9faf-781277dd9282'], 'lastStatusCode': ['received', 'review', 'submitted', 'active', 'accepted']}}
2026-02-16 14:39:42,813 - πŸ›°οΈ  Capella 🐐 - INFO - found 18 tasking requests matching search query
? Which tasking request? done (3 selections)

? Please confirm you'd like to cancel the following tasking requests (cancelation charges might apply):

 - aaaaaaaa-b2ca-4a44-9362-0304025e149f
 - bbbbbbbb-b2ca-4a44-9362-0304025e149f
 - cccccccc-b2ca-4a44-9362-0304025e149f
 Yes
╒══════════════════════════════════════╀═════════════════╕
β”‚ tasking request id                   β”‚ cancel status   β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ═════════════════║
β”‚ aaaaaaaa-b2ca-4a44-9362-0304025e149f β”‚ βœ…              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ bbbbbbbb-b2ca-4a44-9362-0304025e149f β”‚ βœ…              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ cccccccc-b2ca-4a44-9362-0304025e149f β”‚ βœ…              β”‚
β•˜β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›

Update repeat requests

$ capella-console-wizard repeats update

users with elevated permissions will be prompted to select who they’d like to update repeat requests for

? Update repeat requests of ? (Use arrow keys)
Β» current user
  by repeat request ID
  current organization (requires elevated perms)
  admin (requires elevated perms)
  • current user: repeat requests of current user will be searched

  • by repeat request ID: one or more repeat request IDs (UUIDs) will be prompted

  • current organization: repeat requests of current user’s org will be searched (requires elevated permissions)

  • admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)

After selecting scope, matching repeat requests are fetched and presented as a checkbox:

? Update repeat requests of ? current user
2026-02-16 14:39:42,023 - πŸ›°οΈ  Capella 🐐 - INFO - searching repeat requests with payload ...
2026-02-16 14:39:42,813 - πŸ›°οΈ  Capella 🐐 - INFO - found 3 repeat requests matching search query
? Which repeat request? done (1 selection)

Select which fields to update (multi-select):

? Which fields to update? (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» ● name
  β—‹ description
  β—‹ custom attribute 1
  β—‹ custom attribute 2
  β—‹ product types

Each selected field is then prompted individually:

? new name: updated repeat request name

A confirmation prompt summarises the pending changes before any API call is made:

? Apply the following updates:
  name: 'updated repeat request name'

to 1 repeat request(s):
 - aaaaaaaa-b2ca-4a44-9362-0304025e149f
 Yes
╒══════════════════════════════════════╀══════════╀═════════════════════════════╕
β”‚ repeat request id                    β”‚ status   β”‚ name                        β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ══════════β•ͺ═════════════════════════════║
β”‚ aaaaaaaa-b2ca-4a44-9362-0304025e149f β”‚ βœ…       β”‚ updated repeat request name β”‚
β•˜β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›