Braintrust · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Braintrust Roles API
7 actions
7 updates
phrasing
extends
openapi/braintrust-roles-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Braintrust's API. It is a proposal applied on top of the contract, not a document Braintrust publishes.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/v1/role'].get
$.paths['/v1/role'].put
$.paths['/v1/role'].post
$.paths['/v1/role/{role_id}'].get
$.paths['/v1/role/{role_id}'].delete
$.paths['/v1/role/{role_id}'].patch
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Braintrust Roles API
version: 1.0.0
extends: openapi/braintrust-roles-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/v1/role'].get
update:
x-apievangelist-phrasing:
intent: List roles
effect: read
questions:
- Which roles exist in my organization?
- Can I find a role by its name?
instructions:
- text: List roles in organization {org_name}.
slots:
org_name: query.org_name
- text: Find the role named {role_name}.
slots:
role_name: query.role_name
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/role'].put
update:
x-apievangelist-phrasing:
intent: Create or replace a role
effect: write
questions:
- How do I create a role with a given set of permissions?
- Does creating a role replace one that already exists with the same name?
instructions:
- text: Create role {name} with permissions {member_permissions}.
slots:
name: requestBody.name
member_permissions: requestBody.member_permissions
- text: Replace role {name} in organization {org_name} with description {description}.
slots:
name: requestBody.name
org_name: requestBody.org_name
description: requestBody.description
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/role'].post
update:
x-apievangelist-phrasing:
intent: Create a role for a team
effect: write
questions:
- How do I define a new role like Data Engineer or Reviewer for my Braintrust team?
- What happens if a role with the same name already exists?
instructions:
- text: Create a role named {name}.
slots:
name: requestBody.name
- text: Create role {name} with permissions {permissions} and member roles {member_roles}.
slots:
name: requestBody.name
permissions: requestBody.member_permissions
member_roles: requestBody.member_roles
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/role/{role_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a role
effect: read
questions:
- How do I look up a role by its ID?
- What permissions does a specific role grant?
instructions:
- text: Get role {role_id}.
slots:
role_id: path.role_id
- text: Show the permissions of role {role_id}.
slots:
role_id: path.role_id
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/role/{role_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a role
effect: destructive
questions:
- How do I delete a role?
- Can I remove a role by its ID?
instructions:
- text: Delete role {role_id}.
slots:
role_id: path.role_id
- text: Remove the role with ID {role_id}.
slots:
role_id: path.role_id
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/role/{role_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a role's permissions
effect: write
questions:
- How do I add permissions to an existing role?
- Can I remove permissions from a role?
instructions:
- text: Add permissions {add_member_permissions} to role {role_id}.
slots:
add_member_permissions: requestBody.add_member_permissions
role_id: path.role_id
- text: Remove permissions {remove_member_permissions} from role {role_id}.
slots:
remove_member_permissions: requestBody.remove_member_permissions
role_id: path.role_id
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/braintrust-roles-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.