Event Coordination
Wait for Event
Waits for a specific event to be signaled by another process, workflow, or session. This endpoint blocks until the event is signaled or the timeout is reached. Useful for coordinating between multiple browser sessions or workflows.
post/v1/events/{event_name}/wait
Path parameters
event_namestring required
The name of the event to wait for
Request body
Response
Event was signaled successfully
Example response
{
"data": {
"message": "Task completed",
"result": "success",
"timestamp": "2024-01-01T12:00:00Z"
}
}