Database Views
Create a Database View
Creates a regular or materialized Database View after validating its definition, source access, output columns, ACL, quota, and materialization settings. The exact request contract is generated below.
POST
Create a Database View
Authorizations
Bearer JWT token or API Key (sk-*).
Body
application/json
Available options:
STRUCTURED, RAW_SQL Available options:
VIEW, MATERIALIZED_VIEW Optional filters, fields, sorting and paging applied over the preview output.
Required range:
0 <= x <= 1000Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.
Example:
Structured btree indexes created on materialized output.
Response
201 - undefined
Last modified on September 5, 2026

