v4

latestOpenAPI 3.1.02026-08-019681,1012.0 MB
component_views

Update View

Update an existing component view (name, description, view_data, visibility).

Note: To set a view as default, use a separate endpoint/mechanism.

Permissions:

  • User views: Only creator can update
  • Project views: Owner/editor can update
  • Changing from PROJECT to USER visibility: Not allowed (blocked)
  • Changing visibility of a default view: Not allowed (must set another view as default first)
  • Changing to PROJECT visibility: Requires editor+ permission
put/projects/{project_id}/views/{view_id}

Path parameters

view_idstring uuid4 required
project_idstring uuid4 required

Request body

namestring nullable
descriptionstring nullable
view_dataobject nullable
visibility'user' | 'project'

Visibility levels for views.

Response

Successful Response

idstring uuid4 required
created_bystring uuid4 required
project_idstring uuid4 required
run_idstring uuid4 nullable required
component'logstream_table' | 'experiments_table' required

Types of components that can have saved views.

visibility'user' | 'project' required

Visibility levels for views.

namestring required
descriptionstring nullable required
view_dataobject required
is_defaultboolean required
can_editboolean
created_atstring date-time required
updated_atstring date-time required