When it fires
After CreateEnvironmentService succeeds.
Payload
ts
{
type: 'environment.created',
data: {
environment: {
id: string
name: string
slug: string
projectId: string
createdAt: string
}
}
}Example
json
{
"type": "environment.created",
"data": {
"environment": {
"id": "0192a1b2-c3d4-7000-8000-000000000020",
"name": "production",
"slug": "production",
"projectId": "0192a1b2-c3d4-7000-8000-000000000010",
"createdAt": "2026-05-31T10:40:00.000Z"
}
}
}