CH·02CLI reference

gpu data-retention

View or change the org zero data retention setting for inference

View or change the org zero data retention setting for inference

Synopsis

Show whether zero data retention (ZDR) is on for your organization.

When it is on, chat, embeddings, and image requests route only to model hosts that keep no prompt or output content. A model without such a host returns 400 zero_data_retention_unavailable instead of being served. Video generation is not available with zero data retention. gpu models list shows which models support it in the ZDR column.

Changing the setting requires org-admin privileges; a non-admin member gets a permission error. See Zero data retention.

gpu data-retention [flags]
gpu data-retention [command]

Examples

# Show the current setting
gpu data-retention

# Turn zero data retention on for the org
gpu data-retention enable

# Turn it off again
gpu data-retention disable

# JSON for scripting
gpu data-retention --output json | jq '.zero_data_retention'

Options

  -h, --help   help for data-retention

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

← The gpu CLI