Wait for Request
AI-generatedSummary
Poll a durable AnyAPI Request by its Request ID until its result is ready or a timeout occurs.
Inputs
- Request ID (required) — The resumable AnyAPI Request ID returned by the Run API operation. This ID specifies the asynchronous request to poll and wait for completion.
Output shape
a single JSON object representing the final state or result of the durable request, including success or failure details.
The operation polls the current state of the Request associated with the given Request ID repeatedly, with delays between retries, for up to 5 minutes. If the Request finishes within this period, the result is returned. If it expires or fails, an error is raised. If the Request is still running after the timeout, the operation throws an error prompting to resume waiting with this operation again. Errors occurring during the polling are returned as node execution failures unless Continue On Fail is enabled.