List custom columns
Changed onList the custom columns defined for a table. Requires read 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.
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Query parameters
The type of the object the custom column is scoped to, usually project
The ID of the scoping object. Use the project ID for project logs, experiment spans, and the experiments list. Use the dataset ID for dataset rows
The table variant the custom column applies to. If omitted, defaults to the nonempty subtype, or otherwise to object_type. Set experiment_list explicitly to target the experiments list instead of experiment details. Use the same scope when creating and listing columns
Response
Returns a list of custom column objects
Changes
- info
endpoint added
- info