cURL
curl --request POST \ --url https://api.gputrader.io/v1/rentals \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "envId": "<string>", "sessionId": "<string>", "gpus": 123, "priceBreakDuration": "<string>" }'
"<string>"
Create a new rental request
The environment ID
The session ID
Number of GPUs to rent
Duration of the price break (1 Month)
Rental successfully created
The response is of type string.
string