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

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/environments/{environmentId}/start-hooks/test
  • Auth
    HTTP bearer

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 operation across all 1 revision of this API.