POST
/
gpu
curl --request POST \
  --url https://aiapi.scope3.com/gpu \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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,
  "memory_bandwidth_gbps": 1555,
  "tflops_fp32": 312
}'
{
  "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,
  "memory_bandwidth_gbps": 1555,
  "tflops_fp32": 312,
  "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.

Body

application/json

Create a new gpu. Note on permissions:

  • Custom gpus are visible only to their owners
  • Global gpus are visible to all users
  • Admins can see and manage all gpus

Response

201
application/json

GPU created successfully

The response is of type object.