Skip to content

Create view

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

Creates a new view from a WASM component. The component must implement the primatomic:machine interface and must not exceed 100 MB. View names must be unique within the log. The service begins processing events immediately after creation.

log_id
required
string

Log ID (UUID)

view_name
required
string

View name

WASM component binary

Array<integer>

View created

object
success
required
boolean
view_id
required
string
Example
{
"success": true,
"view_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Invalid request

Unauthorized

Log not found

Server error