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.
idintegerThe unique identifier of the environment variable.
keystringThe name of the environment variable.
valuestringThe value of the environment variable.
readonlybooleanWhether this environment variable is locked and cannot be modified.
created_atdatetimeThe date and time the environment variable was created, in ISO 8601 format.
updated_atdatetimeThe date and time the environment variable was last updated, in ISO 8601 format.
is_passwordbooleanWhether this environment variable contains sensitive password data.
is_generatedbooleanWhether this environment variable was automatically generated by the system.
historyarrayAn 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"
}
]
}