Skip to main content
GET
/
branches
/
{id}
/
env-vars
List environment variables
curl --request GET \
  --url https://api.specular.dev/branches/{id}/env-vars \
  --header 'Authorization: Bearer <token>'
{
  "environmentVariables": [
    {
      "id": "<string>",
      "name": "<string>",
      "value": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

id
string
required

Branch ID

Response

Environment variables list

Environment variables list

environmentVariables
object[]