The deck file ping command checks that decK can contact the Admin API. This could be either the Konnect API, or an on-prem installation.
deck file ping
deck file ping validates both network connectivity and authentication details.