Advance Clock
Moves NOW() forward by a specified amount. Returns the
current clock time of the circuit.
Requires dev_tweaks.now_http_driven = true on the pipeline.
Forward-only: delta_ms is u64, so negative bodies are rejected at
JSON parse time. delta_ms = null or omitted advances by one
clock_resolution. Non-zero values round up to the next
clock_resolution boundary, so a sub-resolution delta still moves
the clock by one full tick.
The returned now_ms is the value the worker will emit on its next
pipeline step; queries against materialized views may observe the
previous NOW() until that step completes. Callers that need
read-after-write semantics should poll the view.
| Path Parameters |
|---|
pipeline_name string — REQUIREDUnique pipeline name |
| Request Body — REQUIRED Milliseconds to add to NOW(); zero reads the current value, null/omitted: advance by one clock_resolution. |
|---|
delta_ms int64 |
| Responses | ||||
|---|---|---|---|---|
200Clock advanced successfully; body contains the new NOW().
| ||||
400Clock not in http-driven mode, or malformed body.
| ||||
503Pipeline is not running.
|