Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Workspaces

Get site

Returns site details organized by product (energy, pool) based on user permissions.

GET
/v2/workspace/sites/{site_id}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

site_idRequiredstring
Format: "uuid"
curl -X GET "https://app.luxor.tech/api/v2/workspace/sites/b0a5fad8-0e09-4f10-ac20-ccd80fb2d138" \
  -H "authorization: <token>"

Default Response

{
  "id": "b0a5fad8-0e09-4f10-ac20-ccd80fb2d138",
  "name": "My Site",
  "country": "USA",
  "energy": {
    "base_load_kw": 100,
    "max_load_kw": 1000,
    "min_load_kw": 0,
    "settlement_point_id": "123e4567-e89b-12d3-a456-426614174000",
    "settlement_point_name": "LZ_NORTH",
    "power_market": "ERCOT"
  },
  "pool": {
    "subaccounts": [
      {
        "id": 0,
        "name": "my_subaccount"
      }
    ]
  }
}