Environments

Test Warm Hook

Runs the supplied script in an isolated sandbox without persisting it. Useful for iterating on a warm hook from the API before committing it via save-test. Takes 30–90 seconds to return.

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

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/environments/{environmentId}/warm-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.