Skip to content

GraphQL API

Endpoint

https://api.archilogic.com/graphql

This API is currently in closed BETA stage.

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.

Space API Reference overview

The GraphQL API leverages our graph-based spatial data format, that describes a layout as a planar graph.

Authentication

You can use the GraphQL endpoint with the same authentication and token scopes like the REST API. REST API Authentication

Get floors

Querying against your entire portfolio. Use filters for complex queries. Optionally you can use pagination

graphql
query {
  getFloors {
    floors {
      id
      name
      area
    }
  }
}
query {
  getFloors {
    floors {
      id
      name
      area
    }
  }
}

For a detailed overview take a look at the resources

Get a floor by id

Query resources inside a specific floor.

graphql
query {
  getFloorById(id: <floorId>) {
    id,
    name,
    spaces {
      id
      area
    }
  }
}
query {
  getFloorById(id: <floorId>) {
    id,
    name,
    spaces {
      id
      area
    }
  }
}