Volver al catálogo

Braintrust

braintrust

Braintrust is an AI engineering platform for managing prompts, datasets, experiments, evaluations, observability, and production AI applications.

Acciones
17
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (17)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create DatasetBRAINTRUST_CREATE_DATASETAcción

Create a named dataset under a Braintrust project, or return the existing dataset unchanged when its name already exists in that project.

Parámetros de entrada

  • namestringObligatorio

    Dataset name, which must be unique within the project. Braintrust returns the existing dataset unchanged when this name already exists.

  • tagsstring[]

    Tags to attach to the dataset.

  • metadataobject

    User-controlled dataset metadata as an object.

  • project_idstringObligatorio

    UUID of the Braintrust project that will contain the dataset.

  • descriptionstring

    Optional human-readable dataset description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ExperimentBRAINTRUST_CREATE_EXPERIMENTAcción

Create an experiment under a Braintrust project. When its name already exists, Braintrust returns the existing experiment unchanged unless ensure_new is true, which creates an experiment with a unique name.

Parámetros de entrada

  • namestring

    Experiment name. Names are unique within a project unless ensure_new is true.

  • tagsstring[]

    Tags to attach to the experiment.

  • publicboolean

    Whether anyone inside or outside the organization can view the experiment.

  • metadataobject

    User-controlled experiment metadata as an object.

  • dataset_idstring

    UUID of the dataset linked to this experiment, when applicable.

  • ensure_newboolean

    Generate a unique experiment name on a name conflict. When false, Braintrust returns the existing same-name experiment unchanged.

  • project_idstringObligatorio

    UUID of the Braintrust project that will contain the experiment.

  • descriptionstring

    Optional human-readable experiment description.

  • dataset_versionstring

    Version of the linked dataset used for reproducibility.

  • base_experiment_idstring

    UUID of the default baseline experiment used for comparisons.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProjectBRAINTRUST_CREATE_PROJECTAcción

Create a Braintrust project, or return the existing project unchanged when its name already exists.

Parámetros de entrada

  • namestringObligatorio

    Project name. Braintrust returns an existing project unchanged when this name already exists, so use a unique name when a new project is required.

  • org_namestring

    Organization name for the rare case where the API key's active data plane supports organization selection. This does not reliably switch organizations.

  • descriptionstring

    Optional human-readable project description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PromptBRAINTRUST_CREATE_PROMPTAcción

Upsert a versioned prompt configuration under a Braintrust project without invoking it. The same project and slug reuse the prompt ID but create a new version that replaces the stored prompt configuration with the submitted configuration. MCP attachments and tool-function bindings are unsupported.

Parámetros de entrada

  • namestringObligatorio

    Human-readable prompt name.

  • slugstringObligatorio

    Prompt identity slug within the project. Reusing the same project and slug keeps the prompt ID but creates a new version that replaces the stored prompt configuration with the submitted configuration.

  • tagsstring[]

    Tags to attach to the prompt.

  • project_idstringObligatorio

    UUID of the Braintrust project that will contain the prompt.

  • descriptionstring

    Optional human-readable prompt description.

  • prompt_dataobject

    Structured prompt block, model options, and parser configuration. MCP attachments and tool_functions are rejected by this schema.

  • function_typestringenum

    Braintrust function classification assigned to the prompt.

    llmscorertasktoolcustom_viewpreprocessorfacetclassifiertagparameterssandbox
  • template_formatstringenum

    Template syntax to store inside prompt_data.

    mustachenunjucksnone

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProjectBRAINTRUST_DELETE_PROJECTAcción

Soft-delete a Braintrust project and return its deletion state.

Parámetros de entrada

  • project_idstringObligatorio

    UUID of the Braintrust project to soft-delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Experiment, Dataset, or PromptBRAINTRUST_DELETE_RESOURCEAcción

Delete one Braintrust experiment, dataset, or prompt by UUID for explicit lifecycle cleanup.

Parámetros de entrada

  • resource_idstringObligatorio

    UUID of the selected resource to delete.

  • resource_typestringObligatorioenum

    Kind of Braintrust resource to delete.

    experimentdatasetprompt

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch EventsBRAINTRUST_FETCH_EVENTSAcción

Fetch one newest-to-oldest page of project log, experiment, or dataset events.

Parámetros de entrada

  • limitinteger

    Maximum full traces to request. A page can contain more events because one trace may contain multiple events.

  • versionstring

    Optional historical transaction version snapshot to fetch.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Omit it for the first page and pass it back unchanged to continue newest-to-oldest.

  • resource_idstringObligatorio

    Project, experiment, or dataset UUID matching resource_type.

  • resource_typestringObligatorioenum

    Event stream to fetch.

    project_logsexperimentdataset

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Braintrust ResourceBRAINTRUST_GET_RESOURCEAcción

Get one project, experiment, dataset, prompt, or function by UUID.

Parámetros de entrada

  • resource_idstringObligatorio

    UUID of the selected Braintrust resource.

  • resource_typestringObligatorioenum

    Kind of Braintrust resource to retrieve.

    projectexperimentdatasetpromptfunction

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Insert Dataset EventsBRAINTRUST_INSERT_DATASET_EVENTSAcción

Upsert a batch of examples into an existing Braintrust dataset. New or omitted IDs insert events; an existing supplied ID replaces that event's current values.

Parámetros de entrada

  • eventsobject[]Obligatorio

    Dataset examples to upsert, in the order represented by returned row IDs. An event with an existing supplied ID replaces that event's current values.

  • dataset_idstringObligatorio

    UUID of the Braintrust dataset that will receive the examples.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Insert Experiment EventsBRAINTRUST_INSERT_EXPERIMENT_EVENTSAcción

Upsert a batch of result events into an existing Braintrust experiment. New or omitted IDs insert events; an existing supplied ID replaces that event's current values.

Parámetros de entrada

  • eventsobject[]Obligatorio

    Experiment result events to upsert. Row IDs in the response align with this list in the same order. An event with an existing supplied ID replaces that event's current values.

  • experiment_idstringObligatorio

    UUID of the Braintrust experiment that will receive the events.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Braintrust ResourcesBRAINTRUST_LIST_RESOURCESAcción

List and filter one page of projects, experiments, datasets, prompts, or functions visible to the connected Braintrust API key.

Parámetros de entrada

  • idsstring[]

    Restrict results to these resource UUIDs.

  • namestring

    Exact resource name to match for the selected resource type.

  • slugstring

    Restrict prompts or functions to this slug.

  • limitinteger

    Maximum number of objects to request in this page.

  • versionstring

    Restrict prompts or functions to this version identifier.

  • org_namestring

    Optional organization-name filter. It does not switch the API key's active data-plane organization.

  • project_idstring

    Restrict experiments, datasets, prompts, or functions to this project UUID.

  • environmentstring

    Restrict prompts or functions to this environment slug.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Omit for the first page and pass it back unchanged to continue.

  • project_namestring

    Restrict experiments, datasets, prompts, or functions to this project name.

  • resource_typestringObligatorioenum

    Kind of Braintrust resource to list.

    projectexperimentdatasetpromptfunction

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query Braintrust DataBRAINTRUST_QUERY_DATAAcción

Run one bounded synchronous read-only BTQL query over Braintrust project logs, an experiment, or a dataset. The first-page query must end with a positive LIMIT; continue later pages by passing the returned next_cursor unchanged.

Parámetros de entrada

  • querystring

    Read-only BTQL SELECT query. It must query project_logs(...), experiment(...), or dataset(...) and end with an explicit positive LIMIT. Required on the first page; omit it when passing next_cursor.

  • versionstring

    Optional historical data version for a reproducible query.

  • lint_modestringenum

    Braintrust query linting mode.

    defaultstrict
  • tz_offsetnumber

    Optional timezone offset in minutes using JavaScript's Date.getTimezoneOffset convention: positive values are behind UTC. For example, 480 is US Pacific Standard Time (UTC-08:00).

  • next_cursorstring

    Opaque continuation token returned by a previous QUERY_DATA call. Pass it back unchanged; the original query and options are carried authoritatively.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Summarize Experiment or DatasetBRAINTRUST_SUMMARIZE_RESOURCEAcción

Return metadata and optional aggregate summaries for one Braintrust experiment or dataset.

Parámetros de entrada

  • resource_idstringObligatorio

    Experiment or dataset UUID matching resource_type.

  • resource_typestringObligatorioenum

    Resource summary to calculate.

    experimentdataset
  • include_aggregatesboolean

    For experiments, summarize scores and metrics; for datasets, summarize data. Set false to return metadata only.

  • comparison_experiment_idstring

    Optional baseline experiment UUID. Valid only when resource_type is experiment and include_aggregates is true. When omitted, Braintrust may select the configured baseline or a recent experiment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update DatasetBRAINTRUST_UPDATE_DATASETAcción

Update the name, description, tags, or metadata of a Braintrust dataset. At least one non-null mutable field is required.

Parámetros de entrada

  • namestring

    New dataset name.

  • tagsstring[]

    Complete replacement list of dataset tags.

  • metadataobject

    Metadata fields to deep-merge into the dataset's existing metadata.

  • dataset_idstringObligatorio

    UUID of the dataset to update.

  • descriptionstring

    New dataset description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ExperimentBRAINTRUST_UPDATE_EXPERIMENTAcción

Update selected metadata and linkage fields on a Braintrust experiment. At least one non-null mutable field is required.

Parámetros de entrada

  • namestring

    New experiment name.

  • tagsstring[]

    Complete replacement list of experiment tags.

  • publicboolean

    Whether the experiment is publicly viewable.

  • metadataobject

    User-controlled metadata fields to deep-merge into existing metadata.

  • dataset_idstring

    UUID of the dataset to link to the experiment.

  • descriptionstring

    New experiment description.

  • experiment_idstringObligatorio

    UUID of the experiment to update.

  • dataset_versionstring

    Version of the linked dataset used by the experiment.

  • base_experiment_idstring

    UUID of the default baseline experiment used for comparisons.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ProjectBRAINTRUST_UPDATE_PROJECTAcción

Update selected fields of a Braintrust project. At least one non-null mutable field is required: name, description, or settings.

Parámetros de entrada

  • namestring

    New project name.

  • settingsobject

    Complete replacement project settings. Include every existing setting that must be retained.

  • project_idstringObligatorio

    UUID of the project to update.

  • descriptionstring

    New project description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update PromptBRAINTRUST_UPDATE_PROMPTAcción

Update a Braintrust prompt's metadata or configuration without invoking it. At least one non-null mutable field is required.

Parámetros de entrada

  • namestring

    New prompt name.

  • slugstring

    New unique prompt slug.

  • tagsstring[]

    Complete replacement list of prompt tags.

  • prompt_idstringObligatorio

    UUID of the prompt to update.

  • descriptionstring

    New prompt description.

  • prompt_dataobject

    Prompt block, model options, or parser fields to deep-merge. MCP attachments and tool_functions are unsupported and rejected.

  • template_formatstringenum

    Replacement template syntax, stored inside the provider's prompt_data object.

    mustachenunjucksnone

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not