Skip to main content
GET
List env_vars

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.

Query Parameters

limit
integer | null

Limit the number of objects to return

Required range: x >= 0
ids

Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times

env_var_name
string

Name of the env_var to search for

object_type
enum<string>

The type of the object the environment variable is scoped for

Available options:
organization,
project,
function
object_id
string<uuid>

The id of the object the environment variable is scoped for

Response

Returns a list of env_var objects

objects
object[]
required

A list of env_var objects