PUT
/
gpu
/
{gpuId}
curl --request PUT \
  --url https://aiapi.scope3.com/gpu/{gpuId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "NVIDIA A100 40GB",
  "max_power_w": 700,
  "embodied_emissions_kgco2e": 282.1,
  "embodied_water_mlh2o": 181.1,
  "performance_ratio_to_h200": 1.5,
  "ols_coefficient_gpu_count": 11.4,
  "ols_intercept": 11.4
}'
{
  "name": "NVIDIA A100 40GB",
  "id": "a100_40gb",
  "max_power_w": 700,
  "embodied_emissions_kgco2e": 282.1,
  "embodied_water_mlh2o": 181.1,
  "performance_ratio_to_h200": 1.5,
  "ols_coefficient_gpu_count": 11.4,
  "ols_intercept": 11.4,
  "customer_id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

gpuId
string
required

Body

application/json
name
string
max_power_w
number
embodied_emissions_kgco2e
number
embodied_water_mlh2o
number
performance_ratio_to_h200
number
ols_coefficient_gpu_count
number
ols_intercept
number

Response

200
application/json
GPU updated successfully
name
string
required
id
string
required
max_power_w
number
required
embodied_emissions_kgco2e
number
required
embodied_water_mlh2o
number
required
performance_ratio_to_h200
number
required
ols_coefficient_gpu_count
number
required
ols_intercept
number
required
customer_id
integer
required

ID of the customer who owns this node (visible to admins only)

created_at
string
required
updated_at
string
required
created_by
string
required

ID of the user who created the node (admin or owner only)