Figma Support Forum

Determining Jam vs Design file from the REST API

Is there a way to determine if a file is a FigJam or Figma Design file from the API. I tried several things and without success.
Seems like both of them are using the same structure under the hood, just opened with a different figma “editor”, i.e. “design” vs “whiteboard”.