.sink.json.
Workspaces
Teams
Projects
Base path:/projects/{workspace_id}/{team_id}
Environments
Base path:/environments/{workspace_id}/{team_id}/{project_id}
Create an environment
Rotation cadence in days for the secrets inside. Falls back to the deployment default when omitted. See Audit & rotation.
Secrets
Set the base path once:
Keys must be valid environment-variable names, since the CLI writes them into a file a shell will
source.
What a read returns
last_rotated_at is null for secrets written before rotation tracking existed — fall back to created_at. rotation_days is the cadence governing this secret: its own policy if it has one, otherwise its environment’s.
Example
Invites
Roles are integers:
0 Viewer, 1 Member, 2 Admin, 3 Owner. See Access control.