Authorizations
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.
Body
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, agents, monitor, for_review Name of the view
The view definition
Options for the view in the app
- MonitorViewOptions
- TableViewOptions
Identifies the user who created the view
Date of role deletion, or null if the role is still active
Response
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, agents, monitor, for_review Name of the view
Date of view creation
The view definition
Options for the view in the app
- MonitorViewOptions
- TableViewOptions
Identifies the user who created the view
Date of role deletion, or null if the role is still active