Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt

Use this file to discover all available pages before exploring further.

When it fires

After CreateVersionService succeeds. A version is an immutable snapshot of all variables in an environment at a point in time.

Payload

{
    type: 'variable_version.created',
    data: {
        version: {
            id: string
            label: string         // auto-generated sequential label, e.g. 'v12'
            note: string | null
            variableCount: number
            environmentId: string
            createdAt: string
        }
    }
}

Example

{
    "type": "variable_version.created",
    "data": {
        "version": {
            "id": "0192a1b2-c3d4-7000-8000-000000000050",
            "label": "v12",
            "note": "Before stripe integration",
            "variableCount": 18,
            "environmentId": "0192a1b2-c3d4-7000-8000-000000000020",
            "createdAt": "2026-05-31T11:30:00.000Z"
        }
    }
}