Appearance
GraphQL API 
In parallel to the REST API we offer a GraphQL API that allows you to run complex queries against your entire portfolio or individual floors or layouts.
The GraphQL API leverages our graph-based spatial data format, that describes a layout as a planar graph.
The main queries are getFloors, getFloorById and getLayoutById
Authentication 
You can use the GraphQL endpoint with the same authentication and token scopes like the REST API. Authentication and Authorization
Get buildings 
Querying against your entire portfolio. Use filters for complex queries.
graphql
query {
  getBuildings {
    id
    name
    createdAt
    updatedAt
    floors {
      id
      name
      area
      spaces {
        id
      }
    }
  }
}Get building by id 
Query resources inside a specific building.
graphql
query ($buildingId: ID!) {
  getBuildingById(id: $buildingId) {
    id
    name
    createdAt
    updatedAt
    floors {
      id
      name
    }
  }
}Get floors 
Querying against your entire portfolio. Use filters for complex queries. Optionally you can use pagination
graphql
query {
  getFloors {
    floors {
      id
      name
      area
    }
  }
}For a detailed overview take a look at the resources
Get floor by id 
Query resources inside a specific floor.
graphql
query ($floorId: ID!) {
  getFloorById(id: $floorId) {
    id
    name
    spaces {
      id
      area
    }
  }
}Get layout by id 
Query resources inside a specific layout.
graphql
query ($layoutId: ID!) {
  getLayoutById(id: $layoutId) {
    id
    name
    spaces {
      id
      area
    }
  }
}
