OriginChainDB
Database endpoints

List materialized views

Lists the materialized views installed for the tenant with their refresh mode and base table.

GET /v1/tenants/{tenant}/sql/materialized-views

Find stored views and their freshness settingsA listed view may still need warming or refresh.
  1. List installed viewsRequest the tenant's view definitions.
  2. Inspect source and refresh modeIdentify how each view relates to its base table.
  3. Check the warming stateDecide whether its stored result is ready for use.

Before you start

Use your database bearer token.

Connection setup

Path parameters

FieldTypeRequired
tenantstringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

Inspect each view's refresh_mode, source_schema and warming state. A listed view may still need refresh or warming before its stored rows suit your use case.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
429Honor Retry-After when present; back off.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd