GoodMemGoodMem
ReferenceCLI

Ping

Reference for goodmem ping: Send test requests to LLMs, embedders, rerankers, or decision models registered in GoodMem.

goodmem ping

Check connectivity to models and providers

Synopsis

Send test requests to LLMs, embedders, rerankers, or decision models registered in GoodMem.

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. The command prints each result and a summary. Provider charges may apply.

goodmem ping [embedder|reranker|llm|decision-model] <resource-id> [resource-id...] [flags]

Examples

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

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

  • goodmem - GoodMem CLI provides command-line access to memory APIs

On this page