CustomColumns
Create custom column
Changed onCreate a new custom column. If there is an existing custom column with the same name in the same scope, will return the existing custom column unmodified. Requires update permission on the scoping object.
Custom columns are scoped to a specific table by the combination of object_type, object_id, subtype, and variant. Use the same scope when creating and listing columns. Use these combinations to display columns in the corresponding UI table:
| Page | object_type | object_id | subtype | variant |
|---|---|---|---|---|
| Dataset | dataset | Dataset ID | "" | dataset |
| Project logs | project | Project ID | project_log | project_log |
| Experiment details | project | Project ID | experiment | experiment |
| Experiments list | project | Project ID | experiment | experiment_list |
Experiment span columns apply across experiments in the project.
post/v1/column
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Request body
Response
Returns the new custom column object
Changes
- info
endpoint added
- info