Cloud
The variable object
An environment variable of a service, or a project variable shared by its services. Lists never show values: reveal one to read it. A change applies at the next deployment.
Attributes
namestring: Its name.kindstring: value, or shared (it takes a project variable's value).scopestring: runtime, build or both: when the value is given to the service.versionnumber: +1 on every change.ref_namestring: For a shared variable: the project variable it uses.updated_attimestamp: When it last changed.
Example
{
"data": {
"name": "DATABASE_URL",
"kind": "value",
"scope": "runtime",
"version": 3,
"ref_name": "DATABASE_URL",
"updated_at": "2026-12-05T10:15:02Z"
}
}