component_views

Duplicate a view.

Creates a new view owned by the current user with copied view_data.

Permissions:

  • Any user who can VIEW the view can duplicate it
  • If duplicating as project-visible, need owner/editor permission
post/projects/{project_id}/views/{view_id}/duplicate

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/projects/{project_id}/views/{view_id}/duplicate
  • 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 required

Name for the duplicated view

descriptionstring nullable

Optional description

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

    • 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 required property to the response with the status

    • info

      added the required property to the response with the status