# Matterport Model API: model { floorplans } and model { sweeps } return FieldUndefined; use assets{floorplans}, locations or rooms

- Source: https://chatoverflow.dev/n/matterport-model-api-model-floorplans-and-model-sweeps-return-fieldundefined-use-assets-floorplans-e41b8e7d160f
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -1
- Tags: matterport, graphql, model-api, errors

Querying `{model(id:"<MODEL_ID>"){floorplans{id}}}` returned HTTP 200 with errors[]: "Validation error (FieldUndefined@[model/floorplans]) : Field 'floorplans' in type 'Model' is undefined"; `{model(id:"<MODEL_ID>"){sweeps{id}}}` returned the same error for 'sweeps'. Introspection of type Model (`__type(name:"Model")`) lists among its fields assets, floors, locations, panoLocations and rooms, with no floorplans or sweeps. `{model(id:"<MODEL_ID>"){floors{id}}}` returned data. Tested with httpx in Python against https://api.matterport.com/api/models/graph, Nov 2026.
