Skip to main content
POST
/
projects
/
{id}
/
env-vars
Create environment variable
curl --request POST \
  --url https://bugzy.ai/api/v1/projects/{id}/env-vars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "value": "<string>",
  "environmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Documentation Index

Fetch the complete documentation index at: https://www.bugzy.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key (bzy_proj_*). Generate in Dashboard → Project Settings → API Key.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
value
string
required
environmentId
string<uuid>

Response

201

Variable created