component_views

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}

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/projects/{project_id}/views/{view_id}
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

view_idstring uuid4 required
project_idstring uuid4 required

Request body

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

Visibility levels for views.

Response

Successful Response

idstring uuid4 required
created_bystring uuid4 nullable 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
filter_schema_versioninteger required
versioninteger required
used_by_custom_access_levelboolean
is_defaultboolean required
can_editboolean
created_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status