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 group object
Name of the group
1Textual description of the group
Ids of users which belong to this group
Ids of the groups this group inherits from
An inheriting group has all the users contained in its member groups, as well as all of their inherited users
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, you may specify the name of the organization the group belongs in.
Response
Returns the new group object
A group is a collection of users which can be assigned an ACL
Groups can consist of individual users, as well as a set of groups they inherit from
Unique identifier for the group
Unique id for the organization that the group belongs under
It is forbidden to change the org after creating a group
Name of the group
Identifies the user who created the group
Date of group creation
Textual description of the group
Date of group deletion, or null if the group is still active
Ids of users which belong to this group
Ids of the groups this group inherits from
An inheriting group has all the users contained in its member groups, as well as all of their inherited users