Create or replace view. If there is an existing view with the same name as the one specified in the request, will replace the existing view with the provided fields
Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.
Any desired information about the new view object
The object type that the ACL applies to
organization, project, experiment, dataset, prompt, prompt_session, group, role, org_member, project_log, org_project The id of the object the view applies to
Type of object that the view corresponds to.
projects, experiments, experiment, playgrounds, playground, datasets, dataset, prompts, tools, scorers, logs, monitor, for_review, Name of the view
The view definition
Options for the view in the app
Identifies the user who created the view
Date of role deletion, or null if the role is still active
Returns the new view object
Unique identifier for the view
The object type that the ACL applies to
organization, project, experiment, dataset, prompt, prompt_session, group, role, org_member, project_log, org_project The id of the object the view applies to
Type of object that the view corresponds to.
projects, experiments, experiment, playgrounds, playground, datasets, dataset, prompts, tools, scorers, logs, monitor, for_review, Name of the view
Date of view creation
The view definition
Options for the view in the app
Identifies the user who created the view
Date of role deletion, or null if the role is still active