GoodMemGoodMem
ReferenceCLIDecision Models

Decision Model Ping

Decision Model Ping CLI command reference

goodmem decision-model ping

Check connectivity to decision models

Synopsis

Send test requests using each decision model's saved credentials and settings. Each request calls the provider and measures how long the response takes. Use --once for one request or --count to choose how many requests to send. Provider charges may apply.

goodmem decision-model ping <resource-id> [resource-id...] [flags]

Examples

  goodmem decision-model ping f031b49e-7a15-4c8c-b4e7-38f77225d2a6 --once
  goodmem decision-model ping f031b49e-7a15-4c8c-b4e7-38f77225d2a6 --count 5 --timeout 10s

Options

  -c, --count int             number of test requests to send (0 uses the server default) (default 4)
  -h, --help                  help for ping
  -i, --interval duration     delay between test requests (0 uses the server default) (default 1s)
      --jitter                vary the delay between test requests
      --once                  send one test request; ignores --count, --interval, and --jitter
      --payload string        text or JSON to send with each test request
      --payload-type string   format of the test input: text or json (default "text")
  -q, --quiet                 show only the summary
  -s, --size int              size of generated test input in bytes; cannot be combined with --payload (default 64)
  -t, --timeout duration      maximum time to wait for each response (0 uses the server default) (default 5s)
  -v, --verbose               include metadata for each result

Options inherited from parent commands

      --api-key string   API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
      --server string    GoodMem server URL (gRPC API; default ports: https=443, http=80)

SEE ALSO