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 CreateVariablesService succeeds. Used by the bulk import endpoint and CLI envless push.
A single bulk operation emits one variable.bulk_created event with an array of all created variables — not N individual variable.created events. If you need per-variable handling, iterate the array.

Payload

{
    type: 'variable.bulk_created',
    data: {
        environmentId: string
        count: number
        variables: Array<{
            id: string
            name: string
        }>
    }
}

Example

{
    "type": "variable.bulk_created",
    "data": {
        "environmentId": "0192a1b2-c3d4-7000-8000-000000000020",
        "count": 3,
        "variables": [
            { "id": "...040", "name": "DATABASE_URL" },
            { "id": "...041", "name": "REDIS_URL" },
            { "id": "...042", "name": "SESSION_SECRET" }
        ]
    }
}