Environments
Get environment listing
Environments
- GETGet favorite status of environment listing
- POSTUpdate favorite status of environment listing
- DELRemove favorite status from environment listing
- POSTCreate a hold on an environment listing
- DELRemove a hold on an environment listing
- GETGet environment listing
- PATCHUpdate an environment listing
- GETGet environment details
- DELDelete environment
- PATCHUpdate environment
- GETGet environment installation script
- GETGet environment usage
- GETGet available filters for environment listings
- GETGet environment listings
- GETGet all environments
- POSTCreate a new environment
Rentals
- GETGet rental
- DELEnd rental
- PATCHUpdate rental
- GETGet container logs
- POSTCreate terminal instance
- GETGet container tunnel information
- GETList containers
- DELDelete stack
- GETList stacks
- POSTCreate stack
- POSTCreate rental checkout session
- GETList rentals
- POSTCreate a new rental
- GETList rentals with a specific status
Templates
Users
- DELDelete API key
- GETList API keys
- POSTCreate API key
- GETGet current user
- GETGet user notification
- DELDelete user notification
- PATCHUpdate user notification status
- GETGet user notifications
- GETGet user notifications by status
- PATCHUpdate user preferences
- GETGet user redirect URL
- POSTCreate SSH key
- DELDelete SSH key
Environments
Get environment listing
Retrieve the listing details for a specific environment
GET
/
environments
/
{envId}
/
listing
curl --request GET \
--url https://restapi.gputrader.io/v1/environments/{envId}/listing \
--header 'X-API-Key: <api-key>'
{
"envId": "<string>",
"availabilityWindows": {},
"pricing": {},
"selectedGPUs": 123,
"totalGPUs": 123,
"availableGPUs": 123,
"totalCPUs": 123,
"totalRAM": 123,
"totalStorage": 123,
"gpuName": "<string>",
"gpuInterconnect": "<string>",
"gpuVRAM": 123,
"gpuCUDA": "<string>",
"gpuBandwidth": 123,
"location": "<string>",
"networkUploadSpeed": 123,
"networkDownloadSpeed": 123,
"type": {},
"activeRentalIds": {},
"isListed": true,
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Path Parameters
Environment ID
Response
200
application/json
Successfully retrieved environment listing
The response is of type object
.
curl --request GET \
--url https://restapi.gputrader.io/v1/environments/{envId}/listing \
--header 'X-API-Key: <api-key>'
{
"envId": "<string>",
"availabilityWindows": {},
"pricing": {},
"selectedGPUs": 123,
"totalGPUs": 123,
"availableGPUs": 123,
"totalCPUs": 123,
"totalRAM": 123,
"totalStorage": 123,
"gpuName": "<string>",
"gpuInterconnect": "<string>",
"gpuVRAM": 123,
"gpuCUDA": "<string>",
"gpuBandwidth": 123,
"location": "<string>",
"networkUploadSpeed": 123,
"networkDownloadSpeed": 123,
"type": {},
"activeRentalIds": {},
"isListed": true,
"updatedAt": "2023-11-07T05:31:56Z"
}