latestOpenAPI 3.1.0Proprietary2026-08-1095216168.4 KB

db81a447bba9

Tenants

Get tenant resource tree

Returns the entire tenant resource hierarchy as a nested tree: divisions -> environments -> deployments. Single call to prime an agent's context about everything in the tenant. Permission-filtered, hidden divisions and environments are omitted. Each deployment's supervisor_url points to the supervisor API that owns its lifecycle (status, configuration, telemetry, restart, upgrade, node operations).

get/tenants/{tenant_id}/structure

Path parameters

tenant_idinteger required
Example:7261845022003200000

Tenant identifier

Response

Tenant resource tree

idinteger required
namestring required

Example response

{
  "divisions": [
    {
      "environments": [
        {
          "deployments": [
            {
              "cloud": "aws",
              "id": 7261845127892140000,
              "name": "iggy-prod-01",
              "region": "us-east-1",
              "supervisor_url": "https://supervisor-aws-us.laserdata.cloud"
            }
          ],
          "id": 7261845066528310000,
          "name": "staging"
        }
      ],
      "id": 7261844974723780000,
      "name": "production"
    }
  ],
  "id": 7261845022003200000,
  "name": "acme-corp"
}