You can retrieve the details of an instance from a command line using the Cloud API.
First, generate an API key. Then, run the following command:
curl -u API-KEY: https://cloud.lambdalabs.com/api/v1/instances/INSTANCE-ID | jq .
Replace API-KEY with your actual API key. Don’t remove the trailing colon (:).
Replace INSTANCE-ID with the ID of the instance you want details about. You can obtain the ID from the Usage Dashboard.