Authorizations
Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.
Body
Any desired information about the new ai_secret object
Name of the AI secret
Secret value. If omitted in a PUT request, the existing secret value will be left intact, not replaced with null.
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, you may specify the name of the organization the AI Secret belongs in.
Response
Returns the new ai_secret object
Unique identifier for the AI secret
Unique identifier for the organization
Name of the AI secret
Date of AI secret creation
Date of last AI secret update