How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Braintrust AiSecrets API

The AiSecrets API from Braintrust — 2 operation(s) for aisecrets.

Braintrust AiSecrets API is one of 41 APIs that Braintrust publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include AiSecrets. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 2 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.braintrust.dev.

7 operations 2 paths 12 schemas 2 DELETE2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.braintrust.dev
Authentication
HTTP Bearer
License
Apache 2.0
Resource Areas
1

Authentication & Security 1

Braintrust AiSecrets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (API key or JWT) (bearerAuth). By default, every request must be authenticated, though some operations may also be called without credentials.

  • bearerAuth — Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [apikey] to your HTTP request. You can create an API ke…

Paths & Operations 7

Across 2 paths, the API surfaces 7 operations — 2 DELETE, 2 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

AiSecrets 7
POST
/v1/ai_secret
Create aisecret
postAiSecret body → 200400401403429500
PUT
/v1/ai_secret
Create or replace aisecret
putAiSecret body → 200400401403429500
DELETE
/v1/ai_secret
Delete single aisecret
deleteAiSecret body → 200400401403429500
GET
/v1/ai_secret
List aisecrets
getAiSecret 7 params → 200400401403429500
GET
/v1/ai_secret/{ai_secret_id}
Get aisecret
getAiSecretId 1 param → 200400401403429500
PATCH
/v1/ai_secret/{ai_secret_id}
Partially update aisecret
patchAiSecretId 1 param body → 200400401403429500
DELETE
/v1/ai_secret/{ai_secret_id}
Delete aisecret
deleteAiSecretId 1 param → 200400401403429500

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are AISecret (10 properties), CreateAISecret (5 properties), PatchAISecret (4 properties), DeleteAISecret (2 properties). Each schema is shown below with its type and property counts.

DeleteAISecret
object
2 properties 1 required
OrgName
string
Filter search results to within a particular organization
StartingAfter
string
Pagination cursor id. For example, if the final item in the last page you fetched had an id of foo, pass startingafter=foo to fetch the next page. Note: you ma…
CreateAISecret
object
5 properties 1 required
AISecretType
PatchAISecret
object
4 properties
EndingBefore
string
Pagination cursor id. For example, if the initial item in the last page you fetched had an id of foo, pass endingbefore=foo to fetch the previous page. Note: y…
Ids
Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
AiSecretIdParam
string
AiSecret id
AiSecretName
string
Name of the aisecret to search for
AppLimitParam
integer
Limit the number of objects to return
AISecret
object
10 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

braintrust-aisecrets-api-openapi.yml Raw ↑

Other APIs Braintrust publishes across the network.

Braintrust API
Braintrust Acls API
Braintrust ApiKeys API
Braintrust CORS API
Braintrust CrossObject API
Braintrust Datasets API
Braintrust DatasetSnapshots API
Braintrust Environments API
Braintrust EnvVars API
Braintrust Evals API
Braintrust Experiments API
Braintrust Functions API
Where this information came from

This is an independent, third-party profile of Braintrust AiSecrets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.