GET
/
rentals
/
{rentalId}
curl --request GET \
  --url https://restapi.gputrader.io/v1/rentals/{rentalId} \
  --header 'X-API-Key: <api-key>'
{
  "rentalId": "<string>",
  "listing": {},
  "userId": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z",
  "name": "My Instance",
  "status": "ACTIVE",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "isSeed": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

rentalId
string
required

Rental ID

Query Parameters

excludeStacks
boolean
default:false

Whether to exclude stack information from the response

Response

200
application/json

Successfully retrieved rental information

The response is of type object.