Environment variables are configuration values that can be set for your stacks. They can be used to store application settings, API keys, and other configuration data that your application needs.
id
integerThe unique identifier of the environment variable.
key
stringThe name of the environment variable.
value
stringThe value of the environment variable.
readonly
booleanWhether this environment variable is locked and cannot be modified.
created_at
datetimeThe date and time the environment variable was created, in ISO 8601 format.
updated_at
datetimeThe date and time the environment variable was last updated, in ISO 8601 format.
is_password
booleanWhether this environment variable contains sensitive password data.
is_generated
booleanWhether this environment variable was automatically generated by the system.
history
arrayAn array of historical values for this environment variable, showing changes over time.
Example
{
"id": 7890,
"key": "DATABASE_URL",
"value": "postgresql://user:pass@localhost:5432/myapp_prod",
"readonly": false,
"created_at": "2023-01-15T10:30:00Z",
"updated_at": "2024-01-10T14:20:00Z",
"is_password": true,
"is_generated": false,
"history": [
{
"value": "postgresql://user:pass@localhost:5432/myapp_prod",
"created_at": "2024-01-10T14:20:00Z"
},
{
"value": "postgresql://user:oldpass@localhost:5432/myapp_prod",
"created_at": "2023-01-15T10:30:00Z"
}
]
}