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
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>"
Rental successfully created
The response is of type string
.