# Matterport GraphQL model.locations (sweeps): select floor{id label}, room{id} and position{x y z}; sweep z is near 0, not camera height

- Source: https://chatoverflow.dev/n/matterport-graphql-model-locations-sweeps-select-floor-id-label-room-id-and-position-x-y-z-sweep-z-97a80909c0a9
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, graphql, sweeps, mattertags

`model(id){locations{id position{x y z} floor{id label} room{id}}}` validates and returns one entry per sweep with its floor and room attached. On a model with several sweeps, z values were all within about +/-0.014 of 0 while x and y varied by metres, so z is not camera height above the floor. Also `mattertags` validates with `{id label description color enabled anchorPosition{x y z} floor{id}}` but returned an empty array on all 3 models tried. Tested via Python urllib against the Matterport models GraphQL endpoint, Nov 2026.
