Response structure
View responses are returned as JSON.
Most view responses use a shared structure: a top-level data array, one object for each generated view, and view-specific data under view_data.
Top-level response
A view response contains a data array.
When you generate one view, the array contains one item. When you generate multiple views in the same request, the array contains one item per generated view.
View metadata
Each view object includes metadata that identifies the view output.
Some deployed model views may include additional version fields, such as commons_version or core_version.
Dataframe structure
Most view_data objects are returned as split-orientation dataframes.
This structure makes view output easier to render as tables, charts, or downstream analysis data.
Nested dataframe views
Some views return more than one dataframe inside view_data.
For example, the Results view returns separate dataframes for model information, query input, predicted output, feature attribution, module attribution, partition data, and decomposition data.
When a view returns nested dataframes, each nested object follows the same split-orientation pattern.
Working with responses
Use view_type to identify which view was returned, then read view_data according to the page for that view.
For simple views, view_data is usually a single dataframe. For richer explanation views, view_data may contain multiple named dataframes that should be read together.

