Request body to create a view in a database or a widget in a dashboard.
| Property | Type | Description |
|---|---|---|
| configuration | Any | View presentation configuration. `type` must match the view type. |
| create_database | Any | Create a new linked database block on a page (`parent` page_id, optional `position`). |
| data_source_id | String | The data source the view is scoped to. |
| database_id | String | Database to create the view in. Mutually exclusive with view_id and create_database. |
| filter | Any | Filter (same format as a data source query filter). |
| name | String | The name of the view. |
| placement | Widget_Placement | Placement in a dashboard. |
| position | View_Position | Placement in the view tab bar. |
| quick_filters | Quick filters keyed by property name or ID. | |
| sorts | Sorts to apply. | |
| type | String | `table`, `board`, `list`, `calendar`, `timeline`, `gallery`, `form`, `chart`, `map` or `dashboard`. |
| view_id | String | Dashboard view to add this view to as a widget. |