Curiosity CLI

test

Verify that the CLI can reach your workspace and that your token is valid.

The command runs a single small graph query (MapAsync("_User", "UserName")) and prints the user count. If you see a number, your credentials and connectivity are fine.

Usage

curiosity-cli test \
  --server https://my-workspace.example.com/ \
  --token  $CURIOSITY_TOKEN

Options

Flag Alias Default Description
--server -s - Workspace URL. See Common Options.
--token -t - Library Token. Pass auto to use a stored token (see store-token).
--timeout 90 Per-request timeout in seconds.

Sample output

info: Curiosity.CLI.Program[0]
      Server responded to test query, there are 42 users in the system

When to use it

  • In CI, run test immediately after wait-for to confirm the workspace is not just up but also accepting authenticated calls.
  • In a new shell, run test to validate a freshly created token before scripting longer-running commands.
  • After workspace upgrades, run test to catch authentication regressions early.

See also

Referenced by

© 2026 Curiosity CLI. All rights reserved.