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