Skip to main content
POST
Test start hook (streaming)

Authorizations

Authorization
string
header
required

Organization or personal API key from Settings → API Keys.

Headers

X-Replicas-Api-Version
enum<string>

API version. 2026-10-07 returns snake_case responses. See versioning.

Available options:
2026-10-07

Path Parameters

environment_id
string
required

Environment UUID, or the literal string global.

Body

application/json
content
string
required

Shell script to execute (not persisted)

Response

SSE stream of start hook test events

SSE events. Each event has type in {progress, output, complete, error} plus an optional message, output, exit_code, or timed_out payload.