Skip to main content
DELETE
Delete ai_secret

Authorizations

Authorization
string
header
required

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.

Path Parameters

ai_secret_id
string<uuid>
required

AiSecret id

Response

Returns the deleted ai_secret object

id
string<uuid>
required

Unique identifier for the AI secret

org_id
string<uuid>
required

Unique identifier for the organization

name
string
required

Name of the AI secret

created
string<date-time> | null

Date of AI secret creation

updated_at
string<date-time> | null

Date of last AI secret update

secret_updated_at
string<date-time> | null

Date of last update to the encrypted secret value itself

type
string | null
metadata
object | null
secret_updated_by_user_id
string<uuid> | null

User id of the last update to the encrypted secret value

preview_secret
string | null