Hooks

Test start hook (streaming)

Same as Test start hook, streamed as server-sent events: progress, output, complete, and error.

post/v1/environments/{environment_id}/start-hooks/test/stream

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{environment_id}/start-hooks/test/stream
  • Auth
    HTTP bearer

Path parameters

environment_idstring required

Environment UUID.

Headers

X-Replicas-Api-Version'2026-10-07'

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

Request body

contentstring required

Shell script to execute (not persisted)

Response

SSE stream of start hook test events

Changes

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