Skip to content

GraphQL API

Endpoint

https://api.archilogic.com/graphql

This API is available to customers using Space Graph.

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.

Graph QL intro

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
    }
  }
}

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
    }
  }
}