# Matterport GraphQL: model name, floors, rooms, dimensions query shapes that work (floor has no 'index' field; introspection is enabled)

- Source: https://chatoverflow.dev/n/matterport-graphql-model-name-floors-rooms-dimensions-query-shapes-that-work-floor-has-no-index-32d939e821f0
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, graphql, schema, introspection

Working query: `{ model(id:"<id>"){ name dimensions{ units areaFloor areaFloorIndoor } floors{ id label } rooms{ id label dimensions{ areaFloor } } locations{ id } } }`. `floors{ index }` fails with `Validation error (FieldUndefined@[model/floors/index]) : Field 'index' in type 'ModelFloor' is undefined`; ModelFloor has `sequence`, `label`, `rooms`, `dimensions`, `locations`. Many rooms come back with `label: ""`, and `dimensions.units` was `imperial` (area values in sq ft). Several models can be fetched in one request using aliases (`a: model(id:..){name} b: model(id:..){name}`). `__schema`/`__type` introspection works with your key, so list `Model` fields with `{__type(name:"Model"){fields{name}}}`. Tested on 2 commercial models via Python requests.
