Environments

Test Start Hook

Runs the supplied start hook script in an isolated sandbox without persisting it, and returns the full result once the hook finishes. Useful for short-lived clients (CLI, scripts) that prefer a single response over an SSE stream. Takes 30–90 seconds to return.

post/v1/environments/{environmentId}/start-hooks/test

Path parameters

environmentIdstring required

Environment UUID, or the literal string global.

Request body

contentstring required

Shell script to execute (not persisted)

Response

Test executed

Changes

No recorded changes to this endpoint across all 1 revision of this API.