v47

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2024-10-01163166522.3 KB
Views

Partially update view

Partially update a view object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.

patch/v1/view/{view_id}

Path parameters

view_idstring uuid required

View id

View id

Request body

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the view applies to

view_type'projects' | 'logs' | 'experiments' | 'datasets' | 'prompts' | 'playgrounds' | 'experiment' | 'dataset' | 'null' nullable

Type of table that the view corresponds to.

namestring nullable

Name of the view

user_idstring uuid nullable

Identifies the user who created the view

Response

Returns the view object

idstring uuid required

Unique identifier for the view

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the view applies to

view_typestring required

Type of table that the view corresponds to.

namestring required

Name of the view

createdstring date-time nullable

Date of view creation

user_idstring uuid nullable

Identifies the user who created the view

deleted_atstring date-time nullable

Date of role deletion, or null if the role is still active