Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Resolves to { request, response } once a request matching the listener completes. Pair with saveAs to read the captured payload from env.

Parameters

ParameterTypeRequiredDescription
keystringYesListener key set on registerRequestListener.
timeoutnumberNoMaximum time in milliseconds to wait.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Shorthand

Listener key as a single string.
- awaitListener: response

Examples

- awaitListener:
    key: response
    saveAs: RESPONSE