Create role
Changed onCreate a new role. If there is an existing role with the same name as the one specified in the request, will return the existing role unmodified
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Request body
Response
Returns the new role object
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
//became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
removed the enum value
ai_secretof the request property// - breaking
removed the enum value
datasetof the request property// - breaking
removed the enum value
experimentof the request property// - breaking
removed the enum value
groupof the request property// - breaking
removed the enum value
org_accountof the request property// - breaking
removed the enum value
org_ai_secretof the request property// - breaking
removed the enum value
org_audit_logsof the request property// - breaking
removed the enum value
org_memberof the request property// - breaking
removed the enum value
org_projectof the request property// - breaking
removed the enum value
organizationof the request property// - breaking
removed the enum value
projectof the request property// - breaking
removed the enum value
project_groupof the request property// - breaking
removed the enum value
project_group_projectsof the request property// - breaking
removed the enum value
project_logof the request property// - breaking
removed the enum value
promptof the request property// - breaking
removed the enum value
prompt_sessionof the request property// - breaking
removed the enum value
roleof the request property// - breaking
the
//request property type changed fromstringto no type - breaking
the
//response's property type changed fromstringto no type for status - info
added
subschema #2to the//request propertyanyOflist - 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 - info
added the new
project_group_projectsenum value to the request property//
- warning