Skip to content

Recreate view

POST
/logs/{log_id}/views/{view_name}/recreate

Recreates a failed view with new WASM code. This atomically deletes the existing view and creates a new one with the same name in a single transaction. The new view will automatically restore from the latest snapshot, allowing it to resume processing from where it left off. Use this to fix bugs in view code without losing processed state. Required role: member.

log_id
required
string

Log ID (UUID)

view_name
required
string

View name to recreate

New WASM component binary

Array<integer>

View recreated

object
success
required
boolean

Invalid request

Unauthorized

View or log not found

Server error