POST /v1/env/list
List all variables in a stage. Returns metadata only — no plaintext values are included in this response.Request
Response
variables:
Variables are returned sorted alphabetically by name.
Error codes
POST /v1/env/write
Create, update, or delete variables in a single request. All operations in a write request are applied atomically.Write modes
Themode field controls how existing variables are handled:
Request
Each entry for a
secret variable:
Each entry for an
ab_roll variable:
Response
How writes work
Values are encrypted server-side before being committed to the database. The write goes through a two-phase process:- Prepare — all values are encrypted with the project DEK; storage delta is computed
- Reserve — storage usage is reserved in the billing system
- Commit — encrypted payloads are written to the database
- Settle — storage usage is finalized (or rolled back on failure)
create_only with an existing name) will not encrypt any values or reserve any billing units.

