EnvVars

List out all env vars. The env vars are sorted by creation date, with the most recently-created env vars coming first

get/v1/env_var

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Query parameters

limitinteger nullable

Limit the number of objects to return

string uuid
OR
string[]
env_var_namestring

Name of the env_var to search for

object_type'organization' | 'project' | 'function' | 'mcp_server'

The type of the object the environment variable is scoped for

object_idstring uuid

The id of the object the environment variable is scoped for

Response

Returns a list of env var objects

Changes

    • warning

      added the new automation_integration enum value to the // response property for the response status

    • warning

      added the new mcp_server enum value to the // response property for the response status

    • info

      added the new enum value mcp_server to the query request parameter object_type