Skip to main content
POST
/
rentals
Create a new rental
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>"

Authorizations

X-API-Key
string
header
required

Body

application/json
envId
string
required

The environment ID

sessionId
string
required

The session ID

gpus
number
required

Number of GPUs to rent

priceBreakDuration
string
required

Duration of the price break (1 Month)

Response

Rental successfully created

The response is of type string.

I