Skip to content

Commit 5bcfd08

Browse files
update the webhook execution to return milliseconds
1 parent dd3d75d commit 5bcfd08

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/sandbox/lifecycle-events-webhooks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ The payload structure matches the event format from the API:
262262
"started_at": "2025-08-06T20:58:24Z",
263263
"vcpu_count": 2,
264264
"memory_mb": 512,
265-
"execution_time": 1.0,
265+
"execution_time": 1000,
266266
}
267267
},
268268
"sandboxBuildId": "<template-build-id>",
@@ -279,7 +279,7 @@ The payload structure matches the event format from the API:
279279
- `started_at` - UTC RFC3339 timestamp when the current sandbox execution started
280280
- `vcpu_count` - Number of vCPUs assigned to the sandbox
281281
- `memory_mb` - Memory assigned to the sandbox in MB
282-
- `execution_time` - Sandbox runtime in seconds
282+
- `execution_time` - Sandbox runtime in milliseconds
283283

284284
# Webhook verification
285285
To ensure the authenticity of webhook requests, each request includes a signature in the `e2b-signature` header.

0 commit comments

Comments
 (0)