A saved view stores the language, the statement, the stream, and a relative time_range_secs. There is no separate run endpoint. The web application follows this two-request flow, which needs saved_views.read and streams.query:
- Load the view with
GET /api/v1/saved_views/{id}.
- Compute an absolute range that ends now:
end is the current time in microseconds, and start is end minus time_range_secs times 1,000,000.
- Send the stored
language and statement, the computed time_range, and the stream to Execute a query.
The saved view stores the stream name without a type, so pass the stream type that the view belongs to. Last modified on October 9, 2026