Light Logo
CLI (v0.40.0)Reference

wriftai predictions wait

CLI reference for wriftai predictions wait

wriftai predictions wait

Wait for a prediction to complete

wriftai predictions wait [flags]

Examples

  Wait for a prediction to reach a terminal state, polling at the default interval
  $ wriftai prediction wait --id f47ac10b-58cc-4372-a567-0e02b2c3d479

  Wait for a prediction to reach a terminal state, polling at a custom interval
  $ wriftai prediction wait --id f47ac10b-58cc-4372-a567-0e02b2c3d479 --poll-interval 5s

Options

  -h, --help                     help for wait
      --id string                ID of the prediction (required)
  -o, --output format            Set output format. Supported formats: json, yaml (default json)
      --poll-interval duration   Time duration between polling attempts to check the prediction status (default 1s)

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO