CH·02CLI reference

gpu functions runs

List a function's runs, newest first

List a function's runs, newest first

Synopsis

Lists the calls made to a function, newest first, with each run's status, start time, duration and cost.

STATUS is queued, setting_up, running, succeeded, failed, timed_out or cancelled. START is cold when the run had to start a machine and warm when it reused a ready one. COST is the time the run held the machine times the machine's hourly price.

Results are paginated. When more runs remain, a Next cursor: hint is printed to stderr, so piped output stays parseable. Pass it back with --cursor.

gpu functions runs <function> [flags]

Examples

# The 50 most recent runs
gpu functions runs embed

# Continue from the opaque cursor printed on stderr by the previous call
gpu functions runs embed --cursor "$NEXT_CURSOR" --limit 100

Options

      --cursor string   Pagination cursor from a previous list (see the stderr hint)
  -h, --help            help for runs
      --limit int       Max runs to fetch (1-200) (default 50)

Options inherited from parent commands

      --api-base string   API base URL (override with GPUAI_API_BASE env) (default "https://api.gpu.ai/v1")
      --debug             Enable debug logging to stderr
  -o, --output string     Output format: table|json (default table on TTY, json otherwise)

SEE ALSO

  • gpu functions - Inspect and manage your functions (Python functions that run on a GPU.ai GPU)

← The gpu CLI