curl --request GET \
--url https://api.gputrader.io/v1/rentals \
--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
}
]
Retrieve all rentals
curl --request GET \
--url https://api.gputrader.io/v1/rentals \
--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
}
]
Maximum number of results to return (max 25)
Key for pagination
Successfully retrieved rentals
The response is of type object[]
.