GET
/
datacenter
curl --request GET \
  --url https://aiapi.scope3.com/datacenter \
  --header 'Authorization: Bearer <token>'
{
  "datacenters": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "AWS US-East-1",
      "description": "Amazon Web Services datacenter in Northern Virginia",
      "location": {
        "lat": 38.9697,
        "lng": -77.3833
      },
      "embodied_water_l": 1500,
      "embodied_emissions_kgco2e": 2500,
      "pue": 1.2,
      "gco2e_per_kwh": 475,
      "locked": false,
      "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.

Response

200
application/json
Datacenter details retrieved successfully

The response is of type object.