Integration
Connect Braintrust to Basin
When something happens in Braintrust, your agent does the next thing in Basin. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Braintrust and Basin to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Braintrust and Basin
Triggers and actions 3 triggers ยท 28 actions
Trigger
New EventTriggers when an automation creates a new event.
Trigger
New ProjectTriggers when a new project is created.
Action
Add datasetCreate a new Braintrust dataset. POST /v1/dataset
Action
Add experimentCreate a new Braintrust experiment. POST /v1/experiment
Action
Add projectCreate a new Braintrust project. POST /v1/project
Action
Add promptCreate a new Braintrust prompt. POST /v1/prompt
Action
Delete projectDelete a Braintrust project. DELETE /v1/project/{project_id}
Action
Get datasetRetrieve a Braintrust dataset by id. GET /v1/dataset/{dataset_id}
Action
Get experimentRetrieve a Braintrust experiment by id. GET /v1/experiment/{experiment_id}
Action
Get projectRetrieve a Braintrust project by id. GET /v1/project/{project_id}
Action
Get promptRetrieve a Braintrust prompt by id. GET /v1/prompt/{prompt_id}
Action
Insert dataset eventsInsert one or more rows/events into a Braintrust dataset. POST /v1/dataset/{dataset_id}/insert
Action
Insert experiment eventsInsert one or more events (spans/rows) into a Braintrust experiment. POST /v1/experiment/{experiment_id}/insert
Action
Insert project logs eventsInsert one or more log events into a Braintrust project's logs. POST /v1/project_logs/{project_id}/insert
Action
List datasetsList Braintrust datasets. GET /v1/dataset
Action
List experimentsList Braintrust experiments. GET /v1/experiment
Action
List projectsList all Braintrust projects. GET /v1/project
Action
List promptsList Braintrust prompts. GET /v1/prompt
Action
Update projectPartially update a Braintrust project. PATCH /v1/project/{project_id}
Trigger
New SubmissionTriggers when your form receives a submission.
Action
Add formCreate a new form under a project. POST /api/v1/forms.
Action
Add projectCreate a new project (form-organizing container). POST /api/v1/projects.
Action
Delete formDestroy a form. DELETE /api/v1/forms/:id.
Action
Delete submissionDestroy a submission. DELETE /api/v1/submissions/:id.
Action
Get formRetrieve a single form by id. GET /api/v1/forms/:id.
Action
Get submissionRetrieve a single submission by id. GET /api/v1/submissions/:id.
Action
List formsList all forms accessible to the account. GET /api/v1/forms.
Action
List projectsList all projects accessible to the account. GET /api/v1/projects.
Action
List submissionsList submissions for a form. GET /api/v1/submissions.
Action
Update formUpdate a form's configuration (notifications, spam protection, branding, etc). PATCH/PUT /api/v1/forms/:id.
Action
Update submissionUpdate a submission's state fields (spam, read, trash). PATCH/PUT /api/v1/submissions/:id.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.