List roles
Changed onList out all roles. The roles are sorted by creation date, with the most recently-created roles coming first
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Query parameters
Limit the number of objects to return
Pagination cursor id.
For example, if the final item in the last page you fetched had an id of foo, pass starting_after=foo to fetch the next page. Note: you may only pass one of starting_after and ending_before
Pagination cursor id.
For example, if the initial item in the last page you fetched had an id of foo, pass ending_before=foo to fetch the previous page. Note: you may only pass one of starting_after and ending_before
Name of the role to search for
Filter search results to within a particular organization
Response
Returns a list of role objects
Changes
- breaking
the
////response's property type changed fromstringto no type for status - info
added
subschema #2to the////response propertyanyOflist for the response status - info
removed the
ai_secretenum value from the////response property for the response status - info
removed the
datasetenum value from the////response property for the response status - info
removed the
experimentenum value from the////response property for the response status - info
removed the
groupenum value from the////response property for the response status - info
removed the
org_accountenum value from the////response property for the response status - info
removed the
org_ai_secretenum value from the////response property for the response status - info
removed the
org_audit_logsenum value from the////response property for the response status - info
removed the
org_memberenum value from the////response property for the response status - info
removed the
org_projectenum value from the////response property for the response status - info
removed the
organizationenum value from the////response property for the response status - info
removed the
projectenum value from the////response property for the response status - info
removed the
project_groupenum value from the////response property for the response status - info
removed the
project_group_projectsenum value from the////response property for the response status - info
removed the
project_logenum value from the////response property for the response status - info
removed the
promptenum value from the////response property for the response status - info
removed the
prompt_sessionenum value from the////response property for the response status - info
removed the
roleenum value from the////response property for the response status
- breaking
- warning
added the new
project_group_projectsenum value to the////response property for the response status
- warning